Impala is a shadcn/ui theme built around a muted light teal primary color (#e8eeec) with muted light cyan accents (#e8ecee). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light teal primary (#e8eeec) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030706black |
| Foreground | #000000black | #f5f9f8whitesmoke |
| Card | #fcfcfcsnow | #050b09black |
| Card foreground | #000000black | #f9fbfamintcream |
| Popover | #fcfcfcsnow | #050b09black |
| Popover foreground | #000000black | #f9fbfamintcream |
| Primary | #e8eeeclavender | #e8eeeclavender |
| Primary foreground | #1a2320black | #1a2320black |
| Secondary | #e8eee9linen | #e8eee9linen |
| Secondary foreground | #455e4adarkslategray | #455e4adarkslategray |
| Muted | #edf7efhoneydew | #08120ablack |
| Muted foreground | #616b63dimgray | #949e96darkgray |
| Accent | #e8eceelavender | #e8eceelavender |
| Accent foreground | #45595edarkslategray | #45595edarkslategray |
| Destructive | #ba3a03firebrick | #f64c04orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e8eeeclavender | #e8eeeclavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 13.64:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 5.05:1 | AA |
| Accent | 6.22:1 | AA |
| Destructive | 5.69:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 13.64:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 6.91:1 | AA |
| Accent | 6.22:1 | AA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Impala in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.967 0.014 151.78);
--muted-foreground: oklch(0.517 0.018 151.48);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.943 0.007 176.442);
--primary-foreground: oklch(0.247 0.014 174.88);
--secondary: oklch(0.942 0.009 151.859);
--secondary-foreground: oklch(0.455 0.043 150.472);
--accent: oklch(0.941 0.006 214.332);
--accent-foreground: oklch(0.449 0.025 214.665);
--destructive: oklch(0.531 0.173 37.914);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.943 0.007 176.442);
--chart-1: oklch(0.943 0.007 176.442);
--chart-2: oklch(0.942 0.009 151.859);
--chart-3: oklch(0.941 0.006 214.332);
--chart-4: oklch(0.964 0.006 151.917);
--chart-5: oklch(0.944 0.008 176.399);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.011 176.791);
--foreground: oklch(0.98 0.004 176.524);
--muted: oklch(0.168 0.022 150.186);
--muted-foreground: oklch(0.689 0.017 151.641);
--popover: oklch(0.14 0.012 176.731);
--popover-foreground: oklch(0.987 0.003 176.57);
--card: oklch(0.14 0.012 176.731);
--card-foreground: oklch(0.987 0.003 176.57);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.943 0.007 176.442);
--primary-foreground: oklch(0.247 0.014 174.88);
--secondary: oklch(0.942 0.009 151.859);
--secondary-foreground: oklch(0.455 0.043 150.472);
--accent: oklch(0.941 0.006 214.332);
--accent-foreground: oklch(0.449 0.025 214.665);
--destructive: oklch(0.653 0.216 37.32);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.943 0.007 176.442);
--chart-1: oklch(0.943 0.007 176.442);
--chart-2: oklch(0.942 0.009 151.859);
--chart-3: oklch(0.941 0.006 214.332);
--chart-4: oklch(0.964 0.006 151.917);
--chart-5: oklch(0.944 0.008 176.399);
}