P. \ Grizzly is a shadcn/ui theme built around a vivid orange primary color (#ff9029) with muted deep orange accents (#52382e). The light mode uses an orange-tinted background (#211612). Dark mode keeps the vivid orange primary (#ff9029) on an orange-tinted background (#211612).
| Token | Light | Dark |
|---|---|---|
| Background | #211612black | #211612black |
| Foreground | #f1bc93burlywood | #f1bc93burlywood |
| Card | #1a120fblack | #1a120fblack |
| Card foreground | #f4caa9wheat | #f4caa9wheat |
| Popover | #17100dblack | #17100dblack |
| Popover foreground | #f7d8c0peachpuff | #f7d8c0peachpuff |
| Primary | #ff9029darkorange | #ff9029darkorange |
| Primary foreground | #000000black | #000000black |
| Secondary | #533f2ddarkolivegreen | #533f2ddarkolivegreen |
| Secondary foreground | #e4d8cdgainsboro | #e4d8cdgainsboro |
| Muted | #2b2422darkslategray | #2b2422darkslategray |
| Muted foreground | #b0a19bdarkgray | #b0a19bdarkgray |
| Accent | #52382edarkolivegreen | #52382edarkolivegreen |
| Accent foreground | #e3d4celightgrey | #e3d4celightgrey |
| Destructive | #f83a20orangered | #f83a20orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2d231fblack | #2d231fblack |
| Input | #362a26darkslategray | #362a26darkslategray |
| Ring | #ff9029darkorange | #ff9029darkorange |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.37:1 | AAA |
| Text on card | 12.19:1 | AAA |
| Primary button | 9.29:1 | AAA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 6.09:1 | AA |
| Accent | 7.43:1 | AAA |
| Destructive | 3.74:1 | AA Large |
| Text on background | 10.37:1 | AAA |
| Text on card | 12.19:1 | AAA |
| Primary button | 9.29:1 | AAA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 6.09:1 | AA |
| Accent | 7.43:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use P. \ Grizzly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.214 0.018 42.576);
--foreground: oklch(0.832 0.082 58.731);
--muted: oklch(0.268 0.011 42.812);
--muted-foreground: oklch(0.721 0.02 42.902);
--popover: oklch(0.18 0.013 42.631);
--popover-foreground: oklch(0.901 0.047 59.542);
--card: oklch(0.191 0.015 42.61);
--card-foreground: oklch(0.866 0.065 59.184);
--border: oklch(0.267 0.017 42.693);
--input: oklch(0.298 0.02 42.677);
--primary: oklch(0.759 0.17 57.26);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.384 0.04 64.26);
--secondary-foreground: oklch(0.89 0.02 65.694);
--accent: oklch(0.367 0.041 42.466);
--accent-foreground: oklch(0.881 0.019 42.947);
--destructive: oklch(0.64 0.229 31.041);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.759 0.17 57.26);
--chart-1: oklch(0.759 0.17 57.26);
--chart-2: oklch(0.384 0.04 64.26);
--chart-3: oklch(0.367 0.041 42.466);
--chart-4: oklch(0.415 0.044 64.213);
--chart-5: oklch(0.763 0.174 56.773);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.214 0.018 42.576);
--foreground: oklch(0.832 0.082 58.731);
--muted: oklch(0.268 0.011 42.812);
--muted-foreground: oklch(0.721 0.02 42.902);
--popover: oklch(0.18 0.013 42.631);
--popover-foreground: oklch(0.901 0.047 59.542);
--card: oklch(0.191 0.015 42.61);
--card-foreground: oklch(0.866 0.065 59.184);
--border: oklch(0.267 0.017 42.693);
--input: oklch(0.298 0.02 42.677);
--primary: oklch(0.759 0.17 57.26);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.384 0.04 64.26);
--secondary-foreground: oklch(0.89 0.02 65.694);
--accent: oklch(0.367 0.041 42.466);
--accent-foreground: oklch(0.881 0.019 42.947);
--destructive: oklch(0.64 0.229 31.041);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.759 0.17 57.26);
--chart-1: oklch(0.759 0.17 57.26);
--chart-2: oklch(0.384 0.04 64.26);
--chart-3: oklch(0.367 0.041 42.466);
--chart-4: oklch(0.415 0.044 64.213);
--chart-5: oklch(0.763 0.174 56.773);
}