Wolf is a shadcn/ui theme built around a deep green primary color (#07270b) with deep purple accents (#270723). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#07270b) on a neutral background (#030803).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030803black |
| Foreground | #031705black | #ffffffwhite |
| Card | #ffffffwhite | #030803black |
| Card foreground | #031705black | #ffffffwhite |
| Popover | #ffffffwhite | #030803black |
| Popover foreground | #031705black | #ffffffwhite |
| Primary | #07270bblack | #07270bblack |
| Primary foreground | #25d43alimegreen | #25d43alimegreen |
| Secondary | #270723black | #270723black |
| Secondary foreground | #e779daorchid | #e779daorchid |
| Muted | #f6eff5whitesmoke | #10090fblack |
| Muted foreground | #564e55dimgray | #b1a9b1darkgray |
| Accent | #270723black | #270723black |
| Accent foreground | #e779daorchid | #e779daorchid |
| Destructive | #bf1f0dfirebrick | #ef341forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #07270bblack | #07270bblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.60:1 | AAA |
| Text on card | 18.60:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 7.08:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 6.15:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 7.13:1 | AAA |
| Muted text | 8.57:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Wolf in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.18 0.046 146.487);
--muted: oklch(0.959 0.011 329.265);
--muted-foreground: oklch(0.433 0.016 329.549);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.18 0.046 146.487);
--card: oklch(1 0 180);
--card-foreground: oklch(0.18 0.046 146.487);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.241 0.063 145.349);
--primary-foreground: oklch(0.76 0.235 144.003);
--secondary: oklch(0.201 0.069 332.74);
--secondary-foreground: oklch(0.732 0.18 331.742);
--accent: oklch(0.201 0.069 332.74);
--accent-foreground: oklch(0.732 0.18 331.742);
--destructive: oklch(0.517 0.195 30.503);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.241 0.063 145.349);
--chart-1: oklch(0.241 0.063 145.349);
--chart-2: oklch(0.201 0.069 332.74);
--chart-3: oklch(0.201 0.069 332.74);
--chart-4: oklch(0.236 0.085 333.035);
--chart-5: oklch(0.243 0.065 145.277);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.019 148.088);
--foreground: oklch(1 0 180);
--muted: oklch(0.154 0.017 330.356);
--muted-foreground: oklch(0.745 0.014 329.346);
--popover: oklch(0.121 0.019 148.088);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.019 148.088);
--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.241 0.063 145.349);
--primary-foreground: oklch(0.76 0.235 144.003);
--secondary: oklch(0.201 0.069 332.74);
--secondary-foreground: oklch(0.732 0.18 331.742);
--accent: oklch(0.201 0.069 332.74);
--accent-foreground: oklch(0.732 0.18 331.742);
--destructive: oklch(0.62 0.225 30.496);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.241 0.063 145.349);
--chart-1: oklch(0.241 0.063 145.349);
--chart-2: oklch(0.201 0.069 332.74);
--chart-3: oklch(0.201 0.069 332.74);
--chart-4: oklch(0.236 0.085 333.035);
--chart-5: oklch(0.243 0.065 145.277);
}