Reference Tokens
Raw values like grayscale and brand color scales. These are the foundation.
Velocity uses a three-tier token system built on OKLCH colors for perceptually uniform color transitions.
Reference Tokens
Raw values like grayscale and brand color scales. These are the foundation.
Semantic Tokens
Intent-based tokens like background, foreground, border. Used in components.
Inverted Tokens
For dark sections on light pages, maintaining proper contrast.
| 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