Impala is a shadcn/ui theme built around a red primary color (#e19d89) with cyan accents (#89cde1). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#e19d89) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030202black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #070404black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #070404black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #e19d89darksalmon | #e19d89darksalmon |
| Primary foreground | #2d130bblack | #2d130bblack |
| Secondary | #89cde1skyblue | #89cde1skyblue |
| Secondary foreground | #0b252dblack | #0b252dblack |
| Muted | #dae8eclavender | #132125black |
| Muted foreground | #546469dimgray | #96a6abdarkgray |
| Accent | #89cde1skyblue | #89cde1skyblue |
| Accent foreground | #0b252dblack | #0b252dblack |
| Destructive | #962d0dsaddlebrown | #eb4a19orangered |
| Destructive foreground | #fce1d9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e19d89darksalmon | #e19d89darksalmon |
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 | 7.79:1 | AAA |
| Secondary button | 9.00:1 | AAA |
| Muted text | 4.90:1 | AA |
| Accent | 9.00:1 | AAA |
| Destructive | 6.30:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 7.79:1 | AAA |
| Secondary button | 9.00:1 | AAA |
| Muted text | 6.56:1 | AA |
| Accent | 9.00:1 | AAA |
| Destructive | 3.79: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.921 0.016 217.853);
--muted-foreground: oklch(0.491 0.021 218.097);
--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.758 0.087 37.638);
--primary-foreground: oklch(0.224 0.045 37.699);
--secondary: oklch(0.809 0.074 218.986);
--secondary-foreground: oklch(0.248 0.035 220.855);
--accent: oklch(0.809 0.074 218.986);
--accent-foreground: oklch(0.248 0.035 220.855);
--destructive: oklch(0.454 0.146 35.97);
--destructive-foreground: oklch(0.93 0.031 37.623);
--ring: oklch(0.758 0.087 37.638);
--chart-1: oklch(0.758 0.087 37.638);
--chart-2: oklch(0.809 0.074 218.986);
--chart-3: oklch(0.809 0.074 218.986);
--chart-4: oklch(0.828 0.067 218.732);
--chart-5: oklch(0.758 0.092 37.647);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.09 0.006 41.253);
--foreground: oklch(0.992 0.001 37.735);
--muted: oklch(0.236 0.021 218.868);
--muted-foreground: oklch(0.715 0.019 217.935);
--popover: oklch(0.113 0.007 41.253);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.113 0.007 41.253);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.758 0.087 37.638);
--primary-foreground: oklch(0.224 0.045 37.699);
--secondary: oklch(0.809 0.074 218.986);
--secondary-foreground: oklch(0.248 0.035 220.855);
--accent: oklch(0.809 0.074 218.986);
--accent-foreground: oklch(0.248 0.035 220.855);
--destructive: oklch(0.632 0.205 35.843);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.758 0.087 37.638);
--chart-1: oklch(0.758 0.087 37.638);
--chart-2: oklch(0.809 0.074 218.986);
--chart-3: oklch(0.809 0.074 218.986);
--chart-4: oklch(0.828 0.067 218.732);
--chart-5: oklch(0.758 0.092 37.647);
}