Droopy is a shadcn/ui theme built around a green primary color (#188c38) with orange accents (#8c3818). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#188c38) on a green-tinted background (#040b06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b06black |
| Foreground | #041509black | #f5faf6whitesmoke |
| Card | #fcfcfcsnow | #050f08black |
| Card foreground | #031107black | #f8fbf9mintcream |
| Popover | #ffffffwhite | #040b06black |
| Popover foreground | #041509black | #f5faf6whitesmoke |
| Primary | #188c38forestgreen | #188c38forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #38188cindigo | #38188cindigo |
| Secondary foreground | #e4dcf9lavender | #e4dcf9lavender |
| Muted | #f2f1f3whitesmoke | #0c0c0eblack |
| Muted foreground | #535158dimgray | #a9a7aedarkgray |
| Accent | #8c3818saddlebrown | #8c3818saddlebrown |
| Accent foreground | #f9e4dcmistyrose | #f9e4dcmistyrose |
| Destructive | #6f280csaddlebrown | #eb6e3dtomato |
| Destructive foreground | #f7c8b5peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #188c38forestgreen | #188c38forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.81:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 4.35:1 | AA Large |
| Secondary button | 9.49:1 | AAA |
| Muted text | 6.95:1 | AA |
| Accent | 6.36:1 | AA |
| Destructive | 7.01:1 | AAA |
| Text on background | 18.80:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 4.35:1 | AA Large |
| Secondary button | 9.49:1 | AAA |
| Muted text | 8.22:1 | AAA |
| Accent | 6.36:1 | AA |
| Destructive | 6.83:1 | AA |
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.177 0.036 152.172);
--muted: oklch(0.96 0.003 299.255);
--muted-foreground: oklch(0.438 0.011 298.867);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.177 0.036 152.172);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.161 0.031 153.282);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.56 0.155 147.434);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.344 0.173 285.865);
--secondary-foreground: oklch(0.91 0.04 298.547);
--accent: oklch(0.452 0.122 40.311);
--accent-foreground: oklch(0.934 0.025 42.906);
--destructive: oklch(0.377 0.108 39.668);
--destructive-foreground: oklch(0.869 0.06 42.66);
--ring: oklch(0.56 0.155 147.434);
--chart-1: oklch(0.56 0.155 147.434);
--chart-2: oklch(0.344 0.173 285.865);
--chart-3: oklch(0.452 0.122 40.311);
--chart-4: oklch(0.365 0.185 285.608);
--chart-5: oklch(0.566 0.16 147.176);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.02 154.616);
--foreground: oklch(0.98 0.006 155.073);
--muted: oklch(0.155 0.004 298.817);
--muted-foreground: oklch(0.734 0.01 299.075);
--popover: oklch(0.14 0.02 154.616);
--popover-foreground: oklch(0.98 0.006 155.073);
--card: oklch(0.156 0.023 153.77);
--card-foreground: oklch(0.986 0.004 155.113);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.56 0.155 147.434);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.344 0.173 285.865);
--secondary-foreground: oklch(0.91 0.04 298.547);
--accent: oklch(0.452 0.122 40.311);
--accent-foreground: oklch(0.934 0.025 42.906);
--destructive: oklch(0.68 0.167 41.013);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.56 0.155 147.434);
--chart-1: oklch(0.56 0.155 147.434);
--chart-2: oklch(0.344 0.173 285.865);
--chart-3: oklch(0.452 0.122 40.311);
--chart-4: oklch(0.365 0.185 285.608);
--chart-5: oklch(0.566 0.16 147.176);
}