Colors The color palette and design tokens used throughout the design system.
All colors are defined as CSS custom properties using HSL values. They adapt automatically between light and dark themes. Click any swatch to copy its CSS variable.
Brand
Primary
--primary
Brand color (orange)
Primary Foreground
--primary-foreground
Text on primary
Semantic
Background
--background
Page background
Foreground
--foreground
Default text color
Secondary
--secondary
Secondary elements
Secondary Foreground
--secondary-foreground
Text on secondary
Accent
--accent
Hover states, highlights
Accent Foreground
--accent-foreground
Text on accent
Muted
--muted
Subtle backgrounds
Muted Foreground
--muted-foreground
Subtle text
Destructive
--destructive
Errors, danger
Destructive Foreground
--destructive-foreground
Text on destructive
Surfaces
Card
--card
Card backgrounds
Card Foreground
--card-foreground
Text on cards
Popover
--popover
Popover backgrounds
Popover Foreground
--popover-foreground
Text on popovers
Utility
Border
--border
Default borders
Input
--input
Input backgrounds
Ring
--ring
Focus ring color
Chart
Chart 1
--chart-1
Data visualization
Chart 2
--chart-2
Data visualization
Chart 3
--chart-3
Data visualization
Chart 4
--chart-4
Data visualization
Chart 5
--chart-5
Data visualization
Sidebar
Sidebar
--sidebar-background
Sidebar background
Sidebar Foreground
--sidebar-foreground
Sidebar text
Sidebar Primary
--sidebar-primary
Active item
Sidebar Accent
--sidebar-accent
Hover state
Sidebar Border
--sidebar-border
Sidebar dividers
The tokens map to Tailwind utility classes:
/* These CSS variables... */
--primary: 20 .5 90.2% 48.2%;
--background: 20 14.3% 96.1%;
/* ...become Tailwind classes */
bg-primary /* background-color: hsl(var(--primary)) */
text-foreground /* color: hsl(var(--foreground)) */
border-border /* border-color: hsl(var(--border)) */
Override any token in your CSS after importing the defaults:
@layer base {
:root {
--primary : 220 90 % 50 % ; /* Change brand to blue */
}
}