Wolf for shadcn/ui

Wolf is a shadcn/ui theme built around a red primary color (#c84337) with cyan accents (#37bcc8). The light mode uses a neutral background (#fcf8f7). Dark mode keeps the red primary (#c84337) on a neutral background (#040101).

Color palette

TokenLightDark
Background
#fcf8f7snow
#040101black
Foreground
#090202black
#f8f7f7whitesmoke
Card
#fbf4f4lavenderblush
#080302black
Card foreground
#040101black
#faf9f9snow
Popover
#fbf4f4lavenderblush
#080302black
Popover foreground
#040101black
#faf9f9snow
Primary
#c84337sienna
#c84337sienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#37bcc8mediumturquoise
#37bcc8mediumturquoise
Secondary foreground
#0b2628black
#0b2628black
Muted
#d9e7e8gainsboro
#172526black
Muted foreground
#4d5656darkslategray
#a9b1b2darkgray
Accent
#37bcc8mediumturquoise
#37bcc8mediumturquoise
Accent foreground
#0b2628black
#0b2628black
Destructive
#8a2e00saddlebrown
#ff6619orangered
Destructive foreground
#ffd3bdpeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c84337sienna
#c84337sienna

Contrast

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

Light mode
Text on background19.49:1AAA
Text on card19.18:1AAA
Primary button4.86:1AA
Secondary button6.95:1AA
Muted text5.93:1AA
Accent6.95:1AA
Destructive6.20:1AA
Dark mode
Text on background19.42:1AAA
Text on card19.54:1AAA
Primary button4.86:1AA
Secondary button6.95:1AA
Muted text7.23:1AAA
Accent6.95:1AA
Destructive7.16:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 23.63);
  --foreground: oklch(0.104 0.02 30.088);
  --muted: oklch(0.917 0.015 203.436);
  --muted-foreground: oklch(0.444 0.011 203.363);
  --popover: oklch(0.973 0.007 23.656);
  --popover-foreground: oklch(0.083 0.016 30.088);
  --card: oklch(0.973 0.007 23.656);
  --card-foreground: oklch(0.083 0.016 30.088);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.569 0.171 28.766);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.731 0.112 204.055);
  --secondary-foreground: oklch(0.248 0.032 203.431);
  --accent: oklch(0.731 0.112 204.055);
  --accent-foreground: oklch(0.248 0.032 203.431);
  --destructive: oklch(0.433 0.134 40.654);
  --destructive-foreground: oklch(0.898 0.058 48.052);
  --ring: oklch(0.569 0.171 28.766);
  --chart-1: oklch(0.569 0.171 28.766);
  --chart-2: oklch(0.731 0.112 204.055);
  --chart-3: oklch(0.731 0.112 204.055);
  --chart-4: oklch(0.745 0.109 203.787);
  --chart-5: oklch(0.572 0.179 29.025);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.014 28.898);
  --foreground: oklch(0.976 0.002 23.598);
  --muted: oklch(0.252 0.019 203.126);
  --muted-foreground: oklch(0.755 0.01 203.461);
  --popover: oklch(0.106 0.017 28.898);
  --popover-foreground: oklch(0.984 0.001 23.592);
  --card: oklch(0.106 0.017 28.898);
  --card-foreground: oklch(0.984 0.001 23.592);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.569 0.171 28.766);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.731 0.112 204.055);
  --secondary-foreground: oklch(0.248 0.032 203.431);
  --accent: oklch(0.731 0.112 204.055);
  --accent-foreground: oklch(0.248 0.032 203.431);
  --destructive: oklch(0.696 0.202 41.791);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.569 0.171 28.766);
  --chart-1: oklch(0.569 0.171 28.766);
  --chart-2: oklch(0.731 0.112 204.055);
  --chart-3: oklch(0.731 0.112 204.055);
  --chart-4: oklch(0.745 0.109 203.787);
  --chart-5: oklch(0.572 0.179 29.025);
}