Design Tokens

Active: Neo-Brutalism - All tokens update when you switch themes.

Color Tokens

primary--color-primary
bg--color-bg
text--color-text
surface--color-surface
border--color-border
border-strong--color-border-strong
text-secondary--color-text-secondary
text-muted--color-text-muted
error--color-status-error
success--color-status-success

Color Roles and Contrast

Every foreground/background pairing must pass WCAG 2.2 AA. Text needs 4.5:1, UI components need 3:1.

on
Text on Background
Aa
N/A Fail
on
Text on Surface
Aa
N/A Fail
on
Secondary on Background
Aa
N/A Fail
on
Muted on Surface
Aa
N/A Fail
on
Error on Surface
Aa
N/A Fail
on
Success on Surface
Aa
N/A Fail
on
Border on Background
Aa
N/A Fail
on
Strong Border on Background
Aa
N/A Fail

Interactive States

Hover, focus, and disabled variants derived from the base palette. Used for buttons, inputs, and interactive surfaces.

primary-hover
primary-disabled
surface-hover
text-disabled
border-focus

DNA Geometry Tokens

Radius0px--dna-radius
Border3px--dna-border
Gapvar(--dna-gap)--dna-gap
Paddingvar(--dna-padding)--dna-padding
Shadow:

Spacing Scale

4px
8px
12px
16px
20px
24px
32px
40px
48px

Border Radius

0px
2px
4px
6px
8px
12px
16px
24px
9999px

Type Scale (Major Third (1.25))

displayThe quick brown fox49px
h1The quick brown fox39px
h2The quick brown fox31px
h3The quick brown fox25px
h4The quick brown fox20px
bodyThe quick brown fox16px
labelThe quick brown fox14px
captionThe quick brown fox13px