Cuckoo is a shadcn/ui theme built around a deep teal primary color (#14804e) with muted teal accents (#b2cdc0). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#14804e) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010403black |
| Foreground | #020d08black | #ffffffwhite |
| Card | #ffffffwhite | #010403black |
| Card foreground | #020d08black | #ffffffwhite |
| Popover | #ffffffwhite | #010403black |
| Popover foreground | #020d08black | #ffffffwhite |
| Primary | #14804eseagreen | #14804eseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d3ded9gainsboro | #131614black |
| Secondary foreground | #374940darkslategray | #a9b2aedarkgray |
| Muted | #e8eeeblavender | #111715black |
| Muted foreground | #40544bdarkslategray | #abbfb6silver |
| Accent | #b2cdc0silver | #212b27darkslategray |
| Accent foreground | #1e2e27darkslategray | #b7c8c0silver |
| Destructive | #a54612saddlebrown | #e76a27chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #14804eseagreen | #14804eseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 4.97:1 | AA |
| Secondary button | 6.96:1 | AA |
| Muted text | 6.87:1 | AA |
| Accent | 8.37:1 | AAA |
| Destructive | 6.02:1 | AA |
| Text on background | 20.58:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 4.97:1 | AA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 9.35:1 | AAA |
| Accent | 8.34:1 | AAA |
| Destructive | 6.50:1 | AA |
Paste this into your globals.css to use Cuckoo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.024 166.311);
--muted: oklch(0.943 0.008 166.688);
--muted-foreground: oklch(0.425 0.028 164.965);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.146 0.024 166.311);
--card: oklch(1 0 180);
--card-foreground: oklch(0.146 0.024 166.311);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.53 0.121 156.421);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.891 0.013 166.495);
--secondary-foreground: oklch(0.386 0.027 164.868);
--accent: oklch(0.824 0.034 165.748);
--accent-foreground: oklch(0.285 0.026 164.176);
--destructive: oklch(0.513 0.139 43.996);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.53 0.121 156.421);
--chart-1: oklch(0.53 0.121 156.421);
--chart-2: oklch(0.891 0.013 166.495);
--chart-3: oklch(0.824 0.034 165.748);
--chart-4: oklch(0.913 0.011 166.588);
--chart-5: oklch(0.536 0.125 156.041);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.013 167.113);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.011 165.327);
--muted-foreground: oklch(0.786 0.025 166.031);
--popover: oklch(0.098 0.013 167.113);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.098 0.013 167.113);
--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.53 0.121 156.421);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.195 0.004 166.275);
--secondary-foreground: oklch(0.755 0.013 166.443);
--accent: oklch(0.279 0.016 165.216);
--accent-foreground: oklch(0.816 0.021 166.19);
--destructive: oklch(0.667 0.172 44.927);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.53 0.121 156.421);
--chart-1: oklch(0.53 0.121 156.421);
--chart-2: oklch(0.195 0.004 166.275);
--chart-3: oklch(0.279 0.016 165.216);
--chart-4: oklch(0.23 0.006 166.196);
--chart-5: oklch(0.536 0.125 156.041);
}