Pepperoni is a shadcn/ui theme built around a muted deep yellow primary color (#211c12) with muted deep green accents (#1e2112). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep yellow primary (#211c12) on a yellow-tinted background (#0e0c06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0c06black |
| Foreground | #080602black | #ffffffwhite |
| Card | #fcfcfcsnow | #110f08black |
| Card foreground | #040301black | #ffffffwhite |
| Popover | #ffffffwhite | #0e0c06black |
| Popover foreground | #080602black | #ffffffwhite |
| Primary | #211c12black | #211c12black |
| Primary foreground | #c9bb9ctan | #c9bb9ctan |
| Secondary | #211512black | #211512black |
| Secondary foreground | #c9a59ctan | #c9a59ctan |
| Muted | #ede1deantiquewhite | #211512black |
| Muted foreground | #584641darkolivegreen | #beaca7darkgray |
| Accent | #1e2112black | #1e2112black |
| Accent foreground | #96a45bdarkkhaki | #96a45bdarkkhaki |
| Destructive | #d43211firebrick | #ee4b2btomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #211c12black | #211c12black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 8.90:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 6.93:1 | AA |
| Accent | 6.06:1 | AA |
| Destructive | 4.92:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 8.90:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 8.17:1 | AAA |
| Accent | 6.06:1 | AA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Pepperoni in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.015 93.234);
--muted: oklch(0.918 0.015 34.298);
--muted-foreground: oklch(0.411 0.027 34.376);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.015 93.234);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.099 0.012 93.234);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.23 0.02 87.454);
--primary-foreground: oklch(0.796 0.045 87.567);
--secondary: oklch(0.21 0.02 34.51);
--secondary-foreground: oklch(0.752 0.044 34.357);
--accent: oklch(0.239 0.027 117.682);
--accent-foreground: oklch(0.691 0.1 118.372);
--destructive: oklch(0.57 0.203 32.626);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.23 0.02 87.454);
--chart-1: oklch(0.23 0.02 87.454);
--chart-2: oklch(0.21 0.02 34.51);
--chart-3: oklch(0.239 0.027 117.682);
--chart-4: oklch(0.242 0.026 34.555);
--chart-5: oklch(0.232 0.022 87.395);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.012 89.054);
--foreground: oklch(1 0 180);
--muted: oklch(0.21 0.022 34.545);
--muted-foreground: oklch(0.758 0.022 34.301);
--popover: oklch(0.154 0.012 89.054);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.168 0.014 87.833);
--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.23 0.02 87.454);
--primary-foreground: oklch(0.796 0.045 87.567);
--secondary: oklch(0.21 0.02 34.51);
--secondary-foreground: oklch(0.752 0.044 34.357);
--accent: oklch(0.239 0.027 117.682);
--accent-foreground: oklch(0.691 0.1 118.372);
--destructive: oklch(0.639 0.204 33.158);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.23 0.02 87.454);
--chart-1: oklch(0.23 0.02 87.454);
--chart-2: oklch(0.21 0.02 34.51);
--chart-3: oklch(0.239 0.027 117.682);
--chart-4: oklch(0.242 0.026 34.555);
--chart-5: oklch(0.232 0.022 87.395);
}