Foundations
Spacing and grid
The spacing scale, radii and the inner-outer rule
Inner is smaller than outer
After Maxim Ilyakhov: related elements sit closer to each other than to the next group and to the container’s edge. Empty space defines groups, not borders or lines. Rule 13 in DESIGN.md, “Grid and spacing”
Steps
Each step is clearly larger than the previous one, neighboring steps are never equal. If a label sits 8 from its field, the next field is at least 16 away
Pair
label and field, title and description, icon and text
Group items
form fields, rows, cards with captions
Groups
page sections, tile blocks
Tile edge
from content to the edge
Bad and good
Same content, different spacing. In the bad one the eye groups unrelated elements
Label and field
Section heading
The summary was generated, check the names
Tasks
Beta on Friday, copy due Thursday
The summary was generated, check the names
Tasks
Beta on Friday, copy due Thursday
Card caption
Design sync
Beta review
Design sync
Beta review
Icon in a button
Exception: filled containers
The edge of a filled container separates the group on its own. Tiles with padding 20 sit 8 apart, and that’s fine. The rule applies inside the tile: title and description 4 apart, 20 to the edge
Meetings
12 this week
Summaries
Ready for 9
Recordings
3 h 40 min
Scale and radii
Radii
rounded-chip8 · labels, 40 thumbnails
rounded-nested16 · nested
rounded-window17 · macOS window
rounded-tile24 · tile
rounded-panel40 · panel
rounded-frame56 · site frame
rounded-pillpill · buttons, fields, chips
Spacing scale
8 / 12 / 16 / 20 / 24 / 32, no other values; 4 only for optical fixes
Tile, nested and gaps
Tile: padding 20, radius 24
Nested: radius 16 = 24 − 8
8 between tiles and from the window edge
Air instead of lines: no borders or dividers