Foundations
Colors
All colors are oklch, computed from the theme knobs. Values below update live when you switch theme or mode.
Semantic tokens
Components only use these. The names match shadcn, plus success, warning and info.
Surfaces
Page and container backgrounds.
background
bg-background
card
bg-card
popover
bg-popover
muted
bg-muted
Text
Pair each surface with its -foreground token.
foreground
bg-foreground
muted-foreground
bg-muted-foreground
card-foreground
bg-card-foreground
popover-foreground
bg-popover-foreground
Actions
Buttons and interactive fills.
primary
bg-primary
secondary
bg-secondary
accent
bg-accent
primary-foreground
bg-primary-foreground
Status
Fixed hues. They never follow the theme.
success
bg-success
warning
bg-warning
destructive
bg-destructive
info
bg-info
Lines
Borders, inputs and the focus ring.
border
bg-border
input
bg-input
ring
bg-ring
Neutral scale
14 steps. Lightness is fixed per step, the tint comes from --neutral-hue and --neutral-chroma. Use it through the semantic tokens when you can.
0
50
100
200
300
400
500
600
700
800
850
900
950
1000
Brand scale
11 steps from --brand-hue and --brand-chroma. The neutral theme doesn't use it for primary. Charts use steps 300 to 700.
50
100
200
300
400
500
600
700
800
900
950
Usage
Every token is a Tailwind color, so it works with any color utility.
bg-card text-card-foreground
text-muted-foreground