Wannabe is a shadcn/ui theme built around a deep green primary color (#0d3c0b) with deep red accents (#3c0b0d). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the deep green primary (#0d3c0b) on a green-tinted background (#070e06).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #070e06black |
| Foreground | #041104black | #ffffffwhite |
| Card | #f8fcf8mintcream | #070e06black |
| Card foreground | #041104black | #ffffffwhite |
| Popover | #f8fcf8mintcream | #070e06black |
| Popover foreground | #041104black | #ffffffwhite |
| Primary | #0d3c0bdarkgreen | #0d3c0bdarkgreen |
| Primary foreground | #3fd93alimegreen | #3fd93alimegreen |
| Secondary | #0b0d3cmidnightblue | #0b0d3cmidnightblue |
| Secondary foreground | #9093eamediumpurple | #9093eamediumpurple |
| Muted | #d1d1e6gainsboro | #191a2eblack |
| Muted foreground | #3f3f4bdarkslategray | #b4b4c0silver |
| Accent | #3c0b0dblack | #3c0b0dblack |
| Accent foreground | #ea9093lightcoral | #ea9093lightcoral |
| Destructive | #b41d08firebrick | #f6523ctomato |
| Destructive foreground | #fef2f0seashell | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0d3c0bdarkgreen | #0d3c0bdarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.65:1 | AAA |
| Text on card | 18.65:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 6.63:1 | AA |
| Muted text | 6.91:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 6.63:1 | AA |
| Muted text | 8.34:1 | AAA |
| Accent | 7.14:1 | AAA |
| Destructive | 6.17:1 | AA |
Paste this into your globals.css to use Wannabe in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.007 144.57);
--foreground: oklch(0.158 0.035 142.743);
--muted: oklch(0.867 0.028 284.214);
--muted-foreground: oklch(0.372 0.02 283.797);
--popover: oklch(0.987 0.007 144.57);
--popover-foreground: oklch(0.158 0.035 142.743);
--card: oklch(0.987 0.007 144.57);
--card-foreground: oklch(0.158 0.035 142.743);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.313 0.091 142.587);
--primary-foreground: oklch(0.778 0.234 142.529);
--secondary: oklch(0.198 0.088 273.481);
--secondary-foreground: oklch(0.696 0.127 281.055);
--accent: oklch(0.241 0.076 23.176);
--accent-foreground: oklch(0.746 0.11 17.875);
--destructive: oklch(0.495 0.188 30.883);
--destructive-foreground: oklch(0.97 0.013 26.536);
--ring: oklch(0.313 0.091 142.587);
--chart-1: oklch(0.313 0.091 142.587);
--chart-2: oklch(0.198 0.088 273.481);
--chart-3: oklch(0.241 0.076 23.176);
--chart-4: oklch(0.22 0.103 272.64);
--chart-5: oklch(0.316 0.094 142.552);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.021 143.536);
--foreground: oklch(1 0 180);
--muted: oklch(0.227 0.04 281.21);
--muted-foreground: oklch(0.774 0.017 284.417);
--popover: oklch(0.153 0.021 143.536);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.153 0.021 143.536);
--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.313 0.091 142.587);
--primary-foreground: oklch(0.778 0.234 142.529);
--secondary: oklch(0.198 0.088 273.481);
--secondary-foreground: oklch(0.696 0.127 281.055);
--accent: oklch(0.241 0.076 23.176);
--accent-foreground: oklch(0.746 0.11 17.875);
--destructive: oklch(0.661 0.204 30.648);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.313 0.091 142.587);
--chart-1: oklch(0.313 0.091 142.587);
--chart-2: oklch(0.198 0.088 273.481);
--chart-3: oklch(0.241 0.076 23.176);
--chart-4: oklch(0.22 0.103 272.64);
--chart-5: oklch(0.316 0.094 142.552);
}