Indolent is a shadcn/ui theme built around a neutral gray primary color (#a0a6a2) with neutral gray accents (#a0a6a5). The light mode uses a neutral background (#fbfefc). Dark mode keeps the neutral gray primary (#a0a6a2) on a green-tinted background (#060f09).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #060f09black |
| Foreground | #031208black | #f5faf7whitesmoke |
| Card | #f7fdf9mintcream | #07130bblack |
| Card foreground | #020d06black | #f8fcf9mintcream |
| Popover | #fbfefcwhite | #060f09black |
| Popover foreground | #031208black | #f5faf7whitesmoke |
| Primary | #a0a6a2darkgray | #a0a6a2darkgray |
| Primary foreground | #0a0b0ablack | #0a0b0ablack |
| Secondary | #a1a6a0darkgray | #a1a6a0darkgray |
| Secondary foreground | #0a0b0ablack | #0a0b0ablack |
| Muted | #e7f0e5beige | #111a0fblack |
| Muted foreground | #5d6d5adimgray | #95a592darkseagreen |
| Accent | #a0a6a5darkgray | #a0a6a5darkgray |
| Accent foreground | #0a0b0ablack | #0a0b0ablack |
| Destructive | #cd0b04firebrick | #e10c05red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a0a6a2darkgray | #a0a6a2darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.88:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 4.74:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 5.76:1 | AA |
| Text on background | 18.44:1 | AAA |
| Text on card | 18.36:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 4.93:1 | AA |
Paste this into your globals.css to use Indolent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 157.191);
--foreground: oklch(0.162 0.031 155.19);
--muted: oklch(0.946 0.018 140.502);
--muted-foreground: oklch(0.516 0.037 140.425);
--popover: oklch(0.994 0.004 157.191);
--popover-foreground: oklch(0.162 0.031 155.19);
--card: oklch(0.988 0.007 157.115);
--card-foreground: oklch(0.144 0.027 156.423);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.719 0.008 157.033);
--primary-foreground: oklch(0.146 0.001 157.144);
--secondary: oklch(0.72 0.009 140.511);
--secondary-foreground: oklch(0.146 0.002 140.474);
--accent: oklch(0.72 0.006 185.216);
--accent-foreground: oklch(0.146 0.001 185.222);
--destructive: oklch(0.535 0.216 29.401);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.719 0.008 157.033);
--chart-1: oklch(0.719 0.008 157.033);
--chart-2: oklch(0.72 0.009 140.511);
--chart-3: oklch(0.72 0.006 185.216);
--chart-4: oklch(0.744 0.009 140.514);
--chart-5: oklch(0.723 0.016 156.801);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.02 155.91);
--foreground: oklch(0.98 0.007 157.121);
--muted: oklch(0.205 0.026 140.36);
--muted-foreground: oklch(0.705 0.034 140.458);
--popover: oklch(0.155 0.02 155.91);
--popover-foreground: oklch(0.98 0.007 157.121);
--card: oklch(0.171 0.024 154.602);
--card-foreground: oklch(0.987 0.005 157.17);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.719 0.008 157.033);
--primary-foreground: oklch(0.146 0.001 157.144);
--secondary: oklch(0.72 0.009 140.511);
--secondary-foreground: oklch(0.146 0.002 140.474);
--accent: oklch(0.72 0.006 185.216);
--accent-foreground: oklch(0.146 0.001 185.222);
--destructive: oklch(0.574 0.232 29.385);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.719 0.008 157.033);
--chart-1: oklch(0.719 0.008 157.033);
--chart-2: oklch(0.72 0.009 140.511);
--chart-3: oklch(0.72 0.006 185.216);
--chart-4: oklch(0.744 0.009 140.514);
--chart-5: oklch(0.723 0.016 156.801);
}