Reference

Design system

The tokens and component states this page lists, rendered by the real components and read out of the live stylesheet. Flip the theme in the rail and every value and ratio below follows.

How this page works

This page imports the components in src/components/ui/ and reads every value out of src/styles/global.css at runtime, so no number here can drift from what ships.

What it does NOT do is discover tokens or components on its own. The lists are maintained by hand in DesignPage.tsx: add a token or a component and you add it here too. A token listed here but missing from the stylesheet is caught and flagged; one that exists in the stylesheet and was never listed is invisible to this page.

Accent

4 tokens

One aqua accent. --accent-ink is the contrast-tuned pair for text on a light surface.

--accent
…
--accent-strong
…
--accent-quiet
…
--accent-ink
…

Categorical

6 tokens

Series colours. Never carry meaning in these alone; pair with a label.

--c-aqua
…
--c-blue
…
--c-violet
…
--c-green
…
--c-amber
…
--c-rose
…

Categorical (ink)

3 tokens

The same hues darkened until they pass as text. Use these for words, the plain ones for fills.

--c-green-ink
…
--c-amber-ink
…
--c-rose-ink
…

Surfaces

5 tokens
--bg
…
--bg-sunken
…
--surface
…
--surface-2
…
--surface-hi
…

Lines and washes

4 tokens

Translucent. Shown and measured composited over --surface, which is what you actually see.

--border
…
--border-soft
…
--tint
…
--grid
…

Text

3 tokens
--text
…
--text-2
…
--text-3
…

Semantic aliases

9 tokens

What components actually reference. Each points at a token above. Fix a contrast failure HERE, not at the call site, or the fix reaches one page and not its peers.

--color-text
…
--color-text-muted
…
--color-text-dim
…
--color-accent
…
--color-attention
…
--color-success
…
--color-danger
…
--color-warning
…
--color-info
…

Surface aliases

5 tokens
--color-bg
…
--color-bg-elevated
…
--color-bg-hover
…
--color-surface
…
--bg-1
…

Border aliases

2 tokens
--color-border
…
--color-border-strong
…

Radius

5 tokens
--r-sm
NOT DEFINED
--r-md
NOT DEFINED
--r-lg
NOT DEFINED
--r-xl
NOT DEFINED
--r-pill
NOT DEFINED

Shadow

3 tokens
--shadow-sm
NOT DEFINED
--shadow-md
NOT DEFINED
--shadow-lg
NOT DEFINED

Spacing

2 tokens
--gap
NOT DEFINED
--pad
NOT DEFINED

Motion

2 tokens
--easeNOT DEFINED
--ease-outNOT DEFINED

Tracking

3 tokens
--tracking-tightNOT DEFINED
--tracking-snugNOT DEFINED
--tracking-wideNOT DEFINED

Gradient

1 tokens
--accent-gradNOT DEFINED