Windy is a shadcn/ui theme built around a vivid indigo primary color (#3c1ded) with vivid green accents (#cded1d). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid indigo primary (#3c1ded) on an indigo-tinted background (#05030c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05030cblack |
| Foreground | #05030cblack | #f9f9fbghostwhite |
| Card | #fcfcfcsnow | #060410black |
| Card foreground | #030208black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #060410black |
| Popover foreground | #030208black | #fcfcfdwhite |
| Primary | #3c1dedblue | #3c1dedblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cded1dgreenyellow | #cded1dgreenyellow |
| Secondary foreground | #313905darkgreen | #313905darkgreen |
| Muted | #f3f4f0whitesmoke | #0e0f0bblack |
| Muted foreground | #6b6d5fdimgray | #9ea092darkgray |
| Accent | #cded1dgreenyellow | #cded1dgreenyellow |
| Accent foreground | #313905darkgreen | #313905darkgreen |
| Destructive | #672804maroon | #dd5608chocolate |
| Destructive foreground | #fcc3a1navajowhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c1dedblue | #3c1dedblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.49:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 8.13:1 | AAA |
| Secondary button | 9.13:1 | AAA |
| Muted text | 4.78:1 | AA |
| Accent | 9.13:1 | AAA |
| Destructive | 7.12:1 | AAA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 8.13:1 | AAA |
| Secondary button | 9.13:1 | AAA |
| Muted text | 7.25:1 | AAA |
| Accent | 9.13:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Windy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.11 0.025 291.263);
--muted: oklch(0.966 0.005 113.398);
--muted-foreground: oklch(0.529 0.022 114.075);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.096 0.022 291.411);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.096 0.022 291.411);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.461 0.275 273.704);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.891 0.205 119.053);
--secondary-foreground: oklch(0.325 0.072 118.244);
--accent: oklch(0.891 0.205 119.053);
--accent-foreground: oklch(0.325 0.072 118.244);
--destructive: oklch(0.364 0.101 44.869);
--destructive-foreground: oklch(0.859 0.079 51.396);
--ring: oklch(0.461 0.275 273.704);
--chart-1: oklch(0.461 0.275 273.704);
--chart-2: oklch(0.891 0.205 119.053);
--chart-3: oklch(0.891 0.205 119.053);
--chart-4: oklch(0.896 0.2 118.599);
--chart-5: oklch(0.461 0.281 272.836);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.025 291.323);
--foreground: oklch(0.982 0.003 293.252);
--muted: oklch(0.164 0.007 114.135);
--muted-foreground: oklch(0.7 0.02 113.851);
--popover: oklch(0.122 0.029 290.532);
--popover-foreground: oklch(0.991 0.001 293.279);
--card: oklch(0.122 0.029 290.532);
--card-foreground: oklch(0.991 0.001 293.279);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.461 0.275 273.704);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.891 0.205 119.053);
--secondary-foreground: oklch(0.325 0.072 118.244);
--accent: oklch(0.891 0.205 119.053);
--accent-foreground: oklch(0.325 0.072 118.244);
--destructive: oklch(0.624 0.184 42.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.461 0.275 273.704);
--chart-1: oklch(0.461 0.275 273.704);
--chart-2: oklch(0.891 0.205 119.053);
--chart-3: oklch(0.891 0.205 119.053);
--chart-4: oklch(0.896 0.2 118.599);
--chart-5: oklch(0.461 0.281 272.836);
}