Wolf is a shadcn/ui theme built around a vivid green primary color (#2afd17) with vivid green accents (#17fd77). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the vivid green primary (#2afd17) on a green-tinted background (#060a05).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #060a05black |
| Foreground | #030d02black | #f6f8f6whitesmoke |
| Card | #f5faf4whitesmoke | #070d07black |
| Card foreground | #020902black | #f9fbf9mintcream |
| Popover | #f8fcf8mintcream | #060a05black |
| Popover foreground | #030d02black | #f6f8f6whitesmoke |
| Primary | #2afd17lime | #2afd17lime |
| Primary foreground | #074701darkgreen | #074701darkgreen |
| Secondary | #9dfd17greenyellow | #9dfd17greenyellow |
| Secondary foreground | #2a4701darkgreen | #2a4701darkgreen |
| Muted | #f3f5efwhitesmoke | #0d100ablack |
| Muted foreground | #697557dimgray | #9ca88adarkseagreen |
| Accent | #17fd77springgreen | #17fd77springgreen |
| Accent foreground | #01471edarkgreen | #01471edarkgreen |
| Destructive | #c61b15firebrick | #e7241dcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2afd17lime | #2afd17lime |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.07:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 4.46:1 | AA Large |
| Accent | 7.96:1 | AAA |
| Destructive | 5.86:1 | AA |
| Text on background | 18.67:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.49:1 | AA Large |
Paste this into your globals.css to use Wolf in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 143.105);
--foreground: oklch(0.143 0.033 141.055);
--muted: oklch(0.967 0.008 125.157);
--muted-foreground: oklch(0.544 0.048 126.33);
--popover: oklch(0.987 0.006 143.105);
--popover-foreground: oklch(0.143 0.033 141.055);
--card: oklch(0.98 0.009 143.089);
--card-foreground: oklch(0.124 0.028 141.012);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.863 0.286 142.109);
--primary-foreground: oklch(0.345 0.114 141.677);
--secondary: oklch(0.898 0.245 132.007);
--secondary-foreground: oklch(0.36 0.098 131.223);
--accent: oklch(0.869 0.238 149.638);
--accent-foreground: oklch(0.347 0.094 150.656);
--destructive: oklch(0.53 0.204 28.85);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.863 0.286 142.109);
--chart-1: oklch(0.863 0.286 142.109);
--chart-2: oklch(0.898 0.245 132.007);
--chart-3: oklch(0.869 0.238 149.638);
--chart-4: oklch(0.902 0.239 131.259);
--chart-5: oklch(0.872 0.29 142.139);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.015 142.161);
--foreground: oklch(0.978 0.004 143.117);
--muted: oklch(0.166 0.012 126.082);
--muted-foreground: oklch(0.714 0.045 125.951);
--popover: oklch(0.137 0.015 142.161);
--popover-foreground: oklch(0.978 0.004 143.117);
--card: oklch(0.152 0.017 142.256);
--card-foreground: oklch(0.986 0.002 143.123);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.863 0.286 142.109);
--primary-foreground: oklch(0.345 0.114 141.677);
--secondary: oklch(0.898 0.245 132.007);
--secondary-foreground: oklch(0.36 0.098 131.223);
--accent: oklch(0.869 0.238 149.638);
--accent-foreground: oklch(0.347 0.094 150.656);
--destructive: oklch(0.596 0.227 28.745);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.863 0.286 142.109);
--chart-1: oklch(0.863 0.286 142.109);
--chart-2: oklch(0.898 0.245 132.007);
--chart-3: oklch(0.869 0.238 149.638);
--chart-4: oklch(0.902 0.239 131.259);
--chart-5: oklch(0.872 0.29 142.139);
}