ThemeTokens
foundationsThe semantic CSS custom properties every theme defines: surfaces, text, borders, status colours, spacing, radius and shadow.
Semantic colours
Each swatch paints var(--token) live, so switching the theme in the toolbar re-colours this grid; the resolved value is read a frame after the switch, once the new theme has painted.
Raw palette
The --c-* hues a theme is built from; components use the semantic tokens above, apps reach for these only for charts and custom tints.
Spacing, radius and shadow
--sp-* is a 4px-based scale, --r-* the corner radii, --shadow-* the three elevations; all are plain CSS lengths you can use in your own rules.
Accent vs status
One accent for the primary action, active item and focus; green, amber and red are for status only. The grid scopes each [data-theme] so every palette is compared at once.
Text levels
Three levels per theme: --text for titles and values, --text-muted for labels and secondary text (at least 4.5:1), --text-faint only for WCAG-exempt text such as placeholders, disabled controls and separator glyphs (about 3:1, visibly quieter than muted).