Foundation
Colors
Semantic tokens for surfaces, ink and feedback. Swatches read the real values, so switching appearance or accent in the header changes them live.
Palette
Four families cover the whole interface: surfaces, interaction washes, status ink and the accent ring. Click any tile to copy its token name. The preview control switches the appearance preference used across the site.
Surfaces
Page ground through modal. Full fills, never translucency.
Interaction
Washes layer over a substrate. The accent ring is reserved for focus.
Status
Semantic feedback only. An accent choice never redefines these.
Accent choices
Curated values for focus and selection. Not a flag recoloring.
In context
Most of a page is surface and ink. Interaction fills appear only where a pointer or selection has been. Status colors belong to feedback, and the accent belongs to focus and selection, not to decoration.
Focus
Focused controlvar(--focus-ring)
Status
--warning · --success
Action
--foreground on --background
Avoid
- Do not fill primary buttons with the accent. It is a focus and selection color.
- Do not set body copy in a status hue. Status tokens label short feedback, not paragraphs.
- Do not stack a hover wash on a selected fill; the fills combine unpredictably across appearances.
- Do not use color alone to carry meaning. Keep the text label on every status and badge.
Ink and scale
Foreground, muted and border derive from one warm neutral ramp: oklch(0.21 0.01 70) foreground, oklch(0.55 0.008 70) muted, and --border oklch(0.915 0.005 90) in light and oklch(0.27 0.005 90) in dark. The text-size preference scales the type ladder and its spacing together; see Typography. Density scales --spacing and, at Compact, control height.