TokensColors

Color System

Our color system is built in two layers: Primitives (raw color values) and Semantic tokens (role-based colors). Use semantic tokens in your designs for consistent theming and easier maintenance.

28
Semantic Tokens
9
Color Roles
22
Primitive Families
245
Total Primitives

Two-Layer Architecture

Raw values flow through primitives to semantic tokens

#34d399
Emerald.400
Color.Brand.Default

Semantic Color Tokens

28 tokens across 9 color roles

Primary brand colors for CTAs, links, and key interactive elements

#34D399
Default
#34d399
Emerald.400
Semantic
#10B981
Hover
#10b981
Emerald.500
Semantic
#D1FAE5
Light
#d1fae5
Emerald.100
Semantic
#047857
Dark
#047857
Emerald.700
Semantic

Supporting color for secondary actions and accents

#4C1D95
Default
#4c1d95
Violet.900
Semantic
#2E1065
Hover
#2e1065
Violet.950
Semantic
#EDE9FE
Light
#ede9fe
Violet.100
Semantic

Page and section background colors

#F9FAFB
Default
#f9fafb
Gray.50
Semantic
#F3F4F6
Alt
#f3f4f6
Gray.100
Semantic

Elevated surface color (white)

#FFFFFF
Default
#ffffff
Base.White
Semantic

Typography color roles for different hierarchies

#111827
Foreground
#111827
Gray.900
Semantic
#6B7280
Muted
#6b7280
Gray.500
Semantic
#9CA3AF
Subtle
#9ca3af
Gray.400
Semantic
#FFFFFF
On Brand
#ffffff
Base.White
Semantic
#FFFFFF
On Secondary
#ffffff
Base.White
Semantic

Card component specific colors

#FFFFFF
Background
#ffffff
Base.White
Semantic
#E5E7EB
Border
#e5e7eb
Gray.200
Semantic

General border colors

#E5E7EB
Default
#e5e7eb
Gray.200
Semantic
#D1D5DB
Strong
#d1d5db
Gray.300
Semantic

Feedback and state indication colors

#22C55E
Success
#22c55e
Green.500
Semantic
#DCFCE7
Success Light
#dcfce7
Green.100
Semantic
#F59E0B
Warning
#f59e0b
Amber.500
Semantic
#FEF3C7
Warning Light
#fef3c7
Amber.100
Semantic
#EF4444
Error
#ef4444
Red.500
Semantic
#FEE2E2
Error Light
#fee2e2
Red.100
Semantic
#3B82F6
Info
#3b82f6
Blue.500
Semantic
#DBEAFE
Info Light
#dbeafe
Blue.100
Semantic

Fundamental contrast color

#020617
Default
#020617
Slate.950
Semantic

Usage Example

/* Use semantic tokens for consistent theming */
.button-primary {
  background-color: var(--color-brand);
  color: var(--color-text-on-brand);
}

.button-primary:hover {
  background-color: var(--color-brand-hover);
}

.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-card-border);
}