Grey Whisper Panther for shadcn/ui

Grey Whisper Panther is a shadcn/ui theme built around a neutral gray primary color (#e6e5e5) with neutral gray accents (#e5e5e6). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the neutral gray primary (#e6e5e5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#000000black
Foreground
#000000black
#ffffffwhite
Card
#fdfcfcsnow
#000000black
Card foreground
#000000black
#ffffffwhite
Popover
#fdfcfcsnow
#000000black
Popover foreground
#000000black
#ffffffwhite
Primary
#e6e5e5gainsboro
#e6e5e5gainsboro
Primary foreground
#4d4c4cdarkslategray
#4d4c4cdarkslategray
Secondary
#e5e6e5gainsboro
#e5e6e5gainsboro
Secondary foreground
#4c4d4cdarkslategray
#4c4d4cdarkslategray
Muted
#e0e6e0gainsboro
#191f19black
Muted foreground
#394739darkslategray
#b9c6b8silver
Accent
#e5e5e6gainsboro
#e5e5e6gainsboro
Accent foreground
#4c4c4ddarkslategray
#4c4c4ddarkslategray
Destructive
#710d09maroon
#e71a13red
Destructive foreground
#f9b6b4lightpink
#ffffffwhite
Border
#e9e8e8lavender
#222021black
Input
#e9e8e8lavender
#222021black
Ring
#e6e5e5gainsboro
#e6e5e5gainsboro

Contrast

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

Light mode
Text on background20.45:1AAA
Text on card20.45:1AAA
Primary button6.81:1AA
Secondary button6.77:1AA
Muted text7.75:1AAA
Accent6.82:1AA
Destructive7.01:1AAA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.81:1AA
Secondary button6.77:1AA
Muted text9.45:1AAA
Accent6.82:1AA
Destructive4.60:1AA

CSS variables

Paste this into your globals.css to use Grey Whisper Panther in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 14.828);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.918 0.009 144.552);
  --muted-foreground: oklch(0.38 0.029 144.108);
  --popover: oklch(0.991 0.002 14.828);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.002 14.828);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.93 0.001 14.81);
  --input: oklch(0.93 0.001 14.81);
  --primary: oklch(0.923 0.001 14.801);
  --primary-foreground: oklch(0.417 0.002 14.881);
  --secondary: oklch(0.924 0.001 144.612);
  --secondary-foreground: oklch(0.419 0.003 144.57);
  --accent: oklch(0.923 0.001 284.795);
  --accent-foreground: oklch(0.416 0.002 284.705);
  --destructive: oklch(0.353 0.134 28.671);
  --destructive-foreground: oklch(0.837 0.078 21.107);
  --ring: oklch(0.923 0.001 14.801);
  --chart-1: oklch(0.923 0.001 14.801);
  --chart-2: oklch(0.924 0.001 144.612);
  --chart-3: oklch(0.923 0.001 284.795);
  --chart-4: oklch(0.947 0.001 144.614);
  --chart-5: oklch(0.922 0.002 14.835);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.231 0.013 144.239);
  --muted-foreground: oklch(0.813 0.024 144.423);
  --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.247 0.002 14.942);
  --input: oklch(0.247 0.002 14.942);
  --primary: oklch(0.923 0.001 14.801);
  --primary-foreground: oklch(0.417 0.002 14.881);
  --secondary: oklch(0.924 0.001 144.612);
  --secondary-foreground: oklch(0.419 0.003 144.57);
  --accent: oklch(0.923 0.001 284.795);
  --accent-foreground: oklch(0.416 0.002 284.705);
  --destructive: oklch(0.59 0.232 29.093);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.923 0.001 14.801);
  --chart-1: oklch(0.923 0.001 14.801);
  --chart-2: oklch(0.924 0.001 144.612);
  --chart-3: oklch(0.923 0.001 284.795);
  --chart-4: oklch(0.947 0.001 144.614);
  --chart-5: oklch(0.922 0.002 14.835);
}