Zealous for shadcn/ui

Zealous is a shadcn/ui theme built around a muted light pink primary color (#d5b3bc) with neutral gray accents (#d2d1d1). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted light pink primary (#d5b3bc) on a pink-tinted background (#0b0406).

Color palette

TokenLightDark
Background
#fefbfcsnow
#0b0406black
Foreground
#080204black
#f9f5f6whitesmoke
Card
#fefbfcsnow
#0b0406black
Card foreground
#080204black
#f9f5f6whitesmoke
Popover
#fefbfcsnow
#0b0406black
Popover foreground
#080204black
#f9f5f6whitesmoke
Primary
#d5b3bcsilver
#d5b3bcsilver
Primary foreground
#381f25darkslategray
#381f25darkslategray
Secondary
#d2d1d1lightgrey
#1a1415black
Secondary foreground
#393838darkslategray
#bca4aadarkgray
Muted
#e9cdd5gainsboro
#32161dblack
Muted foreground
#433d3edarkslategray
#c2bcbesilver
Accent
#d2d1d1lightgrey
#1a1415black
Accent foreground
#393838darkslategray
#bca4aadarkgray
Destructive
#8d150cdarkred
#ef4f43tomato
Destructive foreground
#fbd3d0pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d5b3bcsilver
#d5b3bcsilver

Contrast

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

Light mode
Text on background20.00:1AAA
Text on card20.00:1AAA
Primary button7.94:1AAA
Secondary button7.64:1AAA
Muted text7.18:1AAA
Accent7.64:1AAA
Destructive6.84:1AA
Dark mode
Text on background18.74:1AAA
Text on card18.74:1AAA
Primary button7.94:1AAA
Secondary button7.83:1AAA
Muted text8.87:1AAA
Accent7.83:1AAA
Destructive3.58:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 358.869);
  --foreground: oklch(0.103 0.022 358.592);
  --muted: oklch(0.875 0.033 359.824);
  --muted-foreground: oklch(0.365 0.009 359.494);
  --popover: oklch(0.991 0.003 358.869);
  --popover-foreground: oklch(0.103 0.022 358.592);
  --card: oklch(0.991 0.003 358.869);
  --card-foreground: oklch(0.103 0.022 358.592);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.8 0.041 0.202);
  --primary-foreground: oklch(0.274 0.04 2.825);
  --secondary: oklch(0.86 0.001 358.819);
  --secondary-foreground: oklch(0.34 0.002 358.921);
  --accent: oklch(0.86 0.001 358.819);
  --accent-foreground: oklch(0.34 0.002 358.921);
  --destructive: oklch(0.414 0.155 29.574);
  --destructive-foreground: oklch(0.9 0.045 22.843);
  --ring: oklch(0.8 0.041 0.202);
  --chart-1: oklch(0.8 0.041 0.202);
  --chart-2: oklch(0.86 0.001 358.819);
  --chart-3: oklch(0.86 0.001 358.819);
  --chart-4: oklch(0.884 0.001 358.812);
  --chart-5: oklch(0.798 0.045 0.353);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.015 358.723);
  --foreground: oklch(0.974 0.005 358.919);
  --muted: oklch(0.242 0.046 4.086);
  --muted-foreground: oklch(0.801 0.008 359.051);
  --popover: oklch(0.124 0.015 358.723);
  --popover-foreground: oklch(0.974 0.005 358.919);
  --card: oklch(0.124 0.015 358.723);
  --card-foreground: oklch(0.974 0.005 358.919);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.8 0.041 0.202);
  --primary-foreground: oklch(0.274 0.04 2.825);
  --secondary: oklch(0.198 0.012 0.423);
  --secondary-foreground: oklch(0.742 0.029 359.872);
  --accent: oklch(0.198 0.012 0.423);
  --accent-foreground: oklch(0.742 0.029 359.872);
  --destructive: oklch(0.647 0.198 28.009);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.8 0.041 0.202);
  --chart-1: oklch(0.8 0.041 0.202);
  --chart-2: oklch(0.198 0.012 0.423);
  --chart-3: oklch(0.198 0.012 0.423);
  --chart-4: oklch(0.23 0.015 0.6);
  --chart-5: oklch(0.798 0.045 0.353);
}