Pepperoni is a shadcn/ui theme built around a vivid yellow primary color (#feed72) with muted light yellow accents (#cfcec4). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the vivid yellow primary (#feed72) on a neutral background (#080702).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf8snow | #080702black |
| Foreground | #090802black | #fdfdfcwhite |
| Card | #fcfcf8snow | #080702black |
| Card foreground | #090802black | #fdfdfcwhite |
| Popover | #fcfcf8snow | #080702black |
| Popover foreground | #090802black | #fdfdfcwhite |
| Primary | #feed72khaki | #feed72khaki |
| Primary foreground | #3d3601darkolivegreen | #3d3601darkolivegreen |
| Secondary | #dededegainsboro | #212017black |
| Secondary foreground | #464544darkslategray | #c2bfa8silver |
| Muted | #e7e7e4gainsboro | #1b1b18black |
| Muted foreground | #484741darkslategray | #bebdb7silver |
| Accent | #cfcec4lightgrey | #3d3a24darkslategray |
| Accent foreground | #35342cdarkslategray | #d7d4bclightgrey |
| Destructive | #7f1c0bmaroon | #ec4122orangered |
| Destructive foreground | #facac2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #feed72khaki | #feed72khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 10.18:1 | AAA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 7.88:1 | AAA |
| Destructive | 6.89:1 | AA |
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 10.18:1 | AAA |
| Secondary button | 8.81:1 | AAA |
| Muted text | 9.17:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Pepperoni in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 100.415);
--foreground: oklch(0.131 0.02 104.255);
--muted: oklch(0.927 0.004 100.401);
--muted-foreground: oklch(0.399 0.01 100.705);
--popover: oklch(0.989 0.005 100.415);
--popover-foreground: oklch(0.131 0.02 104.255);
--card: oklch(0.989 0.005 100.415);
--card-foreground: oklch(0.131 0.02 104.255);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.936 0.145 101.853);
--primary-foreground: oklch(0.328 0.068 101.235);
--secondary: oklch(0.901 0.001 100.344);
--secondary-foreground: oklch(0.392 0.002 100.41);
--accent: oklch(0.848 0.013 100.562);
--accent-foreground: oklch(0.324 0.015 100.983);
--destructive: oklch(0.393 0.136 32.266);
--destructive-foreground: oklch(0.879 0.055 29.824);
--ring: oklch(0.936 0.145 101.853);
--chart-1: oklch(0.936 0.145 101.853);
--chart-2: oklch(0.901 0.001 100.344);
--chart-3: oklch(0.848 0.013 100.562);
--chart-4: oklch(0.924 0.001 100.34);
--chart-5: oklch(0.941 0.148 101.848);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.016 103.566);
--foreground: oklch(0.993 0.001 100.345);
--muted: oklch(0.221 0.006 100.735);
--muted-foreground: oklch(0.797 0.008 100.493);
--popover: oklch(0.128 0.016 103.566);
--popover-foreground: oklch(0.993 0.001 100.345);
--card: oklch(0.128 0.016 103.566);
--card-foreground: oklch(0.993 0.001 100.345);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.936 0.145 101.853);
--primary-foreground: oklch(0.328 0.068 101.235);
--secondary: oklch(0.241 0.016 101.257);
--secondary-foreground: oklch(0.802 0.032 100.915);
--accent: oklch(0.345 0.036 101.63);
--accent-foreground: oklch(0.866 0.033 100.888);
--destructive: oklch(0.625 0.212 32.324);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.936 0.145 101.853);
--chart-1: oklch(0.936 0.145 101.853);
--chart-2: oklch(0.241 0.016 101.257);
--chart-3: oklch(0.345 0.036 101.63);
--chart-4: oklch(0.277 0.02 101.309);
--chart-5: oklch(0.941 0.148 101.848);
}