Dry is a shadcn/ui theme built around a vivid green primary color (#25ce12) with vivid red accents (#ce1225). The light mode uses a neutral background (#f7fdf6). Dark mode keeps the vivid green primary (#25ce12) on a green-tinted background (#040c04).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf6mintcream | #040c04black |
| Foreground | #051603black | #f9fbf8mintcream |
| Card | #f7fdf6mintcream | #040c04black |
| Card foreground | #051603black | #f9fbf8mintcream |
| Popover | #f7fdf6mintcream | #040c04black |
| Popover foreground | #051603black | #f9fbf8mintcream |
| Primary | #25ce12limegreen | #25ce12limegreen |
| Primary foreground | #031302black | #031302black |
| Secondary | #1225cemediumblue | #1225cemediumblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f0f1f4whitesmoke | #0b0b0fblack |
| Muted foreground | #4d4d4ddarkslategray | #b3b3b3darkgray |
| Accent | #ce1225crimson | #ce1225crimson |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #e32802orangered | #fd4521orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #25ce12limegreen | #25ce12limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.16:1 | AAA |
| Text on card | 18.16:1 | AAA |
| Primary button | 9.07:1 | AAA |
| Secondary button | 9.61:1 | AAA |
| Muted text | 7.46:1 | AAA |
| Accent | 5.60:1 | AA |
| Destructive | 4.59:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 9.07:1 | AAA |
| Secondary button | 9.61:1 | AAA |
| Muted text | 9.37:1 | AAA |
| Accent | 5.60:1 | AA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Dry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.011 142.582);
--foreground: oklch(0.18 0.047 140.763);
--muted: oklch(0.957 0.005 281.199);
--muted-foreground: oklch(0.418 0 173.29);
--popover: oklch(0.988 0.011 142.582);
--popover-foreground: oklch(0.18 0.047 140.763);
--card: oklch(0.988 0.011 142.582);
--card-foreground: oklch(0.18 0.047 140.763);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.742 0.245 141.97);
--primary-foreground: oklch(0.165 0.046 140.334);
--secondary: oklch(0.414 0.248 265.939);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.542 0.213 25.152);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.59 0.223 31.849);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.742 0.245 141.97);
--chart-1: oklch(0.742 0.245 141.97);
--chart-2: oklch(0.414 0.248 265.939);
--chart-3: oklch(0.542 0.213 25.152);
--chart-4: oklch(0.434 0.261 265.854);
--chart-5: oklch(0.751 0.249 142.014);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.024 141.051);
--foreground: oklch(0.986 0.005 142.608);
--muted: oklch(0.151 0.008 280.337);
--muted-foreground: oklch(0.765 0 172.405);
--popover: oklch(0.14 0.024 141.051);
--popover-foreground: oklch(0.986 0.005 142.608);
--card: oklch(0.14 0.024 141.051);
--card-foreground: oklch(0.986 0.005 142.608);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.742 0.245 141.97);
--primary-foreground: oklch(0.165 0.046 140.334);
--secondary: oklch(0.414 0.248 265.939);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.542 0.213 25.152);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.658 0.224 32.933);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.742 0.245 141.97);
--chart-1: oklch(0.742 0.245 141.97);
--chart-2: oklch(0.414 0.248 265.939);
--chart-3: oklch(0.542 0.213 25.152);
--chart-4: oklch(0.434 0.261 265.854);
--chart-5: oklch(0.751 0.249 142.014);
}