Spacing and layout
A 4px scale with fourteen steps, one grid for anything that happens in time, and three breakpoints. The concept’s one-off values, like 13, 17 and 19px, are snapped to the scale.
The scale
Steps are named by multiples of four, so space-4 is 16px and space-10 is 40px. The small end is dense because interfaces are dense there; the large end jumps because page rhythm needs contrast, not precision.
space-0.52space-14space-28space-312space-416space-520space-624space-832space-1040space-1248space-1664space-2080space-2496space-32128Rhythm
Three distances do most of the work. 4 to 8px binds things that are one thing: a title and its detail. 16 to 24px separates siblings: rows, cards, controls. 48px and up separates ideas: sections, the greeting from the day.
The timeline grid
Anything that happens at a time sits on the same two-column grid: a 50px column for the time, a 16px gutter, and the content. The gutter is where the light runs. Its centre, 57px from the left, is the axis for the beam and for every execution dot.
- 1Time columnFixed at 50px so times align down the whole day, whatever the content does.
--_time: 50px - 2Gutter and axis16px. Its centre line is where the beam and the execution dots sit.
space-4 - 3ContentTakes the rest. Minimum width zero, so long titles wrap instead of pushing the grid.
minmax(0, 1fr)
Breakpoints
| Name | Width | What changes |
|---|---|---|
| compact | < 640 | One column. Page gutters drop to 20px. The product itself is designed here first. |
| medium | 640 to 1000 | Editorial layouts stack their label column above the content. |
| wide | 1000 to 1280 | Two columns: argument and device side by side. |
| full | > 1280 | Content stops growing at 1160px and the margins take the rest. |
Tokens
| Token | Value | Used for |
|---|---|---|
| --au-space-1 | 4px | Title to its detail line. |
| --au-space-2 | 8px | Between buttons in a group. |
| --au-space-3 | 12px | Label to the thing it labels. |
| --au-space-4 | 16px | Timeline gutter. Rows inside a card. |
| --au-space-6 | 24px | Screen side padding on mobile. |
| --au-space-8 | 32px | Between groups. |
| --au-space-12 | 48px | Greeting to the day. |
| --au-space-16 | 64px | Between page sections. |