Whirlwind is a shadcn/ui theme built around a red primary color (#e49c95) with orange accents (#e4c395). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the red primary (#e49c95) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf8f7snow | #000000black |
| Foreground | #040101black | #fcf8f8snow |
| Card | #fbf4f3lavenderblush | #030303black |
| Card foreground | #000000black | #fdfcfbsnow |
| Popover | #fdf8f7snow | #000000black |
| Popover foreground | #040101black | #fcf8f8snow |
| Primary | #e49c95darksalmon | #e49c95darksalmon |
| Primary foreground | #39120eblack | #39120eblack |
| Secondary | #e495b6plum | #e495b6plum |
| Secondary foreground | #390e20black | #390e20black |
| Muted | #ece4e7linen | #1b1316black |
| Muted foreground | #66525adimgray | #ad99a2darkgray |
| Accent | #e4c395burlywood | #e4c395burlywood |
| Accent foreground | #39270eblack | #39270eblack |
| Destructive | #a23506saddlebrown | #f76222chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e49c95darksalmon | #e49c95darksalmon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.69:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 5.76:1 | AA |
| Accent | 8.55:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 6.82:1 | AA |
| Accent | 8.55:1 | AAA |
| Destructive | 6.70:1 | AA |
Paste this into your globals.css to use Whirlwind in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 23.633);
--foreground: oklch(0.084 0.014 29.322);
--muted: oklch(0.926 0.009 349.956);
--muted-foreground: oklch(0.461 0.03 351.399);
--popover: oklch(0.982 0.005 23.633);
--popover-foreground: oklch(0.084 0.014 29.322);
--card: oklch(0.973 0.008 23.661);
--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.761 0.089 25.097);
--primary-foreground: oklch(0.245 0.063 27.854);
--secondary: oklch(0.759 0.104 353.263);
--secondary-foreground: oklch(0.244 0.071 357.954);
--accent: oklch(0.836 0.072 75.822);
--accent-foreground: oklch(0.289 0.047 73.228);
--destructive: oklch(0.485 0.153 38.671);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.761 0.089 25.097);
--chart-1: oklch(0.761 0.089 25.097);
--chart-2: oklch(0.759 0.104 353.263);
--chart-3: oklch(0.836 0.072 75.822);
--chart-4: oklch(0.786 0.091 352.721);
--chart-5: oklch(0.76 0.093 25.199);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.004 23.62);
--muted: oklch(0.198 0.014 351.583);
--muted-foreground: oklch(0.704 0.027 350.7);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.004 23.62);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 23.6);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.761 0.089 25.097);
--primary-foreground: oklch(0.245 0.063 27.854);
--secondary: oklch(0.759 0.104 353.263);
--secondary-foreground: oklch(0.244 0.071 357.954);
--accent: oklch(0.836 0.072 75.822);
--accent-foreground: oklch(0.289 0.047 73.228);
--destructive: oklch(0.679 0.196 40.341);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.761 0.089 25.097);
--chart-1: oklch(0.761 0.089 25.097);
--chart-2: oklch(0.759 0.104 353.263);
--chart-3: oklch(0.836 0.072 75.822);
--chart-4: oklch(0.786 0.091 352.721);
--chart-5: oklch(0.76 0.093 25.199);
}