Foundations
Tokens
The canonical Cognition v1.2 token set. Swatches below render from the live CSS variables — toggle the theme and they remap automatically. Never hardcode a hex value; always reference the token utility.
Color
Every color token, grouped by role — backgrounds, text, borders, feedback, and chart series.
Backgrounds
Surface fills, from the main canvas to brand and feedback tints.
Main page / app background
Sidebars, off-white surfaces
Secondary surfaces, hover states
Brand-tinted surfaces
Primary brand fills, buttons
Dark surfaces
Error background tints
Success background tints
Warning background tints
Text
Foreground colors for copy, labels, and states.
Body text, primary content
Secondary text, placeholders
Brand text, links, active labels
Text on dark / filled backgrounds
Disabled text only
Error messages
Success messages
Warning messages
Borders
Outlines, separators, and focus rings.
Standard borders, input outlines
Light separators
Emphasized borders
Focused / active inputs
Error state borders
Valid / success borders
Feedback
Canonical status colors — use these for every status state.
All info states
All success states
All warning states
All error / destructive states
Chart
Data series colors for charts. Use in order — chart-1 first, chart-5 last. Never use feedback or primary tokens for neutral data series.
First data series
Second data series
Third data series
Fourth data series
Fifth data series
Radius
Six steps. rounded-md (8px) is the default.
Spacing
4px base unit. Never use arbitrary px values in inline styles.
Type Scale
Geist for all UI and body copy. Geist Mono for code and technical values only.
font-family: Geist Mono — 0123456789 { } => const x = 42;Geist is self-hosted via the geist package (Vercel's official build), not the Google font. Download Geist →