Base16 Dark Apathy is a shadcn/ui theme built around a muted teal primary color (#82b5ad) with vivid deep teal accents (#0b6052). The light mode uses a teal-tinted background (#031b17). Dark mode keeps the muted teal primary (#82b5ad) on a teal-tinted background (#031b17).
| Token | Light | Dark |
|---|---|---|
| Background | #031b17black | #031b17black |
| Foreground | #82b5addarkseagreen | #82b5addarkseagreen |
| Card | #021210black | #021210black |
| Card foreground | #92bfb7darkgray | #92bfb7darkgray |
| Popover | #020e0cblack | #020e0cblack |
| Popover foreground | #a2c8c2silver | #a2c8c2silver |
| Primary | #82b5addarkseagreen | #82b5addarkseagreen |
| Primary foreground | #020303black | #020303black |
| Secondary | #364a47darkslategray | #364a47darkslategray |
| Secondary foreground | #d3dfddgainsboro | #d3dfddgainsboro |
| Muted | #222b29darkslategray | #222b29darkslategray |
| Muted foreground | #9bb0addarkgray | #9bb0addarkgray |
| Accent | #0b6052darkslategray | #0b6052darkslategray |
| Accent foreground | #a8f5e8paleturquoise | #a8f5e8paleturquoise |
| Destructive | #eb6347tomato | #eb6347tomato |
| Destructive foreground | #000000black | #000000black |
| Border | #092f29darkslategray | #092f29darkslategray |
| Input | #0b3c34darkslategray | #0b3c34darkslategray |
| Ring | #82b5addarkseagreen | #82b5addarkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.78:1 | AAA |
| Text on card | 9.43:1 | AAA |
| Primary button | 9.03:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 6.38:1 | AA |
| Accent | 6.02:1 | AA |
| Destructive | 6.38:1 | AA |
| Text on background | 7.78:1 | AAA |
| Text on card | 9.43:1 | AAA |
| Primary button | 9.03:1 | AAA |
| Secondary button | 6.91:1 | AA |
| Muted text | 6.38:1 | AA |
| Accent | 6.02:1 | AA |
| Destructive | 6.38:1 | AA |
Paste this into your globals.css to use Base16 Dark Apathy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.203 0.032 180.626);
--foreground: oklch(0.736 0.056 183.296);
--muted: oklch(0.279 0.013 184.176);
--muted-foreground: oklch(0.741 0.024 184.575);
--popover: oklch(0.148 0.022 183.783);
--popover-foreground: oklch(0.804 0.042 184.027);
--card: oklch(0.167 0.025 182.348);
--card-foreground: oklch(0.77 0.049 183.683);
--border: oklch(0.278 0.044 179.487);
--input: oklch(0.323 0.053 179.064);
--primary: oklch(0.736 0.056 183.296);
--primary-foreground: oklch(0.095 0.005 185.278);
--secondary: oklch(0.391 0.026 183.582);
--secondary-foreground: oklch(0.893 0.013 185.054);
--accent: oklch(0.439 0.078 177.57);
--accent-foreground: oklch(0.916 0.077 183.017);
--destructive: oklch(0.665 0.174 33.074);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.736 0.056 183.296);
--chart-1: oklch(0.736 0.056 183.296);
--chart-2: oklch(0.391 0.026 183.582);
--chart-3: oklch(0.439 0.078 177.57);
--chart-4: oklch(0.422 0.029 183.547);
--chart-5: oklch(0.741 0.062 183.063);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.203 0.032 180.626);
--foreground: oklch(0.736 0.056 183.296);
--muted: oklch(0.279 0.013 184.176);
--muted-foreground: oklch(0.741 0.024 184.575);
--popover: oklch(0.148 0.022 183.783);
--popover-foreground: oklch(0.804 0.042 184.027);
--card: oklch(0.167 0.025 182.348);
--card-foreground: oklch(0.77 0.049 183.683);
--border: oklch(0.278 0.044 179.487);
--input: oklch(0.323 0.053 179.064);
--primary: oklch(0.736 0.056 183.296);
--primary-foreground: oklch(0.095 0.005 185.278);
--secondary: oklch(0.391 0.026 183.582);
--secondary-foreground: oklch(0.893 0.013 185.054);
--accent: oklch(0.439 0.078 177.57);
--accent-foreground: oklch(0.916 0.077 183.017);
--destructive: oklch(0.665 0.174 33.074);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.736 0.056 183.296);
--chart-1: oklch(0.736 0.056 183.296);
--chart-2: oklch(0.391 0.026 183.582);
--chart-3: oklch(0.439 0.078 177.57);
--chart-4: oklch(0.422 0.029 183.547);
--chart-5: oklch(0.741 0.062 183.063);
}