Droopy for shadcn/ui

Droopy is a shadcn/ui theme built around a vivid pink primary color (#ea1f88) with muted pink accents (#c4b1ba). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#ea1f88) on a pink-tinted background (#10040a).

Color palette

TokenLightDark
Background
#ffffffwhite
#10040ablack
Foreground
#0f050ablack
#fbf9fasnow
Card
#ffffffwhite
#10040ablack
Card foreground
#0f050ablack
#fbf9fasnow
Popover
#ffffffwhite
#10040ablack
Popover foreground
#0f050ablack
#fbf9fasnow
Primary
#ea1f88deeppink
#ea1f88deeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d0c8cclightgrey
#1a191ablack
Secondary foreground
#372f33darkslategray
#b4b1b3darkgray
Muted
#e0dcdegainsboro
#231f21black
Muted foreground
#5f5359dimgray
#aca0a6darkgray
Accent
#c4b1basilver
#2f282bdarkslategray
Accent foreground
#261d21black
#c9c0c5silver
Destructive
#c91f13firebrick
#ed473btomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ea1f88deeppink
#ea1f88deeppink

Contrast

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

Light mode
Text on background20.06:1AAA
Text on card20.06:1AAA
Primary button4.15:1AA Large
Secondary button7.94:1AAA
Muted text5.37:1AA
Accent8.04:1AAA
Destructive5.71:1AA
Dark mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button4.15:1AA Large
Secondary button8.25:1AAA
Muted text6.46:1AA
Accent8.11:1AAA
Destructive3.78:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.136 0.024 346.114);
  --muted: oklch(0.897 0.006 344.456);
  --muted-foreground: oklch(0.457 0.019 345.331);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.136 0.024 346.114);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.136 0.024 346.114);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.619 0.239 356.965);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.841 0.009 344.569);
  --secondary-foreground: oklch(0.316 0.012 345.234);
  --accent: oklch(0.778 0.026 345.118);
  --accent-foreground: oklch(0.242 0.017 345.983);
  --destructive: oklch(0.536 0.204 29.66);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.619 0.239 356.965);
  --chart-1: oklch(0.619 0.239 356.965);
  --chart-2: oklch(0.841 0.009 344.569);
  --chart-3: oklch(0.778 0.026 345.118);
  --chart-4: oklch(0.865 0.008 344.519);
  --chart-5: oklch(0.624 0.244 357.485);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.029 346.349);
  --foreground: oklch(0.984 0.002 344.33);
  --muted: oklch(0.245 0.008 345.136);
  --muted-foreground: oklch(0.717 0.017 344.887);
  --popover: oklch(0.135 0.029 346.349);
  --popover-foreground: oklch(0.984 0.002 344.33);
  --card: oklch(0.135 0.029 346.349);
  --card-foreground: oklch(0.984 0.002 344.33);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.619 0.239 356.965);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.215 0.002 344.509);
  --secondary-foreground: oklch(0.763 0.004 344.424);
  --accent: oklch(0.285 0.012 345.33);
  --accent-foreground: oklch(0.816 0.012 344.672);
  --destructive: oklch(0.635 0.204 28.407);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.619 0.239 356.965);
  --chart-1: oklch(0.619 0.239 356.965);
  --chart-2: oklch(0.215 0.002 344.509);
  --chart-3: oklch(0.285 0.012 345.33);
  --chart-4: oklch(0.247 0.002 344.529);
  --chart-5: oklch(0.624 0.244 357.485);
}