Colors

Shell's color tokens, read from its theme.json, in light and dark mode. Components use them through Tailwind, like bg-primary or text-muted-foreground.

Palette

Preview
Not in Shell yet
Shell doesn't have this example, or every component it uses.

Tokens

Each color's light and dark value. Tokens without a dark value stay the same in dark mode.

TokenLightDark
--backgroundoklch(1 0 0)oklch(0.145 0 0)
--foregroundoklch(0.145 0 0)oklch(0.985 0 0)
--surfaceoklch(0.985 0 0)oklch(0.205 0 0)
--surface-foregroundoklch(0.145 0 0)oklch(0.985 0 0)
--cardoklch(1 0 0)oklch(0.205 0 0)
--card-foregroundoklch(0.145 0 0)oklch(0.985 0 0)
--overlayoklch(1 0 0)oklch(0.205 0 0)
--overlay-foregroundoklch(0.145 0 0)oklch(0.985 0 0)
--primaryoklch(0.205 0 0)oklch(0.922 0 0)
--primary-foregroundoklch(0.985 0 0)oklch(0.205 0 0)
--secondaryoklch(0.97 0 0)oklch(0.269 0 0)
--secondary-foregroundoklch(0.205 0 0)oklch(0.985 0 0)
--mutedoklch(0.97 0 0)oklch(0.269 0 0)
--muted-foregroundoklch(0.556 0 0)oklch(0.708 0 0)
--accentoklch(0.97 0 0)oklch(0.269 0 0)
--accent-foregroundoklch(0.205 0 0)oklch(0.985 0 0)
--destructiveoklch(0.577 0.245 27.325)oklch(0.704 0.191 22.216)
--destructive-foregroundoklch(0.985 0 0)oklch(0.145 0 0)
--warningoklch(0.666 0.179 58.318)oklch(0.769 0.188 70.08)
--warning-foregroundoklch(0.985 0 0)oklch(0.145 0 0)
--successoklch(0.6 0.14 150)oklch(0.72 0.15 150)
--success-foregroundoklch(0.985 0 0)oklch(0.145 0 0)
--borderoklch(0.922 0 0)oklch(1 0 0 / 0.1)
--inputoklch(0.922 0 0)oklch(1 0 0 / 0.15)
--ringoklch(0.708 0 0)oklch(0.556 0 0)
--backdropoklch(0 0 0 / 0.3)oklch(0 0 0 / 0.3)