Chayote Unicorn is a shadcn/ui theme built around a light green primary color (#c8e5c8) with muted light green accents (#c8dac8). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#c8e5c8) on a green-tinted background (#050a05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050a05black |
| Foreground | #020d02black | #ffffffwhite |
| Card | #ffffffwhite | #050a05black |
| Card foreground | #020d02black | #ffffffwhite |
| Popover | #ffffffwhite | #050a05black |
| Popover foreground | #020d02black | #ffffffwhite |
| Primary | #c8e5c8lightgrey | #c8e5c8lightgrey |
| Primary foreground | #275327darkslategray | #275327darkslategray |
| Secondary | #c8dac8lightgrey | #1c1c1cblack |
| Secondary foreground | #2d432ddarkslategray | #b4b6b4silver |
| Muted | #d8eed8gainsboro | #112711black |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #c8dac8lightgrey | #1c1c1cblack |
| Accent foreground | #2d432ddarkslategray | #b4b6b4silver |
| Destructive | #760c05maroon | #f62c1eorangered |
| Destructive foreground | #fcb6b1lightpink | #ffffffwhite |
| Border | #eceeecwhitesmoke | #1f231fblack |
| Input | #eceeecwhitesmoke | #1f231fblack |
| Ring | #c8e5c8lightgrey | #c8e5c8lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 6.57:1 | AA |
| Secondary button | 7.34:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 19.94:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 6.57:1 | AA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 6.91:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Chayote Unicorn in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.142 0.035 143.443);
--muted: oklch(0.927 0.037 145.267);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.142 0.035 143.443);
--card: oklch(1 0 180);
--card-foreground: oklch(0.142 0.035 143.443);
--border: oklch(0.948 0.004 145.542);
--input: oklch(0.948 0.004 145.542);
--primary: oklch(0.892 0.05 145.138);
--primary-foreground: oklch(0.4 0.087 143.745);
--secondary: oklch(0.87 0.032 145.296);
--secondary-foreground: oklch(0.358 0.047 144.507);
--accent: oklch(0.87 0.032 145.296);
--accent-foreground: oklch(0.358 0.047 144.507);
--destructive: oklch(0.361 0.138 29.91);
--destructive-foreground: oklch(0.839 0.082 23.569);
--ring: oklch(0.892 0.05 145.138);
--chart-1: oklch(0.892 0.05 145.138);
--chart-2: oklch(0.87 0.032 145.296);
--chart-3: oklch(0.87 0.032 145.296);
--chart-4: oklch(0.892 0.026 145.35);
--chart-5: oklch(0.894 0.055 145.101);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.015 144.681);
--foreground: oklch(1 0 180);
--muted: oklch(0.248 0.049 143.917);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.136 0.015 144.681);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.136 0.015 144.681);
--card-foreground: oklch(1 0 180);
--border: oklch(0.252 0.011 145.241);
--input: oklch(0.252 0.011 145.241);
--primary: oklch(0.892 0.05 145.138);
--primary-foreground: oklch(0.4 0.087 143.745);
--secondary: oklch(0.227 0.001 145.531);
--secondary-foreground: oklch(0.774 0.003 145.55);
--accent: oklch(0.227 0.001 145.531);
--accent-foreground: oklch(0.774 0.003 145.55);
--destructive: oklch(0.626 0.235 29.58);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.892 0.05 145.138);
--chart-1: oklch(0.892 0.05 145.138);
--chart-2: oklch(0.227 0.001 145.531);
--chart-3: oklch(0.227 0.001 145.531);
--chart-4: oklch(0.26 0.002 145.527);
--chart-5: oklch(0.894 0.055 145.101);
}