Pungent for shadcn/ui

Pungent is a shadcn/ui theme built around a light red primary color (#deb5bf) with light teal accents (#b5ded4). The light mode uses a neutral background (#fefbfc). Dark mode keeps the light red primary (#deb5bf) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fefbfcsnow
#030202black
Foreground
#080204black
#fdfcfcsnow
Card
#fdf7f8snow
#070304black
Card foreground
#040102black
#ffffffwhite
Popover
#fdf7f8snow
#070304black
Popover foreground
#040102black
#ffffffwhite
Primary
#deb5bfthistle
#deb5bfthistle
Primary foreground
#431e27darkslategray
#431e27darkslategray
Secondary
#b5ded4powderblue
#b5ded4powderblue
Secondary foreground
#1e433adarkslategray
#1e433adarkslategray
Muted
#f1f3f3whitesmoke
#0c0e0dblack
Muted foreground
#465853darkslategray
#a7b9b4darkgray
Accent
#b5ded4powderblue
#b5ded4powderblue
Accent foreground
#1e433adarkslategray
#1e433adarkslategray
Destructive
#811608maroon
#eb290forangered
Destructive foreground
#fbc7c1pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#deb5bfthistle
#deb5bfthistle

Contrast

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

Light mode
Text on background19.97:1AAA
Text on card19.58:1AAA
Primary button7.89:1AAA
Secondary button7.47:1AAA
Muted text6.78:1AA
Accent7.47:1AAA
Destructive6.81:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.47:1AAA
Primary button7.89:1AAA
Secondary button7.47:1AAA
Muted text9.46:1AAA
Accent7.47:1AAA
Destructive4.33: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.99 0.004 359.973);
  --foreground: oklch(0.106 0.017 359.795);
  --muted: oklch(0.963 0.002 179.807);
  --muted-foreground: oklch(0.443 0.023 178.324);
  --popover: oklch(0.98 0.008 0.082);
  --popover-foreground: oklch(0.084 0.013 359.795);
  --card: oklch(0.98 0.008 0.082);
  --card-foreground: oklch(0.084 0.013 359.795);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.812 0.049 1.51);
  --primary-foreground: oklch(0.29 0.058 5.458);
  --secondary: oklch(0.868 0.045 178.307);
  --secondary-foreground: oklch(0.352 0.046 175.159);
  --accent: oklch(0.868 0.045 178.307);
  --accent-foreground: oklch(0.352 0.046 175.159);
  --destructive: oklch(0.393 0.144 31.039);
  --destructive-foreground: oklch(0.875 0.06 27.047);
  --ring: oklch(0.812 0.049 1.51);
  --chart-1: oklch(0.812 0.049 1.51);
  --chart-2: oklch(0.868 0.045 178.307);
  --chart-3: oklch(0.868 0.045 178.307);
  --chart-4: oklch(0.887 0.038 178.571);
  --chart-5: oklch(0.811 0.053 1.645);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.008 359.827);
  --foreground: oklch(0.991 0.002 359.913);
  --muted: oklch(0.16 0.003 179.308);
  --muted-foreground: oklch(0.77 0.02 179.102);
  --popover: oklch(0.11 0.01 359.827);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.11 0.01 359.827);
  --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.812 0.049 1.51);
  --primary-foreground: oklch(0.29 0.058 5.458);
  --secondary: oklch(0.868 0.045 178.307);
  --secondary-foreground: oklch(0.352 0.046 175.159);
  --accent: oklch(0.868 0.045 178.307);
  --accent-foreground: oklch(0.352 0.046 175.159);
  --destructive: oklch(0.604 0.229 30.878);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.812 0.049 1.51);
  --chart-1: oklch(0.812 0.049 1.51);
  --chart-2: oklch(0.868 0.045 178.307);
  --chart-3: oklch(0.868 0.045 178.307);
  --chart-4: oklch(0.887 0.038 178.571);
  --chart-5: oklch(0.811 0.053 1.645);
}