Primitives
Raw values (grayscale, brand, status color scales) in src/styles/tokens/primitives.css.
Velocity uses a three-tier token system built on OKLCH colors for perceptually uniform color transitions.
Primitives
Raw values (grayscale, brand, status color scales) in src/styles/tokens/primitives.css.
Semantic Tokens
Intent-based tokens (background, foreground, border) defined per-theme in src/styles/themes/.
Themes
Swap themes by changing one import in colors.css. Ships with default and midnight.
| Class | Purpose |
|---|---|
bg-background | Primary background |
bg-background-secondary | Secondary background |
text-foreground | Primary text |
text-foreground-muted | Muted/subtle text |
| Class | Purpose |
|---|---|
bg-primary | Primary button background |
text-primary-foreground | Primary button text |
bg-secondary | Secondary button background |
| Class | Purpose |
|---|---|
border-border | Standard border |
border-border-strong | Emphasized border |
| Class | Purpose |
|---|---|
bg-surface-invert | Dark section background |
text-on-invert | Text on dark sections |
Velocity uses OKLCH for perceptually uniform colors:
oklch(62.5% 0.22 38) ↑ ↑ ↑ L C H