Lurid Lettuce Zebra is a shadcn/ui theme built around a vivid green primary color (#b8f41f) with muted light green accents (#d5dac8). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the vivid green primary (#b8f41f) on a green-tinted background (#0c0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf8snow | #0c0e06black |
| Foreground | #000000black | #fafbf9snow |
| Card | #fbfcf8snow | #0c0e06black |
| Card foreground | #000000black | #fafbf9snow |
| Popover | #fbfcf8snow | #0c0e06black |
| Popover foreground | #000000black | #fafbf9snow |
| Primary | #b8f41fgreenyellow | #b8f41fgreenyellow |
| Primary foreground | #324403darkgreen | #324403darkgreen |
| Secondary | #d5dac8lightgrey | #20231ablack |
| Secondary foreground | #3d432ddarkslategray | #bcc2aesilver |
| Muted | #e1e6d6gainsboro | #252919black |
| Muted foreground | #474747darkslategray | #b8b8b8silver |
| Accent | #d5dac8lightgrey | #20231ablack |
| Accent foreground | #3d432ddarkslategray | #bcc2aesilver |
| Destructive | #c13701firebrick | #fe6d34tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #ebecealinen | #272824darkslategray |
| Input | #ebecealinen | #272824darkslategray |
| Ring | #b8f41fgreenyellow | #b8f41fgreenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.37:1 | AAA |
| Text on card | 20.37:1 | AAA |
| Primary button | 8.17:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 7.19:1 | AAA |
| Destructive | 5.50:1 | AA |
| Text on background | 18.66:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 8.17:1 | AAA |
| Secondary button | 8.70:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 8.70:1 | AAA |
| Destructive | 7.46:1 | AAA |
Paste this into your globals.css to use Lurid Lettuce Zebra in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 119.404);
--foreground: oklch(0 0 0);
--muted: oklch(0.917 0.022 119.713);
--muted-foreground: oklch(0.399 0 180);
--popover: oklch(0.989 0.006 119.404);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.006 119.404);
--card-foreground: oklch(0 0 0);
--border: oklch(0.941 0.003 119.355);
--input: oklch(0.941 0.003 119.355);
--primary: oklch(0.895 0.222 125.959);
--primary-foreground: oklch(0.358 0.088 125.412);
--secondary: oklch(0.879 0.024 119.776);
--secondary-foreground: oklch(0.37 0.036 121.011);
--accent: oklch(0.879 0.024 119.776);
--accent-foreground: oklch(0.37 0.036 121.011);
--destructive: oklch(0.54 0.182 36.714);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.895 0.222 125.959);
--chart-1: oklch(0.895 0.222 125.959);
--chart-2: oklch(0.879 0.024 119.776);
--chart-3: oklch(0.879 0.024 119.776);
--chart-4: oklch(0.9 0.02 119.686);
--chart-5: oklch(0.903 0.226 126.151);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.16 0.019 120.573);
--foreground: oklch(0.987 0.003 119.352);
--muted: oklch(0.272 0.029 121.18);
--muted-foreground: oklch(0.781 0 180);
--popover: oklch(0.16 0.019 120.573);
--popover-foreground: oklch(0.987 0.003 119.352);
--card: oklch(0.16 0.019 120.573);
--card-foreground: oklch(0.987 0.003 119.352);
--border: oklch(0.275 0.007 119.746);
--input: oklch(0.275 0.007 119.746);
--primary: oklch(0.895 0.222 125.959);
--primary-foreground: oklch(0.358 0.088 125.412);
--secondary: oklch(0.25 0.016 120.419);
--secondary-foreground: oklch(0.803 0.028 119.909);
--accent: oklch(0.25 0.016 120.419);
--accent-foreground: oklch(0.803 0.028 119.909);
--destructive: oklch(0.706 0.19 40.325);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.895 0.222 125.959);
--chart-1: oklch(0.895 0.222 125.959);
--chart-2: oklch(0.25 0.016 120.419);
--chart-3: oklch(0.25 0.016 120.419);
--chart-4: oklch(0.285 0.019 120.489);
--chart-5: oklch(0.903 0.226 126.151);
}