Pepperoni for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.46:1AAA
Text on card19.46:1AAA
Primary button10.18:1AAA
Secondary button7.11:1AAA
Muted text7.51:1AAA
Accent7.88:1AAA
Destructive6.89:1AA
Dark mode
Text on background19.79:1AAA
Text on card19.79:1AAA
Primary button10.18:1AAA
Secondary button8.81:1AAA
Muted text9.17:1AAA
Accent7.66:1AAA
Destructive3.93:1AA Large

CSS variables

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);
}