Wool is a shadcn/ui theme built around a deep green primary color (#08170f) with deep orange accents (#170f08). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#08170f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #05150cblack | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #05150cblack | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #05150cblack | #ffffffwhite |
| Primary | #08170fblack | #08170fblack |
| Primary foreground | #3caf70mediumseagreen | #3caf70mediumseagreen |
| Secondary | #0f0817black | #0f0817black |
| Secondary foreground | #a47ed3mediumpurple | #a47ed3mediumpurple |
| Muted | #d8d5ddgainsboro | #26222adarkslategray |
| Muted foreground | #424044darkslategray | #bdbbbfsilver |
| Accent | #170f08black | #170f08black |
| Accent foreground | #d3a47etan | #d3a47etan |
| Destructive | #b52408firebrick | #f6421eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #08170fblack | #08170fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.76:1 | AAA |
| Text on card | 18.76:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.10:1 | AA |
| Muted text | 7.05:1 | AAA |
| Accent | 8.48:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.10:1 | AA |
| Muted text | 8.19:1 | AAA |
| Accent | 8.48:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Wool in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.176 0.029 158.876);
--muted: oklch(0.877 0.012 306.252);
--muted-foreground: oklch(0.376 0.007 306.188);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.176 0.029 158.876);
--card: oklch(1 0 180);
--card-foreground: oklch(0.176 0.029 158.876);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.187 0.027 158.496);
--primary-foreground: oklch(0.673 0.14 155.32);
--secondary: oklch(0.152 0.033 303.76);
--secondary-foreground: oklch(0.663 0.128 303.83);
--accent: oklch(0.175 0.019 60.997);
--accent-foreground: oklch(0.753 0.076 60.576);
--destructive: oklch(0.503 0.184 32.344);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.187 0.027 158.496);
--chart-1: oklch(0.187 0.027 158.496);
--chart-2: oklch(0.152 0.033 303.76);
--chart-3: oklch(0.175 0.019 60.997);
--chart-4: oklch(0.18 0.046 302.829);
--chart-5: oklch(0.188 0.029 158.313);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.26 0.016 305.622);
--muted-foreground: oklch(0.794 0.006 306.334);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.187 0.027 158.496);
--primary-foreground: oklch(0.673 0.14 155.32);
--secondary: oklch(0.152 0.033 303.76);
--secondary-foreground: oklch(0.663 0.128 303.83);
--accent: oklch(0.175 0.019 60.997);
--accent-foreground: oklch(0.753 0.076 60.576);
--destructive: oklch(0.642 0.221 32.885);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.187 0.027 158.496);
--chart-1: oklch(0.187 0.027 158.496);
--chart-2: oklch(0.152 0.033 303.76);
--chart-3: oklch(0.175 0.019 60.997);
--chart-4: oklch(0.18 0.046 302.829);
--chart-5: oklch(0.188 0.029 158.313);
}