August - Gruvbox (Darker) is a shadcn/ui theme built around a light yellow primary color (#ebdbb2) with neutral gray accents (#393f41). The light mode uses a neutral background (#151719). Dark mode keeps the light yellow primary (#ebdbb2) on a neutral background (#151719).
| Token | Light | Dark |
|---|---|---|
| Background | #151719black | #151719black |
| Foreground | #ebdbb2wheat | #ebdbb2wheat |
| Card | #111213black | #111213black |
| Card foreground | #f0e4c6bisque | #f0e4c6bisque |
| Popover | #0e1010black | #0e1010black |
| Popover foreground | #f6eedbantiquewhite | #f6eedbantiquewhite |
| Primary | #ebdbb2wheat | #ebdbb2wheat |
| Primary foreground | #554316darkolivegreen | #554316darkolivegreen |
| Secondary | #53482ddarkolivegreen | #53482ddarkolivegreen |
| Secondary foreground | #e4decdgainsboro | #e4decdgainsboro |
| Muted | #22282bdarkslategray | #22282bdarkslategray |
| Muted foreground | #9ba9b0darkgray | #9ba9b0darkgray |
| Accent | #393f41darkslategray | #393f41darkslategray |
| Accent foreground | #d3d7d9lightgrey | #d3d7d9lightgrey |
| Destructive | #fd3c2borangered | #fd3c2borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #242424darkslategray | #242424darkslategray |
| Input | #2b2b2bdarkslategray | #2b2b2bdarkslategray |
| Ring | #ebdbb2wheat | #ebdbb2wheat |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.05:1 | AAA |
| Text on card | 14.82:1 | AAA |
| Primary button | 6.95:1 | AA |
| Secondary button | 6.70:1 | AA |
| Muted text | 6.20:1 | AA |
| Accent | 7.41:1 | AAA |
| Destructive | 3.58:1 | AA Large |
| Text on background | 13.05:1 | AAA |
| Text on card | 14.82:1 | AAA |
| Primary button | 6.95:1 | AA |
| Secondary button | 6.70:1 | AA |
| Muted text | 6.20:1 | AA |
| Accent | 7.41:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use August - Gruvbox (Darker) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.205 0.004 229.013);
--foreground: oklch(0.894 0.057 89.014);
--muted: oklch(0.271 0.01 229.315);
--muted-foreground: oklch(0.727 0.019 229.118);
--popover: oklch(0.17 0.003 228.969);
--popover-foreground: oklch(0.95 0.027 88.946);
--card: oklch(0.182 0.003 228.986);
--card-foreground: oklch(0.922 0.042 89);
--border: oklch(0.259 0 167.471);
--input: oklch(0.29 0 180);
--primary: oklch(0.894 0.057 89.014);
--primary-foreground: oklch(0.393 0.066 87.044);
--secondary: oklch(0.405 0.044 88.766);
--secondary-foreground: oklch(0.9 0.023 88.935);
--accent: oklch(0.362 0.009 229.101);
--accent-foreground: oklch(0.877 0.005 228.824);
--destructive: oklch(0.651 0.23 29.795);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.894 0.057 89.014);
--chart-1: oklch(0.894 0.057 89.014);
--chart-2: oklch(0.405 0.044 88.766);
--chart-3: oklch(0.362 0.009 229.101);
--chart-4: oklch(0.438 0.049 88.746);
--chart-5: oklch(0.896 0.059 89.012);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.205 0.004 229.013);
--foreground: oklch(0.894 0.057 89.014);
--muted: oklch(0.271 0.01 229.315);
--muted-foreground: oklch(0.727 0.019 229.118);
--popover: oklch(0.17 0.003 228.969);
--popover-foreground: oklch(0.95 0.027 88.946);
--card: oklch(0.182 0.003 228.986);
--card-foreground: oklch(0.922 0.042 89);
--border: oklch(0.259 0 167.471);
--input: oklch(0.29 0 180);
--primary: oklch(0.894 0.057 89.014);
--primary-foreground: oklch(0.393 0.066 87.044);
--secondary: oklch(0.405 0.044 88.766);
--secondary-foreground: oklch(0.9 0.023 88.935);
--accent: oklch(0.362 0.009 229.101);
--accent-foreground: oklch(0.877 0.005 228.824);
--destructive: oklch(0.651 0.23 29.795);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.894 0.057 89.014);
--chart-1: oklch(0.894 0.057 89.014);
--chart-2: oklch(0.405 0.044 88.766);
--chart-3: oklch(0.362 0.009 229.101);
--chart-4: oklch(0.438 0.049 88.746);
--chart-5: oklch(0.896 0.059 89.012);
}