P. \ Wolf is a shadcn/ui theme built around a vivid orange primary color (#f0560f) with neutral gray accents (#4c4543). The light mode uses a neutral background (#23201f). Dark mode keeps the vivid orange primary (#f0560f) on a neutral background (#23201f).
| Token | Light | Dark |
|---|---|---|
| Background | #23201fblack | #23201fblack |
| Foreground | #dcbd9etan | #dcbd9etan |
| Card | #1e1b1ablack | #1e1b1ablack |
| Card foreground | #e3c9b0wheat | #e3c9b0wheat |
| Popover | #1b1918black | #1b1918black |
| Popover foreground | #e9d6c3wheat | #e9d6c3wheat |
| Primary | #f0560forangered | #f0560forangered |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d2b8acsilver | #d2b8acsilver |
| Secondary foreground | #32221bblack | #32221bblack |
| Muted | #312926darkslategray | #312926darkslategray |
| Muted foreground | #b5a6a1darkgray | #b5a6a1darkgray |
| Accent | #4c4543darkslategray | #4c4543darkslategray |
| Accent foreground | #e2dfdfgainsboro | #e2dfdfgainsboro |
| Destructive | #ed1202red | #ed1202red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2e2e2edarkslategray | #2e2e2edarkslategray |
| Input | #363636darkslategray | #363636darkslategray |
| Ring | #f0560forangered | #f0560forangered |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.08:1 | AAA |
| Text on card | 10.78:1 | AAA |
| Primary button | 3.47:1 | AA Large |
| Secondary button | 8.13:1 | AAA |
| Muted text | 6.07:1 | AA |
| Accent | 7.06:1 | AAA |
| Destructive | 4.46:1 | AA Large |
| Text on background | 9.08:1 | AAA |
| Text on card | 10.78:1 | AAA |
| Primary button | 3.47:1 | AA Large |
| Secondary button | 8.13:1 | AAA |
| Muted text | 6.07:1 | AA |
| Accent | 7.06:1 | AAA |
| Destructive | 4.46:1 | AA Large |
Paste this into your globals.css to use P. \ Wolf in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.247 0.005 39.392);
--foreground: oklch(0.816 0.055 66.923);
--muted: oklch(0.288 0.013 39.302);
--muted-foreground: oklch(0.736 0.019 39.365);
--popover: oklch(0.215 0.004 39.401);
--popover-foreground: oklch(0.887 0.033 67.374);
--card: oklch(0.226 0.004 39.397);
--card-foreground: oklch(0.852 0.044 67.173);
--border: oklch(0.301 0 189.462);
--input: oklch(0.331 0 180);
--primary: oklch(0.653 0.201 39.727);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.802 0.035 46.42);
--secondary-foreground: oklch(0.269 0.028 45.917);
--accent: oklch(0.397 0.009 39.375);
--accent-foreground: oklch(0.907 0.003 39.484);
--destructive: oklch(0.599 0.24 29.797);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.653 0.201 39.727);
--chart-1: oklch(0.653 0.201 39.727);
--chart-2: oklch(0.802 0.035 46.42);
--chart-3: oklch(0.397 0.009 39.375);
--chart-4: oklch(0.826 0.03 46.48);
--chart-5: oklch(0.658 0.206 39.218);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.247 0.005 39.392);
--foreground: oklch(0.816 0.055 66.923);
--muted: oklch(0.288 0.013 39.302);
--muted-foreground: oklch(0.736 0.019 39.365);
--popover: oklch(0.215 0.004 39.401);
--popover-foreground: oklch(0.887 0.033 67.374);
--card: oklch(0.226 0.004 39.397);
--card-foreground: oklch(0.852 0.044 67.173);
--border: oklch(0.301 0 189.462);
--input: oklch(0.331 0 180);
--primary: oklch(0.653 0.201 39.727);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.802 0.035 46.42);
--secondary-foreground: oklch(0.269 0.028 45.917);
--accent: oklch(0.397 0.009 39.375);
--accent-foreground: oklch(0.907 0.003 39.484);
--destructive: oklch(0.599 0.24 29.797);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.653 0.201 39.727);
--chart-1: oklch(0.653 0.201 39.727);
--chart-2: oklch(0.802 0.035 46.42);
--chart-3: oklch(0.397 0.009 39.375);
--chart-4: oklch(0.826 0.03 46.48);
--chart-5: oklch(0.658 0.206 39.218);
}