Wineberry Cuckoo is a shadcn/ui theme built around a deep purple primary color (#5e3262) with muted light purple accents (#d4bdd6). The light mode uses a neutral background (#fcf7fd). Dark mode keeps the deep purple primary (#5e3262) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fdghostwhite | #000000black |
| Foreground | #000000black | #fcf8fcsnow |
| Card | #fcf7fdghostwhite | #000000black |
| Card foreground | #000000black | #fcf8fcsnow |
| Popover | #fcf7fdghostwhite | #000000black |
| Popover foreground | #000000black | #fcf8fcsnow |
| Primary | #5e3262darkslateblue | #5e3262darkslateblue |
| Primary foreground | #eadaeclavender | #eadaeclavender |
| Secondary | #e5dbe6gainsboro | #221a23black |
| Secondary foreground | #523b54darkslategray | #c1adc2silver |
| Muted | #e8dde9gainsboro | #211622black |
| Muted foreground | #564158darkslategray | #bca7besilver |
| Accent | #d4bdd6thistle | #342136darkslategray |
| Accent foreground | #3a253cdarkslategray | #d0b6d2thistle |
| Destructive | #a2290bfirebrick | #ea3c10orangered |
| Destructive foreground | #fde8e2mistyrose | #ffffffwhite |
| Border | #ebeaeblavender | #222022black |
| Input | #ebeaeblavender | #222022black |
| Ring | #5e3262darkslateblue | #5e3262darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 7.46:1 | AAA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 6.95:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 7.46:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 7.81:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use Wineberry Cuckoo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 323.177);
--foreground: oklch(0 0 0);
--muted: oklch(0.91 0.02 323.233);
--muted-foreground: oklch(0.407 0.046 323.631);
--popover: oklch(0.982 0.009 323.177);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.009 323.177);
--card-foreground: oklch(0 0 0);
--border: oklch(0.938 0.002 323.144);
--input: oklch(0.938 0.002 323.144);
--primary: oklch(0.393 0.093 324.07);
--primary-foreground: oklch(0.907 0.03 323.285);
--secondary: oklch(0.902 0.018 323.228);
--secondary-foreground: oklch(0.387 0.052 323.716);
--accent: oklch(0.825 0.044 323.374);
--accent-foreground: oklch(0.3 0.05 323.836);
--destructive: oklch(0.472 0.161 34.043);
--destructive-foreground: oklch(0.946 0.024 34.298);
--ring: oklch(0.393 0.093 324.07);
--chart-1: oklch(0.393 0.093 324.07);
--chart-2: oklch(0.902 0.018 323.228);
--chart-3: oklch(0.825 0.044 323.374);
--chart-4: oklch(0.927 0.014 323.202);
--chart-5: oklch(0.393 0.101 324.127);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.006 323.164);
--muted: oklch(0.22 0.028 323.679);
--muted-foreground: oklch(0.754 0.04 323.374);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.006 323.164);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.006 323.164);
--border: oklch(0.247 0.005 323.22);
--input: oklch(0.247 0.005 323.22);
--primary: oklch(0.393 0.093 324.07);
--primary-foreground: oklch(0.907 0.03 323.285);
--secondary: oklch(0.232 0.021 323.542);
--secondary-foreground: oklch(0.771 0.037 323.353);
--accent: oklch(0.28 0.046 323.821);
--accent-foreground: oklch(0.808 0.048 323.403);
--destructive: oklch(0.616 0.216 33.735);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.393 0.093 324.07);
--chart-1: oklch(0.393 0.093 324.07);
--chart-2: oklch(0.232 0.021 323.542);
--chart-3: oklch(0.28 0.046 323.821);
--chart-4: oklch(0.263 0.026 323.568);
--chart-5: oklch(0.393 0.101 324.127);
}