Colors

Live color palette. All values update as you change the theme. Mode: dark, Accent: blue, Gray: neutral.

Backgrounds

Page and container backgrounds.

Page

--ds-background-100

Recessed

--ds-background-200

Surfaces

Card, panel, and interactive surface fills. Translucent on dark mode.

Surface

--ds-gray-100

Surface Hover

--ds-gray-200

Surface Active

--ds-gray-300

Borders

Solid and alpha borders for different contexts.

Default

--ds-gray-400

Hover

--ds-gray-500

Alpha 100

--ds-gray-alpha-100

Alpha 400

--ds-gray-alpha-400

Alpha 500

--ds-gray-alpha-500

Text

Foreground colors for different emphasis levels.

Primarygray-1000
Secondarygray-900
Mutedgray-600
Disabledgray-500

Accent

Primary interactive color. Changes with theme accent selection.

Accent (700)

--ds-blue-700

Accent Text (900)

--ds-blue-900
ButtonLinkFocus ringActive tab

Semantic

Fixed meaning colors for status, feedback, and alerts.

Success

Fill

--ds-green-700

Text

--ds-green-900

Warning

Fill

--ds-amber-700

Text

--ds-amber-900

Error

Fill

--ds-red-700

Text

--ds-red-900

Data Visualization

Use in this order for charts. Max 6 colors.

1. Blue

--ds-blue-700

2. Teal

--ds-teal-700

3. Purple

--ds-purple-700

4. Amber

--ds-amber-700

5. Pink

--ds-pink-700

6. Green

--ds-green-700

Tailwind Mapping

Tailwind ClassCSS VariableUsage
bg-background--ds-background-100Page background
bg-surface--ds-gray-100Card/panel fill
bg-surface-hover--ds-gray-200Hover state
bg-surface-active--ds-gray-300Active/selected state
border-border--ds-gray-alpha-400Default borders
text-foreground--ds-gray-1000Primary text
text-foreground-secondary--ds-gray-900Secondary text
text-foreground-muted--ds-gray-600Placeholder, hints
text-accent-foreground--ds-blue-900Links, accent text
bg-accent--ds-blue-700Accent fills
text-destructive-foreground--ds-red-900Error text
text-success-foreground--ds-green-900Success text
text-warning-foreground--ds-amber-900Warning text