AMMO styleguide

The components we use. The rules that keep them consistent.

Quiet interface. Clear actions.

Neutral surfaces, compact controls and purposeful colour. Every component below is interactive.

Buttons & icons

Rounded corners, a 16px leading icon and only enough width for the label.

Environments

Implementation
<button class="secondary">
  {% heroicon_outline 'adjustments-horizontal' %} SMTP settings
</button>

Fields & autosave

360px field width. 16px between fields. Changes save after a short pause; feedback belongs directly beneath the field.

Layout: static/forms.css · Feedback: projects/save_status.html

Tabs

A visible tab shape. No hover underline competing with the selected state. Arrow keys move between tabs.

General

Project name and description belong here.

Destructive confirmation

One compact control. The switch arms the action; a separate click performs it. Switching on never deletes anything.

This permanently removes every captured email and attachment in this inbox.

Shared template: components/confirm_delete.html · Behaviour: static/confirm-delete.js

Feedback

Colour communicates state, with text alongside it.

Foundations

Colour

#3097efAMMO blue
#6434b9AMMO purple
#ef3340AMMO red

Brand colours are accents. General interface surfaces stay grey. Green is reserved for success.

Typography & dimensions

Headings
Rockwell
Interface
System sans-serif
Field text
13px
Field height
34px
Field width
360px maximum
Button corners
12px
Leading icon
16px
Touch actions
44px minimum

One AMMO, shared patterns

The patterns above are the target for ammo.tools and Wanda. The recent compact controls, confirmation switch, search and autosave conventions take precedence over older variants.

Bring a component into Wanda

  1. Use the same accessible HTML structure, icons and interaction.
  2. Load the portable widget CSS and JavaScript below.
  3. Connect form submission to Wanda’s endpoint and CSRF protection.
  4. Keep permission checks, validation and error handling on the server.
Wanda reference and existing differences

Reviewed Wanda’s DESIGN.md and sidebar template. Both products share Rockwell headings, Heroicons, a slate rail and the three-colour rule. Wanda currently uses #3292ec blue, #522dae purple and #f60001 red, with pill buttons and Figtree figures. Those are source differences, not a second set of recommendations. Port the interaction patterns first; palette consolidation remains an explicit design decision.