Gazelle is a shadcn/ui theme built around a muted green primary color (#b5d1ad) with neutral gray accents (#dbdbdb). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the muted green primary (#b5d1ad) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #020401black |
| Foreground | #050d03black | #fafbf9snow |
| Card | #f4fcf3honeydew | #040703black |
| Card foreground | #030802black | #fcfdfcwhite |
| Popover | #f4fcf3honeydew | #040703black |
| Popover foreground | #030802black | #fcfdfcwhite |
| Primary | #b5d1adsilver | #b5d1adsilver |
| Primary foreground | #20311cdarkslategray | #20311cdarkslategray |
| Secondary | #dbdbdbgainsboro | #1d221bblack |
| Secondary foreground | #424242darkslategray | #b3bfb0silver |
| Muted | #e7d5d5gainsboro | #1c2a18black |
| Muted foreground | #4d4c4cdarkslategray | #b2b3b2darkgray |
| Accent | #dbdbdbgainsboro | #1d221bblack |
| Accent foreground | #424242darkslategray | #b3bfb0silver |
| Destructive | #7e0301maroon | #fd2521crimson |
| Destructive foreground | #feb5b3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b5d1adsilver | #b5d1adsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.14:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 8.36:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 6.05:1 | AA |
| Accent | 7.27:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 8.36:1 | AAA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 7.15:1 | AAA |
| Accent | 8.48:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Gazelle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.01 139.442);
--foreground: oklch(0.144 0.03 137.538);
--muted: oklch(0.887 0.02 17.533);
--muted-foreground: oklch(0.417 0.002 17.238);
--popover: oklch(0.983 0.015 139.44);
--popover-foreground: oklch(0.125 0.026 137.42);
--card: oklch(0.983 0.015 139.44);
--card-foreground: oklch(0.125 0.026 137.42);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.83 0.058 139.432);
--primary-foreground: oklch(0.291 0.044 139.474);
--secondary: oklch(0.892 0 180);
--secondary-foreground: oklch(0.38 0 180);
--accent: oklch(0.892 0 180);
--accent-foreground: oklch(0.38 0 180);
--destructive: oklch(0.375 0.151 29.387);
--destructive-foreground: oklch(0.84 0.086 20.138);
--ring: oklch(0.83 0.058 139.432);
--chart-1: oklch(0.83 0.058 139.432);
--chart-2: oklch(0.892 0 180);
--chart-3: oklch(0.892 0 180);
--chart-4: oklch(0.916 0 180);
--chart-5: oklch(0.833 0.064 139.433);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.013 138.144);
--foreground: oklch(0.986 0.002 139.444);
--muted: oklch(0.267 0.038 139.464);
--muted-foreground: oklch(0.766 0.003 139.443);
--popover: oklch(0.122 0.017 138.144);
--popover-foreground: oklch(0.993 0.001 139.444);
--card: oklch(0.122 0.017 138.144);
--card-foreground: oklch(0.993 0.001 139.444);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.83 0.058 139.432);
--primary-foreground: oklch(0.291 0.044 139.474);
--secondary: oklch(0.244 0.015 139.433);
--secondary-foreground: oklch(0.792 0.026 139.436);
--accent: oklch(0.244 0.015 139.433);
--accent-foreground: oklch(0.792 0.026 139.436);
--destructive: oklch(0.635 0.244 28.389);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.83 0.058 139.432);
--chart-1: oklch(0.83 0.058 139.432);
--chart-2: oklch(0.244 0.015 139.433);
--chart-3: oklch(0.244 0.015 139.433);
--chart-4: oklch(0.277 0.018 139.432);
--chart-5: oklch(0.833 0.064 139.433);
}