Tokens
Components use these semantic names and never raw values. That is why the whole site changes theme by swapping one set of CSS variables. Toggle the theme to see each swatch change.
Colour
backgroundPage canvassurfaceCards, inputs, raised elementssurface-hoverHover state for surfaces and ghost buttonsborderHairlines and dividersforegroundPrimary text and iconsmutedSecondary text, captionsaccentPrimary actions, selected statesaccent-hoverHover state for accentaccent-foregroundText on accentdangerDestructive actions, errorsringFocus indicatorsuccessPassed status icon (always paired with a label)span-llmModel call in a trace (data viz slot 1)span-toolTool call in a trace (data viz slot 2)span-retrievalRetrieval in a trace (data viz slot 3)
Motion
| instant | 80ms |
|---|---|
| fast | 150ms |
| base | 240ms |
| slow | 400ms |
| snappy | stiffness 520 · damping 34 |
|---|---|
| press | stiffness 800 · damping 40 |
| gentle | stiffness 260 · damping 30 |