Wood is a shadcn/ui theme built around a near-white primary color (#f7fdfb) with near-white accents (#fdfbf7). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the near-white primary (#f7fdfb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #000000black |
| Foreground | #000000black | #f4faf9mintcream |
| Card | #f3fcfamintcream | #030303black |
| Card foreground | #000000black | #f8fcfbmintcream |
| Popover | #f3fcfamintcream | #030303black |
| Popover foreground | #000000black | #f8fcfbmintcream |
| Primary | #f7fdfbmintcream | #f7fdfbmintcream |
| Primary foreground | #114b3cdarkslategray | #114b3cdarkslategray |
| Secondary | #fbf7fdghostwhite | #fbf7fdghostwhite |
| Secondary foreground | #7e239frebeccapurple | #7e239frebeccapurple |
| Muted | #dcd3dfgainsboro | #29202cdarkslategray |
| Muted foreground | #5c5b5ddimgray | #a4a2a4darkgray |
| Accent | #fdfbf7snow | #fdfbf7snow |
| Accent foreground | #4b3c11darkolivegreen | #4b3c11darkolivegreen |
| Destructive | #ca2d12firebrick | #eb3514orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f7fdfbmintcream | #f7fdfbmintcream |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.40:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 9.74:1 | AAA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 4.62:1 | AA |
| Accent | 10.42:1 | AAA |
| Destructive | 5.39:1 | AA |
| Text on background | 19.88:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 9.74:1 | AAA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 10.42:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Wood in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.007 178.575);
--foreground: oklch(0 0 0);
--muted: oklch(0.876 0.019 317.139);
--muted-foreground: oklch(0.473 0.003 317.173);
--popover: oklch(0.984 0.011 178.469);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.011 178.469);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.989 0.007 178.572);
--primary-foreground: oklch(0.372 0.065 170.932);
--secondary: oklch(0.981 0.01 317.166);
--secondary-foreground: oklch(0.458 0.193 314.969);
--accent: oklch(0.989 0.007 90.171);
--accent-foreground: oklch(0.362 0.063 88.458);
--destructive: oklch(0.548 0.196 32.089);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.989 0.007 178.572);
--chart-1: oklch(0.989 0.007 178.572);
--chart-2: oklch(0.981 0.01 317.166);
--chart-3: oklch(0.989 0.007 90.171);
--chart-4: oklch(1.01 0.005 137.201);
--chart-5: oklch(0.989 0.008 178.562);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.981 0.006 178.593);
--muted: oklch(0.26 0.026 316.959);
--muted-foreground: oklch(0.715 0.003 317.18);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.987 0.004 178.658);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.987 0.004 178.658);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.989 0.007 178.572);
--primary-foreground: oklch(0.372 0.065 170.932);
--secondary: oklch(0.981 0.01 317.166);
--secondary-foreground: oklch(0.458 0.193 314.969);
--accent: oklch(0.989 0.007 90.171);
--accent-foreground: oklch(0.362 0.063 88.458);
--destructive: oklch(0.612 0.221 32.032);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.989 0.007 178.572);
--chart-1: oklch(0.989 0.007 178.572);
--chart-2: oklch(0.981 0.01 317.166);
--chart-3: oklch(0.989 0.007 90.171);
--chart-4: oklch(1.01 0.005 137.201);
--chart-5: oklch(0.989 0.008 178.562);
}