Zucchini is a shadcn/ui theme built around a vivid deep teal primary color (#064c3a) with muted light teal accents (#cddfdb). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the vivid deep teal primary (#064c3a) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #030706black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f7fdfbmintcream | #030706black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fdfbmintcream | #030706black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #064c3adarkslategray | #064c3adarkslategray |
| Primary foreground | #2eefbfturquoise | #2eefbfturquoise |
| Secondary | #e7eeeclavender | #121615black |
| Secondary foreground | #1a2321black | #a5b6b1darkgray |
| Muted | #d9e8e4gainsboro | #172622black |
| Muted foreground | #535f5cdimgray | #a0aca9darkgray |
| Accent | #cddfdbgainsboro | #1b2724black |
| Accent foreground | #304b44darkslategray | #adc7c1silver |
| Destructive | #6d1c08maroon | #f05933tomato |
| Destructive foreground | #f9bdaelightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #064c3adarkslategray | #064c3adarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.36:1 | AAA |
| Text on card | 20.36:1 | AAA |
| Primary button | 6.76:1 | AA |
| Secondary button | 13.65:1 | AAA |
| Muted text | 5.25:1 | AA |
| Accent | 6.85:1 | AA |
| Destructive | 7.07:1 | AAA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 6.76:1 | AA |
| Secondary button | 8.58:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 8.56:1 | AAA |
| Destructive | 6.16:1 | AA |
Paste this into your globals.css to use Zucchini in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 179.687);
--foreground: oklch(0 0 0);
--muted: oklch(0.919 0.017 179.329);
--muted-foreground: oklch(0.476 0.016 178.86);
--popover: oklch(0.989 0.006 179.687);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.006 179.687);
--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.371 0.071 170.104);
--primary-foreground: oklch(0.852 0.16 170.397);
--secondary: oklch(0.943 0.007 179.645);
--secondary-foreground: oklch(0.248 0.015 178.061);
--accent: oklch(0.889 0.02 179.208);
--accent-foreground: oklch(0.388 0.035 176.959);
--destructive: oklch(0.359 0.117 34.513);
--destructive-foreground: oklch(0.849 0.072 34.455);
--ring: oklch(0.371 0.071 170.104);
--chart-1: oklch(0.371 0.071 170.104);
--chart-2: oklch(0.943 0.007 179.645);
--chart-3: oklch(0.889 0.02 179.208);
--chart-4: oklch(0.965 0.005 179.732);
--chart-5: oklch(0.375 0.072 169.824);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.011 179.904);
--foreground: oklch(1 0 180);
--muted: oklch(0.254 0.022 177.078);
--muted-foreground: oklch(0.734 0.015 179.284);
--popover: oklch(0.123 0.011 179.904);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.011 179.904);
--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.371 0.071 170.104);
--primary-foreground: oklch(0.852 0.16 170.397);
--secondary: oklch(0.197 0.007 178.88);
--secondary-foreground: oklch(0.761 0.019 179.139);
--accent: oklch(0.262 0.018 177.68);
--accent-foreground: oklch(0.809 0.03 178.78);
--destructive: oklch(0.658 0.193 35.031);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.371 0.071 170.104);
--chart-1: oklch(0.371 0.071 170.104);
--chart-2: oklch(0.197 0.007 178.88);
--chart-3: oklch(0.262 0.018 177.68);
--chart-4: oklch(0.232 0.009 178.759);
--chart-5: oklch(0.375 0.072 169.824);
}