Indolent is a shadcn/ui theme built around a muted light green primary color (#b9cabe) with muted light orange accents (#cabeb9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#b9cabe) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010402black |
| Foreground | #041107black | #f6f9f7whitesmoke |
| Card | #ffffffwhite | #010402black |
| Card foreground | #041107black | #f6f9f7whitesmoke |
| Popover | #ffffffwhite | #010402black |
| Popover foreground | #041107black | #f6f9f7whitesmoke |
| Primary | #b9cabesilver | #b9cabesilver |
| Primary foreground | #232f26darkslategray | #232f26darkslategray |
| Secondary | #beb9casilver | #beb9casilver |
| Secondary foreground | #26232fdarkslategray | #26232fdarkslategray |
| Muted | #dcd6ebgainsboro | #1a1429black |
| Muted foreground | #4c4b4edarkslategray | #b2b1b4darkgray |
| Accent | #cabeb9silver | #cabeb9silver |
| Accent foreground | #2f2623darkslategray | #2f2623darkslategray |
| Destructive | #993800saddlebrown | #eb5600orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b9cabesilver | #b9cabesilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.11:1 | AA |
| Accent | 8.15:1 | AAA |
| Destructive | 7.18:1 | AAA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 8.37:1 | AAA |
| Accent | 8.15:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Indolent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.029 153.417);
--muted: oklch(0.886 0.03 298.727);
--muted-foreground: oklch(0.415 0.005 299.092);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.029 153.417);
--card: oklch(1 0 180);
--card-foreground: oklch(0.159 0.029 153.417);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.824 0.025 154.618);
--primary-foreground: oklch(0.29 0.022 153.739);
--secondary: oklch(0.796 0.024 298.776);
--secondary-foreground: oklch(0.265 0.021 297.895);
--accent: oklch(0.811 0.016 42.966);
--accent-foreground: oklch(0.278 0.014 42.765);
--destructive: oklch(0.473 0.141 42.556);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.025 154.618);
--chart-1: oklch(0.824 0.025 154.618);
--chart-2: oklch(0.796 0.024 298.776);
--chart-3: oklch(0.811 0.016 42.966);
--chart-4: oklch(0.822 0.021 298.86);
--chart-5: oklch(0.826 0.031 154.495);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.013 154.74);
--foreground: oklch(0.979 0.004 155.122);
--muted: oklch(0.21 0.042 295.608);
--muted-foreground: oklch(0.762 0.004 299.205);
--popover: oklch(0.097 0.013 154.74);
--popover-foreground: oklch(0.979 0.004 155.122);
--card: oklch(0.097 0.013 154.74);
--card-foreground: oklch(0.979 0.004 155.122);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.824 0.025 154.618);
--primary-foreground: oklch(0.29 0.022 153.739);
--secondary: oklch(0.796 0.024 298.776);
--secondary-foreground: oklch(0.265 0.021 297.895);
--accent: oklch(0.811 0.016 42.966);
--accent-foreground: oklch(0.278 0.014 42.765);
--destructive: oklch(0.644 0.197 41.203);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.025 154.618);
--chart-1: oklch(0.824 0.025 154.618);
--chart-2: oklch(0.796 0.024 298.776);
--chart-3: oklch(0.811 0.016 42.966);
--chart-4: oklch(0.822 0.021 298.86);
--chart-5: oklch(0.826 0.031 154.495);
}