v0.2.0-draft

Space and grid

Spacing, the grid and corners.

Scale

One scale on a 0.25rem base, the same rhythm as the line heights.

TokenValue
space.10.25rem
space.20.5rem
space.30.75rem
space.41rem
space.61.5rem
space.82rem
space.123rem
space.164rem
space.246rem
space.328rem

Roles per register

RoleWebsiteInterfaceAcademic
--wg-space-inline0.75rem0.75rem0.75rem
--wg-space-stack1.5rem1rem1.5rem
--wg-space-pad2rem2rem2rem
--wg-space-gap2rem1.5rem1.5rem
--wg-space-section8rem4rem6rem
--wg-space-gutter4rem1.5rem2rem
--wg-space-gutter-narrow1.5rem1rem1.5rem

The grid

The website sits on a 2rem grid: card edges, gaps and padding land on its lines, and cards take uneven spans. Interfaces and academic work sit on a 0.5rem cell. The grid is always 1px lines at 3% of the register's grid colour.

Corners

The ground and chrome stay square. Cards, buttons, fields and markers take 0.25rem: half a grid cell. No pills, no squircles.