Dancing in the Rain Hedgehog for shadcn/ui

Dancing in the Rain Hedgehog is a shadcn/ui theme built around a blue primary color (#aac3d4) with indigo accents (#aaaed4). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#aac3d4) on a blue-tinted background (#050b10).

Color palette

TokenLightDark
Background
#fbfdfewhite
#050b10black
Foreground
#03090dblack
#f6f8f9whitesmoke
Card
#fbfdfewhite
#050b10black
Card foreground
#03090dblack
#f6f8f9whitesmoke
Popover
#fbfdfewhite
#050b10black
Popover foreground
#03090dblack
#f6f8f9whitesmoke
Primary
#aac3d4lightsteelblue
#aac3d4lightsteelblue
Primary foreground
#1a2833darkslategray
#1a2833darkslategray
Secondary
#aad4d1lightsteelblue
#aad4d1lightsteelblue
Secondary foreground
#1a3331darkslategray
#1a3331darkslategray
Muted
#e8ededlavender
#121717black
Muted foreground
#515252darkslategray
#adaeaedarkgray
Accent
#aaaed4lightsteelblue
#aaaed4lightsteelblue
Accent foreground
#1a1c33midnightblue
#1a1c33midnightblue
Destructive
#db230afirebrick
#f64e37tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e3e6e8gainsboro
#202427darkslategray
Input
#e3e6e8gainsboro
#202427darkslategray
Ring
#aac3d4lightsteelblue
#aac3d4lightsteelblue

Contrast

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

Light mode
Text on background19.58:1AAA
Text on card19.58:1AAA
Primary button8.20:1AAA
Secondary button8.37:1AAA
Muted text6.64:1AA
Accent7.71:1AAA
Destructive4.93:1AA
Dark mode
Text on background18.56:1AAA
Text on card18.56:1AAA
Primary button8.20:1AAA
Secondary button8.37:1AAA
Muted text8.13:1AAA
Accent7.71:1AAA
Destructive3.47:1AA Large

CSS variables

Paste this into your globals.css to use Dancing in the Rain Hedgehog in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 238.405);
  --foreground: oklch(0.131 0.017 231.044);
  --muted: oklch(0.943 0.006 191.118);
  --muted-foreground: oklch(0.439 0.002 191.144);
  --popover: oklch(0.992 0.003 238.405);
  --popover-foreground: oklch(0.131 0.017 231.044);
  --card: oklch(0.992 0.003 238.405);
  --card-foreground: oklch(0.131 0.017 231.044);
  --border: oklch(0.923 0.004 238.422);
  --input: oklch(0.923 0.004 238.422);
  --primary: oklch(0.804 0.036 239.042);
  --primary-foreground: oklch(0.27 0.028 240.178);
  --secondary: oklch(0.84 0.044 190.072);
  --secondary-foreground: oklch(0.299 0.032 188.741);
  --accent: oklch(0.76 0.055 280.913);
  --accent-foreground: oklch(0.236 0.044 278.461);
  --destructive: oklch(0.572 0.218 30.808);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.804 0.036 239.042);
  --chart-1: oklch(0.804 0.036 239.042);
  --chart-2: oklch(0.84 0.044 190.072);
  --chart-3: oklch(0.76 0.055 280.913);
  --chart-4: oklch(0.859 0.039 190.238);
  --chart-5: oklch(0.804 0.04 239.109);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.145 0.016 235.797);
  --foreground: oklch(0.977 0.002 238.396);
  --muted: oklch(0.199 0.008 190.346);
  --muted-foreground: oklch(0.75 0.002 191.196);
  --popover: oklch(0.145 0.016 235.797);
  --popover-foreground: oklch(0.977 0.002 238.396);
  --card: oklch(0.145 0.016 235.797);
  --card-foreground: oklch(0.977 0.002 238.396);
  --border: oklch(0.259 0.007 238.78);
  --input: oklch(0.259 0.007 238.78);
  --primary: oklch(0.804 0.036 239.042);
  --primary-foreground: oklch(0.27 0.028 240.178);
  --secondary: oklch(0.84 0.044 190.072);
  --secondary-foreground: oklch(0.299 0.032 188.741);
  --accent: oklch(0.76 0.055 280.913);
  --accent-foreground: oklch(0.236 0.044 278.461);
  --destructive: oklch(0.656 0.208 30.764);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.804 0.036 239.042);
  --chart-1: oklch(0.804 0.036 239.042);
  --chart-2: oklch(0.84 0.044 190.072);
  --chart-3: oklch(0.76 0.055 280.913);
  --chart-4: oklch(0.859 0.039 190.238);
  --chart-5: oklch(0.804 0.04 239.109);
}