Droopy is a shadcn/ui theme built around a deep green primary color (#14291c) with deep orange accents (#291c14). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the deep green primary (#14291c) on a green-tinted background (#050a07).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf9mintcream | #050a07black |
| Foreground | #010402black | #ffffffwhite |
| Card | #f7fdf9mintcream | #050a07black |
| Card foreground | #010402black | #ffffffwhite |
| Popover | #f7fdf9mintcream | #050a07black |
| Popover foreground | #010402black | #ffffffwhite |
| Primary | #14291cblack | #14291cblack |
| Primary foreground | #9fd1b3silver | #9fd1b3silver |
| Secondary | #1c1429black | #1c1429black |
| Secondary foreground | #b39fd1lightsteelblue | #b39fd1lightsteelblue |
| Muted | #e7e3eelavender | #16111cblack |
| Muted foreground | #49464edarkslategray | #b4b1b9silver |
| Accent | #291c14black | #291c14black |
| Accent foreground | #d1b39ftan | #d1b39ftan |
| Destructive | #d51d10firebrick | #f04033tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #14291cblack | #14291cblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 8.94:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 8.35:1 | AAA |
| Destructive | 5.21:1 | AA |
| Text on background | 19.93:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 8.94:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 8.75:1 | AAA |
| Accent | 8.35:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Droopy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 160.046);
--foreground: oklch(0.098 0.013 160.12);
--muted: oklch(0.921 0.015 304.104);
--muted-foreground: oklch(0.401 0.013 303.887);
--popover: oklch(0.988 0.008 160.046);
--popover-foreground: oklch(0.098 0.013 160.12);
--card: oklch(0.988 0.008 160.046);
--card-foreground: oklch(0.098 0.013 160.12);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.26 0.037 156.344);
--primary-foreground: oklch(0.816 0.067 158.182);
--secondary: oklch(0.213 0.043 301.32);
--secondary-foreground: oklch(0.736 0.074 302.889);
--accent: oklch(0.242 0.026 54.857);
--accent-foreground: oklch(0.786 0.044 55.65);
--destructive: oklch(0.559 0.216 29.724);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.26 0.037 156.344);
--chart-1: oklch(0.26 0.037 156.344);
--chart-2: oklch(0.213 0.043 301.32);
--chart-3: oklch(0.242 0.026 54.857);
--chart-4: oklch(0.24 0.051 301.072);
--chart-5: oklch(0.262 0.04 156.015);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.011 160.165);
--foreground: oklch(1 0 180);
--muted: oklch(0.191 0.023 302.601);
--muted-foreground: oklch(0.766 0.011 304.141);
--popover: oklch(0.137 0.011 160.165);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.137 0.011 160.165);
--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.26 0.037 156.344);
--primary-foreground: oklch(0.816 0.067 158.182);
--secondary: oklch(0.213 0.043 301.32);
--secondary-foreground: oklch(0.736 0.074 302.889);
--accent: oklch(0.242 0.026 54.857);
--accent-foreground: oklch(0.786 0.044 55.65);
--destructive: oklch(0.632 0.214 28.821);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.26 0.037 156.344);
--chart-1: oklch(0.26 0.037 156.344);
--chart-2: oklch(0.213 0.043 301.32);
--chart-3: oklch(0.242 0.026 54.857);
--chart-4: oklch(0.24 0.051 301.072);
--chart-5: oklch(0.262 0.04 156.015);
}