Windy is a shadcn/ui theme built around a deep orange primary color (#391d14) with deep cyan accents (#143039). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#391d14) on an orange-tinted background (#0c0503).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0503black |
| Foreground | #040201black | #ffffffwhite |
| Card | #fcfcfcsnow | #100704black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #100704black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #391d14black | #391d14black |
| Primary foreground | #deb0a0tan | #deb0a0tan |
| Secondary | #143039darkslategray | #143039darkslategray |
| Secondary foreground | #a0cfdelightblue | #a0cfdelightblue |
| Muted | #dae3e7gainsboro | #182225black |
| Muted foreground | #4f5354darkslategray | #abafb0darkgray |
| Accent | #143039darkslategray | #143039darkslategray |
| Accent foreground | #a0cfdelightblue | #a0cfdelightblue |
| Destructive | #a64811saddlebrown | #d45c16chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #391d14black | #391d14black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.70:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 8.29:1 | AAA |
| Destructive | 5.89:1 | AA |
| Text on background | 20.17:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 7.34:1 | AAA |
| Accent | 8.29:1 | AAA |
| Destructive | 3.92: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.089 0.01 46.59);
--muted: oklch(0.911 0.011 219.597);
--muted-foreground: oklch(0.439 0.005 219.597);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.266 0.047 39.13);
--primary-foreground: oklch(0.794 0.059 39.239);
--secondary: oklch(0.29 0.038 222.315);
--secondary-foreground: oklch(0.826 0.054 220.278);
--accent: oklch(0.29 0.038 222.315);
--accent-foreground: oklch(0.826 0.054 220.278);
--destructive: oklch(0.517 0.139 45.172);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.266 0.047 39.13);
--chart-1: oklch(0.266 0.047 39.13);
--chart-2: oklch(0.29 0.038 222.315);
--chart-3: oklch(0.29 0.038 222.315);
--chart-4: oklch(0.325 0.044 222.529);
--chart-5: oklch(0.267 0.05 39.097);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.016 47.078);
--foreground: oklch(1 0 180);
--muted: oklch(0.243 0.014 220.175);
--muted-foreground: oklch(0.75 0.005 219.551);
--popover: oklch(0.142 0.019 45.229);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.142 0.019 45.229);
--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.266 0.047 39.13);
--primary-foreground: oklch(0.794 0.059 39.239);
--secondary: oklch(0.29 0.038 222.315);
--secondary-foreground: oklch(0.826 0.054 220.278);
--accent: oklch(0.29 0.038 222.315);
--accent-foreground: oklch(0.826 0.054 220.278);
--destructive: oklch(0.618 0.169 44.745);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.266 0.047 39.13);
--chart-1: oklch(0.266 0.047 39.13);
--chart-2: oklch(0.29 0.038 222.315);
--chart-3: oklch(0.29 0.038 222.315);
--chart-4: oklch(0.325 0.044 222.529);
--chart-5: oklch(0.267 0.05 39.097);
}