Drummer for shadcn/ui

Drummer is a shadcn/ui theme built around a vivid pink primary color (#f73b9f) with vivid green accents (#3bf793). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the vivid pink primary (#f73b9f) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#fdfcfdwhite
#040103black
Foreground
#000000black
#fdfcfcsnow
Card
#fcf8fasnow
#080205black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf8fasnow
#080205black
Popover foreground
#000000black
#ffffffwhite
Primary
#f73b9fdeeppink
#f73b9fdeeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#3bf793mediumspringgreen
#3bf793mediumspringgreen
Secondary foreground
#000000black
#000000black
Muted
#d9e8e0gainsboro
#17261eblack
Muted foreground
#5b5d5cdimgray
#a2a4a3darkgray
Accent
#3bf793mediumspringgreen
#3bf793mediumspringgreen
Accent foreground
#000000black
#000000black
Destructive
#672204maroon
#f7733btomato
Destructive foreground
#fbbda2lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f73b9fdeeppink
#f73b9fdeeppink

Contrast

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

Light mode
Text on background20.47:1AAA
Text on card19.96:1AAA
Primary button3.45:1AA Large
Secondary button14.89:1AAA
Muted text5.23:1AA
Accent14.89:1AAA
Destructive7.15:1AAA
Dark mode
Text on background20.27:1AAA
Text on card20.53:1AAA
Primary button3.45:1AA Large
Secondary button14.89:1AAA
Muted text6.27:1AA
Accent14.89:1AAA
Destructive7.48:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 343.497);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.917 0.02 162.895);
  --muted-foreground: oklch(0.475 0.003 163.296);
  --popover: oklch(0.983 0.004 343.55);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.983 0.004 343.55);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.665 0.236 353.253);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.863 0.201 154.139);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.863 0.201 154.139);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.354 0.106 40.106);
  --destructive-foreground: oklch(0.848 0.081 44.24);
  --ring: oklch(0.665 0.236 353.253);
  --chart-1: oklch(0.665 0.236 353.253);
  --chart-2: oklch(0.863 0.201 154.139);
  --chart-3: oklch(0.863 0.201 154.139);
  --chart-4: oklch(0.869 0.191 155.12);
  --chart-5: oklch(0.667 0.241 353.601);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.016 343.36);
  --foreground: oklch(0.992 0.001 343.48);
  --muted: oklch(0.253 0.026 160.5);
  --muted-foreground: oklch(0.717 0.003 163.356);
  --popover: oklch(0.107 0.02 343.36);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.107 0.02 343.36);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.665 0.236 353.253);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.863 0.201 154.139);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.863 0.201 154.139);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.705 0.176 42.058);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.665 0.236 353.253);
  --chart-1: oklch(0.665 0.236 353.253);
  --chart-2: oklch(0.863 0.201 154.139);
  --chart-3: oklch(0.863 0.201 154.139);
  --chart-4: oklch(0.869 0.191 155.12);
  --chart-5: oklch(0.667 0.241 353.601);
}