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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.47:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 3.45:1 | AA Large |
| Secondary button | 14.89:1 | AAA |
| Muted text | 5.23:1 | AA |
| Accent | 14.89:1 | AAA |
| Destructive | 7.15:1 | AAA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.53:1 | AAA |
| Primary button | 3.45:1 | AA Large |
| Secondary button | 14.89:1 | AAA |
| Muted text | 6.27:1 | AA |
| Accent | 14.89:1 | AAA |
| Destructive | 7.48:1 | AAA |
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);
}