Spacing
A 4px base, 8px-friendly, sixteen steps. Use the scale and nothing else — a magic number is a bug waiting for a redesign.
The scale
--space-00--space-px1px--space-14px--space-28px--space-312px--space-416px--space-520px--space-624px--space-732px--space-840px--space-948px--space-1064px--space-1180px--space-1296px--space-13128px--space-14160px--space-15192pxHow the scale gets used
- Generous vertical rhythm. Major sections on landing pages breathe —
--space-13(128px) between them. Cramped sections read as clutter, not density. - Tight horizontal density inside cards.
--space-4(16px) is the default inner padding for compact components;--space-6(24px) for roomier cards. - Gaps within a control cluster:
--space-2or--space-3. Between distinct groups:--space-6and up. - When in doubt, take the larger step for vertical space and the smaller for horizontal.
Layout containers
Content clamps at --container-xl (1280px); editorial body copy clamps tighter at
--container-md (768px) for a readable measure. --gutter scales with the viewport.
| Token | Value |
|---|---|
--container-sm | 640px |
--container-md | 768px |
--container-lg | 1024px |
--container-xl | 1280px |
--container-2xl | 1440px |
Asymmetry is encouraged
7–5 and 8–4 column splits beat 6–6. A perfectly symmetric layout reads as template-made; the brand prefers a deliberate lean.