Peppery for shadcn/ui

Peppery is a shadcn/ui theme built around a muted light teal primary color (#d1e5e4) with muted light blue accents (#d1dce5). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the muted light teal primary (#d1e5e4) on a teal-tinted background (#070d0d).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#070d0dblack
Foreground
#030d0cblack
#f7f8f8whitesmoke
Card
#fcfdfdwhite
#070d0dblack
Card foreground
#030d0cblack
#f7f8f8whitesmoke
Popover
#fcfdfdwhite
#070d0dblack
Popover foreground
#030d0cblack
#f7f8f8whitesmoke
Primary
#d1e5e4gainsboro
#d1e5e4gainsboro
Primary foreground
#305553darkslategray
#305553darkslategray
Secondary
#d1e5dagainsboro
#d1e5dagainsboro
Secondary foreground
#305540darkslategray
#305540darkslategray
Muted
#d1e6dagainsboro
#192e23darkslategray
Muted foreground
#49504cdarkslategray
#afb6b2darkgray
Accent
#d1dce5gainsboro
#d1dce5gainsboro
Accent foreground
#304455darkslategray
#304455darkslategray
Destructive
#871b08darkred
#f3492btomato
Destructive foreground
#fccdc5pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d1e5e4gainsboro
#d1e5e4gainsboro

Contrast

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

Light mode
Text on background19.33:1AAA
Text on card19.33:1AAA
Primary button6.30:1AA
Secondary button6.39:1AA
Muted text6.31:1AA
Accent7.25:1AAA
Destructive6.70:1AA
Dark mode
Text on background18.36:1AAA
Text on card18.36:1AAA
Primary button6.30:1AA
Secondary button6.39:1AA
Muted text6.96:1AA
Accent7.25:1AAA
Destructive3.63:1AA Large

CSS variables

Paste this into your globals.css to use Peppery in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 193.574);
  --foreground: oklch(0.146 0.018 191.927);
  --muted: oklch(0.905 0.027 161.868);
  --muted-foreground: oklch(0.424 0.012 161.903);
  --popover: oklch(0.994 0.002 193.574);
  --popover-foreground: oklch(0.146 0.018 191.927);
  --card: oklch(0.994 0.002 193.574);
  --card-foreground: oklch(0.146 0.018 191.927);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.908 0.021 193.145);
  --primary-foreground: oklch(0.421 0.043 191.541);
  --secondary: oklch(0.905 0.026 161.893);
  --secondary-foreground: oklch(0.415 0.055 158.699);
  --accent: oklch(0.89 0.017 242.449);
  --accent-foreground: oklch(0.377 0.039 243.725);
  --destructive: oklch(0.407 0.146 32.122);
  --destructive-foreground: oklch(0.887 0.054 29.807);
  --ring: oklch(0.908 0.021 193.145);
  --chart-1: oklch(0.908 0.021 193.145);
  --chart-2: oklch(0.905 0.026 161.893);
  --chart-3: oklch(0.89 0.017 242.449);
  --chart-4: oklch(0.925 0.02 162.067);
  --chart-5: oklch(0.909 0.023 193.098);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.154 0.011 192.406);
  --foreground: oklch(0.978 0.002 193.571);
  --muted: oklch(0.28 0.034 159.086);
  --muted-foreground: oklch(0.77 0.01 162.282);
  --popover: oklch(0.154 0.011 192.406);
  --popover-foreground: oklch(0.978 0.002 193.571);
  --card: oklch(0.154 0.011 192.406);
  --card-foreground: oklch(0.978 0.002 193.571);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.908 0.021 193.145);
  --primary-foreground: oklch(0.421 0.043 191.541);
  --secondary: oklch(0.905 0.026 161.893);
  --secondary-foreground: oklch(0.415 0.055 158.699);
  --accent: oklch(0.89 0.017 242.449);
  --accent-foreground: oklch(0.377 0.039 243.725);
  --destructive: oklch(0.645 0.211 32.377);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.908 0.021 193.145);
  --chart-1: oklch(0.908 0.021 193.145);
  --chart-2: oklch(0.905 0.026 161.893);
  --chart-3: oklch(0.89 0.017 242.449);
  --chart-4: oklch(0.925 0.02 162.067);
  --chart-5: oklch(0.909 0.023 193.098);
}