Growling for shadcn/ui

Growling is a shadcn/ui theme built around a vivid light blue primary color (#a1bcf7) with vivid light yellow accents (#f7dca1). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the vivid light blue primary (#a1bcf7) on a blue-tinted background (#04060b).

Color palette

TokenLightDark
Background
#f8f9fcghostwhite
#04060bblack
Foreground
#040916black
#fcfcfdwhite
Card
#f8f9fcghostwhite
#04060bblack
Card foreground
#040916black
#fcfcfdwhite
Popover
#f8f9fcghostwhite
#04060bblack
Popover foreground
#040916black
#fcfcfdwhite
Primary
#a1bcf7lightsteelblue
#a1bcf7lightsteelblue
Primary foreground
#08235emidnightblue
#08235emidnightblue
Secondary
#f7dca1navajowhite
#f7dca1navajowhite
Secondary foreground
#5e4308saddlebrown
#5e4308saddlebrown
Muted
#e4e0d7gainsboro
#28241bblack
Muted foreground
#6a614edimgray
#b1a895darkgray
Accent
#f7dca1navajowhite
#f7dca1navajowhite
Accent foreground
#5e4308saddlebrown
#5e4308saddlebrown
Destructive
#790806maroon
#f31f1bcrimson
Destructive foreground
#fbb7b6lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a1bcf7lightsteelblue
#a1bcf7lightsteelblue

Contrast

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

Light mode
Text on background18.88:1AAA
Text on card18.88:1AAA
Primary button7.84:1AAA
Secondary button6.86:1AA
Muted text4.65:1AA
Accent6.86:1AA
Destructive6.77:1AA
Dark mode
Text on background19.72:1AAA
Text on card19.72:1AAA
Primary button7.84:1AAA
Secondary button6.86:1AA
Muted text6.58:1AA
Accent6.86:1AA
Destructive4.18: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.982 0.005 265.985);
  --foreground: oklch(0.142 0.03 259.61);
  --muted: oklch(0.908 0.013 86.057);
  --muted-foreground: oklch(0.495 0.031 86.058);
  --popover: oklch(0.982 0.005 265.985);
  --popover-foreground: oklch(0.142 0.03 259.61);
  --card: oklch(0.982 0.005 265.985);
  --card-foreground: oklch(0.142 0.03 259.61);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.797 0.089 265.174);
  --primary-foreground: oklch(0.28 0.11 262.719);
  --secondary: oklch(0.902 0.081 85.887);
  --secondary-foreground: oklch(0.402 0.079 80.545);
  --accent: oklch(0.902 0.081 85.887);
  --accent-foreground: oklch(0.402 0.079 80.545);
  --destructive: oklch(0.367 0.144 28.759);
  --destructive-foreground: oklch(0.843 0.079 19.962);
  --ring: oklch(0.797 0.089 265.174);
  --chart-1: oklch(0.797 0.089 265.174);
  --chart-2: oklch(0.902 0.081 85.887);
  --chart-3: oklch(0.902 0.081 85.887);
  --chart-4: oklch(0.917 0.069 85.995);
  --chart-5: oklch(0.796 0.092 265.133);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.012 260.31);
  --foreground: oklch(0.992 0.001 266);
  --muted: oklch(0.26 0.017 86.04);
  --muted-foreground: oklch(0.735 0.028 86.095);
  --popover: oklch(0.124 0.012 260.31);
  --popover-foreground: oklch(0.992 0.001 266);
  --card: oklch(0.124 0.012 260.31);
  --card-foreground: oklch(0.992 0.001 266);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.797 0.089 265.174);
  --primary-foreground: oklch(0.28 0.11 262.719);
  --secondary: oklch(0.902 0.081 85.887);
  --secondary-foreground: oklch(0.402 0.079 80.545);
  --accent: oklch(0.902 0.081 85.887);
  --accent-foreground: oklch(0.402 0.079 80.545);
  --destructive: oklch(0.615 0.239 28.564);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.797 0.089 265.174);
  --chart-1: oklch(0.797 0.089 265.174);
  --chart-2: oklch(0.902 0.081 85.887);
  --chart-3: oklch(0.902 0.081 85.887);
  --chart-4: oklch(0.917 0.069 85.995);
  --chart-5: oklch(0.796 0.092 265.133);
}