Woozy is a shadcn/ui theme built around a vivid deep purple primary color (#260226) with vivid deep teal accents (#022626). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep purple primary (#260226) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0d020dblack | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0d020dblack | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0d020dblack | #ffffffwhite |
| Primary | #260226black | #260226black |
| Primary foreground | #f566f5violet | #f566f5violet |
| Secondary | #262602black | #262602black |
| Secondary foreground | #e6e60fgold | #e6e60fgold |
| Muted | #e7e7d5gainsboro | #2a2a18black |
| Muted foreground | #595959dimgray | #a6a6a6darkgray |
| Accent | #022626black | #022626black |
| Accent foreground | #0fe6e6darkturquoise | #0fe6e6darkturquoise |
| Destructive | #bf1903firebrick | #fc4931tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #260226black | #260226black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.35:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 11.48:1 | AAA |
| Muted text | 5.60:1 | AA |
| Accent | 10.26:1 | AAA |
| Destructive | 6.26:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 11.48:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 10.26:1 | AAA |
| Destructive | 3.42:1 | AA Large |
Paste this into your globals.css to use Woozy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.122 0.039 327.623);
--muted: oklch(0.923 0.025 106.873);
--muted-foreground: oklch(0.465 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.122 0.039 327.623);
--card: oklch(1 0 180);
--card-foreground: oklch(0.122 0.039 327.623);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.194 0.081 328.159);
--primary-foreground: oklch(0.739 0.239 327.659);
--secondary: oklch(0.262 0.054 109.603);
--secondary-foreground: oklch(0.896 0.193 109.743);
--accent: oklch(0.246 0.04 194.88);
--accent-foreground: oklch(0.838 0.142 194.786);
--destructive: oklch(0.514 0.199 30.8);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.194 0.081 328.159);
--chart-1: oklch(0.194 0.081 328.159);
--chart-2: oklch(0.262 0.054 109.603);
--chart-3: oklch(0.246 0.04 194.88);
--chart-4: oklch(0.318 0.066 109.641);
--chart-5: oklch(0.195 0.083 328.213);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.281 0.031 108.263);
--muted-foreground: oklch(0.724 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.194 0.081 328.159);
--primary-foreground: oklch(0.739 0.239 327.659);
--secondary: oklch(0.262 0.054 109.603);
--secondary-foreground: oklch(0.896 0.193 109.743);
--accent: oklch(0.246 0.04 194.88);
--accent-foreground: oklch(0.838 0.142 194.786);
--destructive: oklch(0.661 0.219 30.914);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.194 0.081 328.159);
--chart-1: oklch(0.194 0.081 328.159);
--chart-2: oklch(0.262 0.054 109.603);
--chart-3: oklch(0.246 0.04 194.88);
--chart-4: oklch(0.318 0.066 109.641);
--chart-5: oklch(0.195 0.083 328.213);
}