Foundations
Colors
A layered token system. Semantic role tokens (like foreground, accent) for components, plus full 11-step numeric scales for fine-grained control. Always reference tokens — never raw hex.
Semantic Roles
Use these in all component code. They remap automatically if the theme changes.
--color-backgroundbg-backgroundPage background
#FFFFFF--color-foregroundtext-foregroundPrimary text, icons
#0A0A0A--color-mutedtext-mutedSecondary text
#5A5A5F--color-subtletext-subtlePlaceholder, tertiary
#8D8D92--color-borderborder-borderDividers, hairlines
#DEDED9--color-surfacebg-surfaceSubtle backgrounds, code blocks
#F7F6F3--color-mistbg-mistSkeleton, hover fills
#EBEBEBColor Scales
11 steps per scale, 50–950. Use the numeric scale when you need a specific shade outside of the semantic roles — e.g. bg-electric-50 for a badge background, text-success-700 for status text. The primary shade of each scale is marked with a ring.
Neutral
Achromatic gray — text, borders, surfaces
50
#FAFAFA
100
#F5F5F5
200
#E5E5E5
300
#D4D4D4
400
#A3A3A3
500
#737373
600
#525252
700
#404040
800
#262626
900
#171717
950
#0A0A0A
primary
Electric
Primary action — CTAs, links, focus rings
50
#EBF2FF
100
#D6E8FF
200
#ADCFFF
300
#7AB0FF
400
#4B8EFF
500
#2270FF
600
#0057FF
primary
700
#0045CC
800
#003ACC
900
#002980
950
#001A52
Success
Confirmation, positive status
50
#F0FDF4
100
#DCFCE7
200
#BBF7D0
300
#86EFAC
400
#4ADE80
500
#22C55E
600
#16A34A
700
#15803D
primary
800
#166534
900
#14532D
950
#052E16
Warning
Caution, pending, non-critical alerts
50
#FFFBEB
100
#FEF3C7
200
#FDE68A
300
#FCD34D
400
#FBBF24
500
#F59E0B
600
#D97706
700
#B45309
primary
800
#92400E
900
#78350F
950
#451A03
Destructive
Errors, delete actions, critical states
50
#FFF0F0
100
#FFE0E0
200
#FFC0C0
300
#FF9090
400
#FF5C5C
500
#F03030
600
#C8102E
primary
700
#A50D26
800
#820A1E
900
#5F0715
950
#3D040D
Interactive Tokens
Semantic aliases for the Electric scale used in interactive elements.
accentDefault state — buttons, links, focus
#0057FFaccent-hoverHover state
#0045CCaccent-activePressed / active
#003ACCaccent-subtleBadge bg, row hover
#EBF2FFStatus Tokens
Each status has three semantic tokens: text, background, and border.
Success
--color-success--color-success-bgWarning
--color-warning--color-warning-bgDestructive
--color-destructive--color-destructive-bgPhoto Overlays
Used exclusively on photo cards for gradient scrims. Never apply to text or UI backgrounds.
--overlay-heavyPhoto card gradient — bottom scrim
rgba(0,0,0,0.72)--overlay-mediumHero & full-bleed overlays
rgba(0,0,0,0.65)--overlay-panelCategory strip panel
rgba(0,0,0,0.32)--overlay-lightHover tint on photo cards
rgba(0,0,0,0.16)