Pungent for shadcn/ui

Pungent is a shadcn/ui theme built around a muted light cyan primary color (#f0f4f5) with muted light cyan accents (#c3ced0). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the muted light cyan primary (#f0f4f5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#000000black
Foreground
#020708black
#ffffffwhite
Card
#f8fbfcghostwhite
#000000black
Card foreground
#020708black
#ffffffwhite
Popover
#f8fbfcghostwhite
#000000black
Popover foreground
#020708black
#ffffffwhite
Primary
#f0f4f5whitesmoke
#f0f4f5whitesmoke
Primary foreground
#1f2c2edarkslategray
#1f2c2edarkslategray
Secondary
#e2e4e4gainsboro
#1d292bdarkslategray
Secondary foreground
#464d4edarkslategray
#afc7calightsteelblue
Muted
#dbe0e1gainsboro
#1e2324black
Muted foreground
#51686cdimgray
#93abaedarkgray
Accent
#c3ced0lightgrey
#243e42darkslategray
Accent foreground
#2b3536darkslategray
#bdd7dbpowderblue
Destructive
#6f1406maroon
#e72b0dorangered
Destructive foreground
#fab7adlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f0f4f5whitesmoke
#f0f4f5whitesmoke

Contrast

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

Light mode
Text on background19.51:1AAA
Text on card19.51:1AAA
Primary button13.00:1AAA
Secondary button6.76:1AA
Muted text4.44:1AA Large
Accent7.86:1AAA
Destructive6.99:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button13.00:1AAA
Secondary button8.42:1AAA
Muted text6.55:1AA
Accent7.51:1AAA
Destructive4.41:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.003 206.42);
  --foreground: oklch(0.123 0.013 203.441);
  --muted: oklch(0.903 0.005 206.406);
  --muted-foreground: oklch(0.501 0.028 206.255);
  --popover: oklch(0.987 0.003 206.42);
  --popover-foreground: oklch(0.123 0.013 203.441);
  --card: oklch(0.987 0.003 206.42);
  --card-foreground: oklch(0.123 0.013 203.441);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.964 0.005 206.412);
  --primary-foreground: oklch(0.281 0.018 206.262);
  --secondary: oklch(0.917 0.003 206.423);
  --secondary-foreground: oklch(0.414 0.009 206.33);
  --accent: oklch(0.844 0.013 206.357);
  --accent-foreground: oklch(0.32 0.014 206.263);
  --destructive: oklch(0.354 0.126 31.712);
  --destructive-foreground: oklch(0.84 0.08 28.714);
  --ring: oklch(0.964 0.005 206.412);
  --chart-1: oklch(0.964 0.005 206.412);
  --chart-2: oklch(0.917 0.003 206.423);
  --chart-3: oklch(0.844 0.013 206.357);
  --chart-4: oklch(0.94 0.002 206.428);
  --chart-5: oklch(0.965 0.005 206.407);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.252 0.007 206.304);
  --muted-foreground: oklch(0.724 0.026 206.278);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.964 0.005 206.412);
  --primary-foreground: oklch(0.281 0.018 206.262);
  --secondary: oklch(0.271 0.018 206.265);
  --secondary-foreground: oklch(0.813 0.026 206.29);
  --accent: oklch(0.346 0.033 206.412);
  --accent-foreground: oklch(0.862 0.028 206.287);
  --destructive: oklch(0.599 0.225 31.304);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.964 0.005 206.412);
  --chart-1: oklch(0.964 0.005 206.412);
  --chart-2: oklch(0.271 0.018 206.265);
  --chart-3: oklch(0.346 0.033 206.412);
  --chart-4: oklch(0.304 0.021 206.271);
  --chart-5: oklch(0.965 0.005 206.407);
}