Leafy Lush Whale is a shadcn/ui theme built around a deep green primary color (#126d17) with deep purple accents (#6d1268). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the deep green primary (#126d17) on a neutral background (#030703).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #030703black |
| Foreground | #021203black | #ffffffwhite |
| Card | #f4fbf4whitesmoke | #040b05black |
| Card foreground | #020e02black | #ffffffwhite |
| Popover | #f4fbf4whitesmoke | #040b05black |
| Popover foreground | #020e02black | #ffffffwhite |
| Primary | #126d17darkgreen | #126d17darkgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #6d1268purple | #6d1268purple |
| Secondary foreground | #f4bef1thistle | #f4bef1thistle |
| Muted | #f3f1f3whitesmoke | #0e0c0eblack |
| Muted foreground | #4d424ddarkslategray | #bdb2bdsilver |
| Accent | #6d1268purple | #6d1268purple |
| Accent foreground | #f4bef1thistle | #f4bef1thistle |
| Destructive | #70220amaroon | #d74114chocolate |
| Destructive foreground | #f8c4b4lightpink | #ffffffwhite |
| Border | #e6eae6gainsboro | #1e241eblack |
| Input | #e6eae6gainsboro | #1e241eblack |
| Ring | #126d17darkgreen | #126d17darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.60:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 6.50:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 8.50:1 | AAA |
| Accent | 6.94:1 | AA |
| Destructive | 7.04:1 | AAA |
| Text on background | 20.25:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 6.50:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 9.54:1 | AAA |
| Accent | 6.94:1 | AA |
| Destructive | 4.51:1 | AA |
Paste this into your globals.css to use Leafy Lush Whale in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.008 146.965);
--foreground: oklch(0.162 0.042 144.755);
--muted: oklch(0.961 0.003 327.071);
--muted-foreground: oklch(0.394 0.023 327.574);
--popover: oklch(0.981 0.012 146.927);
--popover-foreground: oklch(0.143 0.037 144.941);
--card: oklch(0.981 0.012 146.927);
--card-foreground: oklch(0.143 0.037 144.941);
--border: oklch(0.933 0.007 146.97);
--input: oklch(0.933 0.007 146.97);
--primary: oklch(0.467 0.144 143.327);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.382 0.156 330.419);
--secondary-foreground: oklch(0.865 0.091 327.966);
--accent: oklch(0.382 0.156 330.419);
--accent-foreground: oklch(0.865 0.091 327.966);
--destructive: oklch(0.371 0.115 36.386);
--destructive-foreground: oklch(0.863 0.064 37.594);
--ring: oklch(0.467 0.144 143.327);
--chart-1: oklch(0.467 0.144 143.327);
--chart-2: oklch(0.382 0.156 330.419);
--chart-3: oklch(0.382 0.156 330.419);
--chart-4: oklch(0.413 0.17 330.454);
--chart-5: oklch(0.472 0.148 143.244);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.017 145.953);
--foreground: oklch(1 0 180);
--muted: oklch(0.156 0.005 327.346);
--muted-foreground: oklch(0.776 0.02 327.272);
--popover: oklch(0.138 0.02 145.947);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.02 145.947);
--card-foreground: oklch(1 0 180);
--border: oklch(0.253 0.014 146.523);
--input: oklch(0.253 0.014 146.523);
--primary: oklch(0.467 0.144 143.327);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.382 0.156 330.419);
--secondary-foreground: oklch(0.865 0.091 327.966);
--accent: oklch(0.382 0.156 330.419);
--accent-foreground: oklch(0.865 0.091 327.966);
--destructive: oklch(0.589 0.193 35.7);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.467 0.144 143.327);
--chart-1: oklch(0.467 0.144 143.327);
--chart-2: oklch(0.382 0.156 330.419);
--chart-3: oklch(0.382 0.156 330.419);
--chart-4: oklch(0.413 0.17 330.454);
--chart-5: oklch(0.472 0.148 143.244);
}