Winding is a shadcn/ui theme built around a vivid light indigo primary color (#beb6fb) with vivid light green accents (#b6fbbe). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid light indigo primary (#beb6fb) on a neutral background (#020104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #020104black |
| Foreground | #050411black | #f6f6f8whitesmoke |
| Card | #fbfbfeghostwhite | #020104black |
| Card foreground | #050411black | #f6f6f8whitesmoke |
| Popover | #fbfbfeghostwhite | #020104black |
| Popover foreground | #050411black | #f6f6f8whitesmoke |
| Primary | #beb6fblightsteelblue | #beb6fblightsteelblue |
| Primary foreground | #140679midnightblue | #140679midnightblue |
| Secondary | #fbbeb6lightpink | #fbbeb6lightpink |
| Secondary foreground | #791406maroon | #791406maroon |
| Muted | #ebd8d6gainsboro | #291614black |
| Muted foreground | #605857dimgray | #a8a09fdarkgray |
| Accent | #b6fbbepalegreen | #b6fbbepalegreen |
| Accent foreground | #011804black | #011804black |
| Destructive | #d63605orangered | #f95624tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #beb6fblightsteelblue | #beb6fblightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.68:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 8.49:1 | AAA |
| Secondary button | 6.88:1 | AA |
| Muted text | 5.06:1 | AA |
| Accent | 15.49:1 | AAA |
| Destructive | 4.78:1 | AA |
| Text on background | 19.25:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 8.49:1 | AAA |
| Secondary button | 6.88:1 | AA |
| Muted text | 6.69:1 | AA |
| Accent | 15.49:1 | AAA |
| Destructive | 6.39:1 | AA |
Paste this into your globals.css to use Winding in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 291.695);
--foreground: oklch(0.118 0.033 287.848);
--muted: oklch(0.897 0.021 26.613);
--muted-foreground: oklch(0.469 0.011 26.606);
--popover: oklch(0.989 0.004 291.695);
--popover-foreground: oklch(0.118 0.033 287.848);
--card: oklch(0.989 0.004 291.695);
--card-foreground: oklch(0.118 0.033 287.848);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.808 0.097 289.395);
--primary-foreground: oklch(0.275 0.171 270.962);
--secondary: oklch(0.856 0.071 27.222);
--secondary-foreground: oklch(0.374 0.137 31.113);
--accent: oklch(0.927 0.107 147.664);
--accent-foreground: oklch(0.184 0.052 146.168);
--destructive: oklch(0.576 0.202 34.493);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.808 0.097 289.395);
--chart-1: oklch(0.808 0.097 289.395);
--chart-2: oklch(0.856 0.071 27.222);
--chart-3: oklch(0.927 0.107 147.664);
--chart-4: oklch(0.884 0.056 26.995);
--chart-5: oklch(0.806 0.1 289.3);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.081 0.012 290.209);
--foreground: oklch(0.975 0.003 291.721);
--muted: oklch(0.227 0.031 27.953);
--muted-foreground: oklch(0.711 0.01 26.533);
--popover: oklch(0.081 0.012 290.209);
--popover-foreground: oklch(0.975 0.003 291.721);
--card: oklch(0.081 0.012 290.209);
--card-foreground: oklch(0.975 0.003 291.721);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.808 0.097 289.395);
--primary-foreground: oklch(0.275 0.171 270.962);
--secondary: oklch(0.856 0.071 27.222);
--secondary-foreground: oklch(0.374 0.137 31.113);
--accent: oklch(0.927 0.107 147.664);
--accent-foreground: oklch(0.184 0.052 146.168);
--destructive: oklch(0.669 0.208 36.344);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.808 0.097 289.395);
--chart-1: oklch(0.808 0.097 289.395);
--chart-2: oklch(0.856 0.071 27.222);
--chart-3: oklch(0.927 0.107 147.664);
--chart-4: oklch(0.884 0.056 26.995);
--chart-5: oklch(0.806 0.1 289.3);
}