Growling for shadcn/ui

Growling is a shadcn/ui theme built around a deep red primary color (#2a0e12) with muted red accents (#c9a6ab). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the deep red primary (#2a0e12) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7f8snow
#000000black
Foreground
#040101black
#faf5f6whitesmoke
Card
#fdf7f8snow
#000000black
Card foreground
#040101black
#faf5f6whitesmoke
Popover
#fdf7f8snow
#000000black
Popover foreground
#040101black
#faf5f6whitesmoke
Primary
#2a0e12black
#2a0e12black
Primary foreground
#da909arosybrown
#da909arosybrown
Secondary
#d5c3c5thistle
#2c2b2bdarkslategray
Secondary foreground
#3c2a2cdarkslategray
#c5c4c4silver
Muted
#eed8dbgainsboro
#271114black
Muted foreground
#4d4d4ddarkslategray
#b3b3b3darkgray
Accent
#c9a6abdarkgray
#443b3cdarkslategray
Accent foreground
#261719black
#dbd6d7gainsboro
Destructive
#882a02saddlebrown
#e74804orangered
Destructive foreground
#fed1bepeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2a0e12black
#2a0e12black

Contrast

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

Light mode
Text on background19.65:1AAA
Text on card19.65:1AAA
Primary button7.20:1AAA
Secondary button7.97:1AAA
Muted text6.22:1AA
Accent7.80:1AAA
Destructive6.34:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button7.20:1AAA
Secondary button8.12:1AAA
Muted text8.51:1AAA
Accent7.51:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 7.889);
  --foreground: oklch(0.08 0.02 9.219);
  --muted: oklch(0.901 0.025 8.428);
  --muted-foreground: oklch(0.418 0 173.29);
  --popover: oklch(0.981 0.006 7.889);
  --popover-foreground: oklch(0.08 0.02 9.219);
  --card: oklch(0.981 0.006 7.889);
  --card-foreground: oklch(0.08 0.02 9.219);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.21 0.047 13.74);
  --primary-foreground: oklch(0.731 0.09 10.812);
  --secondary: oklch(0.833 0.021 8.361);
  --secondary-foreground: oklch(0.307 0.028 9.95);
  --accent: oklch(0.758 0.042 9.107);
  --accent-foreground: oklch(0.225 0.025 10.482);
  --destructive: oklch(0.424 0.135 38.827);
  --destructive-foreground: oklch(0.894 0.057 44.448);
  --ring: oklch(0.21 0.047 13.74);
  --chart-1: oklch(0.21 0.047 13.74);
  --chart-2: oklch(0.833 0.021 8.361);
  --chart-3: oklch(0.758 0.042 9.107);
  --chart-4: oklch(0.858 0.018 8.249);
  --chart-5: oklch(0.21 0.049 14.19);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.974 0.005 7.874);
  --muted: oklch(0.211 0.038 12.314);
  --muted-foreground: oklch(0.765 0 172.405);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.974 0.005 7.874);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.974 0.005 7.874);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.21 0.047 13.74);
  --primary-foreground: oklch(0.731 0.09 10.812);
  --secondary: oklch(0.29 0.001 7.856);
  --secondary-foreground: oklch(0.821 0.001 7.788);
  --accent: oklch(0.363 0.013 8.592);
  --accent-foreground: oklch(0.881 0.006 7.914);
  --destructive: oklch(0.623 0.205 37.439);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.21 0.047 13.74);
  --chart-1: oklch(0.21 0.047 13.74);
  --chart-2: oklch(0.29 0.001 7.856);
  --chart-3: oklch(0.363 0.013 8.592);
  --chart-4: oklch(0.32 0.001 7.86);
  --chart-5: oklch(0.21 0.049 14.19);
}