Whirlwind is a shadcn/ui theme built around a light teal primary color (#e8f3f1) with muted light teal accents (#b6ceca). The light mode uses a neutral background (#fbfefd). Dark mode keeps the light teal primary (#e8f3f1) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #010403black |
| Foreground | #04100eblack | #f6f9f8whitesmoke |
| Card | #f8fcfbmintcream | #030707black |
| Card foreground | #030c0bblack | #f9fbfbghostwhite |
| Popover | #f8fcfbmintcream | #030707black |
| Popover foreground | #030c0bblack | #f9fbfbghostwhite |
| Primary | #e8f3f1whitesmoke | #e8f3f1whitesmoke |
| Primary foreground | #172b28darkslategray | #172b28darkslategray |
| Secondary | #c7d6d3lightgrey | #2d2f2fdarkslategray |
| Secondary foreground | #2e3e3bdarkslategray | #c6c8c8silver |
| Muted | #dfecealavender | #13201eblack |
| Muted foreground | #405451darkslategray | #abbfbcsilver |
| Accent | #b6cecasilver | #3a4544darkslategray |
| Accent foreground | #21312edarkslategray | #d5dcdbgainsboro |
| Destructive | #b30900darkred | #ff2f24orangered |
| Destructive foreground | #ffe7e6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e8f3f1whitesmoke | #e8f3f1whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 13.07:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 6.63:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 6.05:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 13.07:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 8.73:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Whirlwind in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 185.388);
--foreground: oklch(0.16 0.019 183.124);
--muted: oklch(0.932 0.013 185.074);
--muted-foreground: oklch(0.429 0.026 183.765);
--popover: oklch(0.988 0.005 185.327);
--popover-foreground: oklch(0.143 0.016 184.52);
--card: oklch(0.988 0.005 185.327);
--card-foreground: oklch(0.143 0.016 184.52);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.954 0.012 185.12);
--primary-foreground: oklch(0.272 0.027 182.442);
--secondary: oklch(0.864 0.016 184.959);
--secondary-foreground: oklch(0.347 0.021 183.748);
--accent: oklch(0.832 0.027 184.584);
--accent-foreground: oklch(0.298 0.022 183.344);
--destructive: oklch(0.483 0.195 29.842);
--destructive-foreground: oklch(0.946 0.027 21.261);
--ring: oklch(0.954 0.012 185.12);
--chart-1: oklch(0.954 0.012 185.12);
--chart-2: oklch(0.864 0.016 184.959);
--chart-3: oklch(0.832 0.027 184.584);
--chart-4: oklch(0.886 0.013 185.049);
--chart-5: oklch(0.955 0.013 185.088);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.009 185.181);
--foreground: oklch(0.979 0.003 185.361);
--muted: oklch(0.23 0.018 183.264);
--muted-foreground: oklch(0.789 0.023 184.668);
--popover: oklch(0.123 0.011 185.181);
--popover-foreground: oklch(0.986 0.002 185.391);
--card: oklch(0.123 0.011 185.181);
--card-foreground: oklch(0.986 0.002 185.391);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.954 0.012 185.12);
--primary-foreground: oklch(0.272 0.027 182.442);
--secondary: oklch(0.303 0.003 185.219);
--secondary-foreground: oklch(0.831 0.003 185.37);
--accent: oklch(0.381 0.015 184.373);
--accent-foreground: oklch(0.889 0.008 185.225);
--destructive: oklch(0.645 0.241 29.041);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.954 0.012 185.12);
--chart-1: oklch(0.954 0.012 185.12);
--chart-2: oklch(0.303 0.003 185.219);
--chart-3: oklch(0.381 0.015 184.373);
--chart-4: oklch(0.333 0.003 185.212);
--chart-5: oklch(0.955 0.013 185.088);
}