Frozen Whisper Hedgehog for shadcn/ui

Frozen Whisper Hedgehog is a shadcn/ui theme built around a blue primary color (#8cbbd9) with green accents (#bbd98c). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#8cbbd9) on a neutral background (#030607).

Color palette

TokenLightDark
Background
#fbfdfewhite
#030607black
Foreground
#010609black
#f9fafbghostwhite
Card
#f8fafcghostwhite
#04080bblack
Card foreground
#010305black
#fcfdfdwhite
Popover
#fbfdfewhite
#030607black
Popover foreground
#010609black
#f9fafbghostwhite
Primary
#8cbbd9skyblue
#8cbbd9skyblue
Primary foreground
#0d1c26black
#0d1c26black
Secondary
#d98cbborchid
#d98cbborchid
Secondary foreground
#260d1cblack
#260d1cblack
Muted
#f5f0f3whitesmoke
#0f0a0dblack
Muted foreground
#5e4a57dimgray
#b5a1addarkgray
Accent
#bbd98ctan
#bbd98ctan
Accent foreground
#1c260dblack
#1c260dblack
Destructive
#bc4c0bchocolate
#f27126chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e3e6e8gainsboro
#1e2224black
Input
#e3e6e8gainsboro
#1e2224black
Ring
#8cbbd9skyblue
#8cbbd9skyblue

Contrast

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

Light mode
Text on background19.92:1AAA
Text on card19.78:1AAA
Primary button8.47:1AAA
Secondary button7.28:1AAA
Muted text7.17:1AAA
Accent10.05:1AAA
Destructive5.03:1AA
Dark mode
Text on background19.48:1AAA
Text on card19.68:1AAA
Primary button8.47:1AAA
Secondary button7.28:1AAA
Muted text8.08:1AAA
Accent10.05:1AAA
Destructive7.17:1AAA

CSS variables

Paste this into your globals.css to use Frozen Whisper Hedgehog in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 234.533);
  --foreground: oklch(0.115 0.017 225.257);
  --muted: oklch(0.959 0.006 339.61);
  --muted-foreground: oklch(0.435 0.033 341.082);
  --popover: oklch(0.992 0.002 234.533);
  --popover-foreground: oklch(0.115 0.017 225.257);
  --card: oklch(0.985 0.004 234.559);
  --card-foreground: oklch(0.092 0.013 225.257);
  --border: oklch(0.923 0.004 234.566);
  --input: oklch(0.923 0.004 234.566);
  --primary: oklch(0.77 0.065 236.019);
  --primary-foreground: oklch(0.22 0.029 237.35);
  --secondary: oklch(0.733 0.11 342.554);
  --secondary-foreground: oklch(0.205 0.049 344.427);
  --accent: oklch(0.845 0.105 125.632);
  --accent-foreground: oklch(0.253 0.045 126.781);
  --destructive: oklch(0.557 0.159 43.544);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.77 0.065 236.019);
  --chart-1: oklch(0.77 0.065 236.019);
  --chart-2: oklch(0.733 0.11 342.554);
  --chart-3: oklch(0.845 0.105 125.632);
  --chart-4: oklch(0.759 0.099 342.147);
  --chart-5: oklch(0.771 0.069 236.132);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.01 228.842);
  --foreground: oklch(0.985 0.002 234.537);
  --muted: oklch(0.154 0.01 340.815);
  --muted-foreground: oklch(0.73 0.029 340.329);
  --popover: oklch(0.115 0.01 228.842);
  --popover-foreground: oklch(0.985 0.002 234.537);
  --card: oklch(0.132 0.011 229.159);
  --card-foreground: oklch(0.992 0.001 234.522);
  --border: oklch(0.248 0.007 234.924);
  --input: oklch(0.248 0.007 234.924);
  --primary: oklch(0.77 0.065 236.019);
  --primary-foreground: oklch(0.22 0.029 237.35);
  --secondary: oklch(0.733 0.11 342.554);
  --secondary-foreground: oklch(0.205 0.049 344.427);
  --accent: oklch(0.845 0.105 125.632);
  --accent-foreground: oklch(0.253 0.045 126.781);
  --destructive: oklch(0.693 0.179 45.972);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.77 0.065 236.019);
  --chart-1: oklch(0.77 0.065 236.019);
  --chart-2: oklch(0.733 0.11 342.554);
  --chart-3: oklch(0.845 0.105 125.632);
  --chart-4: oklch(0.759 0.099 342.147);
  --chart-5: oklch(0.771 0.069 236.132);
}