DocsComponentsTemplatesThemesGitHub

Foundations

Content first, chrome floats. Round and concentric. Quiet by default. Both themes, always.

Colour

Swatches follow the current theme.

--bg
--surface
--surface-2
--surface-3
--label
--label-2
--label-3
--separator
--fill
--fill-2
--accent
--on-accent
--accent-tint
--accent-ink
--success
--success-tint
--success-ink
--warning
--warning-tint
--warning-ink
--danger
--danger-tint
--danger-ink
--glass
--glass-strong
--scrim
--toggle-off
--knob
--segment-selected
--fruit-cherry
--fruit-tangerine
--fruit-mango
--fruit-lime
--fruit-kiwi
--fruit-sky
--fruit-blueberry
--fruit-grape
--fruit-plum
--chart-1
--chart-2
--chart-3
--chart-4
--chart-5
--tile-grape
--tile-blueberry
--tile-kiwi
--tile-tangerine
--tile-plum
--tile-cherry
--tile-lime

Type

DM Sans. Display: 34/41, 28/34, 22/28, 20/25. Text: 17/22, 16/21, 15/20, 13/18, 12/16, 11/13. Desktop body is 15, phone body is 17.

Space and shape

4pt grid. Radius: 6 checkbox, 10 menu item, 14 field, 22 card, 30 modal, pill for buttons and chips.

Accessibility

Text has at least 4.5:1 contrast in both themes (--label-3 is for non-essential text only). Touch targets are at least 44px. Status never relies on colour alone. Motion respects reduced-motion settings.

Voice

Plain and short. Buttons are verbs. Toasts are past tense. Errors say how to fix the problem.