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.
| Token | Light | Dark |
|---|---|---|
| --background | oklch(1 0 0) | oklch(0.145 0 0) |
| --foreground | oklch(0.145 0 0) | oklch(0.985 0 0) |
| --surface | oklch(0.985 0 0) | oklch(0.205 0 0) |
| --surface-foreground | oklch(0.145 0 0) | oklch(0.985 0 0) |
| --card | oklch(1 0 0) | oklch(0.205 0 0) |
| --card-foreground | oklch(0.145 0 0) | oklch(0.985 0 0) |
| --overlay | oklch(1 0 0) | oklch(0.205 0 0) |
| --overlay-foreground | oklch(0.145 0 0) | oklch(0.985 0 0) |
| --primary | oklch(0.205 0 0) | oklch(0.922 0 0) |
| --primary-foreground | oklch(0.985 0 0) | oklch(0.205 0 0) |
| --secondary | oklch(0.97 0 0) | oklch(0.269 0 0) |
| --secondary-foreground | oklch(0.205 0 0) | oklch(0.985 0 0) |
| --muted | oklch(0.97 0 0) | oklch(0.269 0 0) |
| --muted-foreground | oklch(0.556 0 0) | oklch(0.708 0 0) |
| --accent | oklch(0.97 0 0) | oklch(0.269 0 0) |
| --accent-foreground | oklch(0.205 0 0) | oklch(0.985 0 0) |
| --destructive | oklch(0.577 0.245 27.325) | oklch(0.704 0.191 22.216) |
| --destructive-foreground | oklch(0.985 0 0) | oklch(0.145 0 0) |
| --warning | oklch(0.666 0.179 58.318) | oklch(0.769 0.188 70.08) |
| --warning-foreground | oklch(0.985 0 0) | oklch(0.145 0 0) |
| --success | oklch(0.6 0.14 150) | oklch(0.72 0.15 150) |
| --success-foreground | oklch(0.985 0 0) | oklch(0.145 0 0) |
| --border | oklch(0.922 0 0) | oklch(1 0 0 / 0.1) |
| --input | oklch(0.922 0 0) | oklch(1 0 0 / 0.15) |
| --ring | oklch(0.708 0 0) | oklch(0.556 0 0) |
| --backdrop | oklch(0 0 0 / 0.3) | oklch(0 0 0 / 0.3) |