Droopy is a shadcn/ui theme built around a red primary color (#a8484e) with muted light red accents (#c7bcbd). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the red primary (#a8484e) on a red-tinted background (#100405).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #100405black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fcf8f8snow | #100405black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fcf8f8snow | #100405black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #a8484esienna | #a8484esienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d9d8d8gainsboro | #231b1bblack |
| Secondary foreground | #403f3fdarkslategray | #c1aeb0silver |
| Muted | #eae1e2gainsboro | #1e1516black |
| Muted foreground | #565253dimgray | #ada9a9darkgray |
| Accent | #c7bcbdsilver | #402b2ddarkslategray |
| Accent foreground | #2c2526darkslategray | #d8c5c7thistle |
| Destructive | #cc3005firebrick | #f94715orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a8484esienna | #a8484esienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 5.68:1 | AA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 8.13:1 | AAA |
| Destructive | 5.25:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 5.68:1 | AA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 7.67:1 | AAA |
| Accent | 7.93:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Droopy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 12.534);
--foreground: oklch(0 0 0);
--muted: oklch(0.918 0.009 12.63);
--muted-foreground: oklch(0.444 0.004 12.635);
--popover: oklch(0.981 0.005 12.534);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.005 12.534);
--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.528 0.126 18.437);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.884 0.001 12.447);
--secondary-foreground: oklch(0.369 0.002 12.525);
--accent: oklch(0.805 0.012 12.751);
--accent-foreground: oklch(0.273 0.011 13.28);
--destructive: oklch(0.554 0.197 33.868);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.528 0.126 18.437);
--chart-1: oklch(0.528 0.126 18.437);
--chart-2: oklch(0.884 0.001 12.447);
--chart-3: oklch(0.805 0.012 12.751);
--chart-4: oklch(0.907 0.001 12.442);
--chart-5: oklch(0.528 0.135 19.021);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.025 15.284);
--foreground: oklch(0.992 0.001 12.453);
--muted: oklch(0.208 0.013 13.791);
--muted-foreground: oklch(0.738 0.004 12.536);
--popover: oklch(0.132 0.025 15.284);
--popover-foreground: oklch(0.992 0.001 12.453);
--card: oklch(0.132 0.025 15.284);
--card-foreground: oklch(0.992 0.001 12.453);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.528 0.126 18.437);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.23 0.013 13.588);
--secondary-foreground: oklch(0.768 0.021 13.014);
--accent: oklch(0.315 0.03 14.514);
--accent-foreground: oklch(0.84 0.021 12.945);
--destructive: oklch(0.652 0.221 34.653);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.528 0.126 18.437);
--chart-1: oklch(0.528 0.126 18.437);
--chart-2: oklch(0.23 0.013 13.588);
--chart-3: oklch(0.315 0.03 14.514);
--chart-4: oklch(0.261 0.015 13.674);
--chart-5: oklch(0.528 0.135 19.021);
}