Zampone is a shadcn/ui theme built around a vivid purple primary color (#f47bec) with vivid teal accents (#7becf4). The light mode uses a neutral background (#fdf7fc). Dark mode keeps the vivid purple primary (#f47bec) on a neutral background (#040104).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fcsnow | #040104black |
| Foreground | #040104black | #ffffffwhite |
| Card | #fcf3fblavenderblush | #080208black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdf7fcsnow | #040104black |
| Popover foreground | #040104black | #ffffffwhite |
| Primary | #f47becviolet | #f47becviolet |
| Primary foreground | #390535midnightblue | #390535midnightblue |
| Secondary | #ecf47bkhaki | #ecf47bkhaki |
| Secondary foreground | #353905darkgreen | #353905darkgreen |
| Muted | #e6e8cfgainsboro | #2f3017darkslategray |
| Muted foreground | #63654edimgray | #b0b19adarkgray |
| Accent | #7becf4lightskyblue | #7becf4lightskyblue |
| Accent foreground | #053539darkslategray | #053539darkslategray |
| Destructive | #881d07darkred | #f44b2atomato |
| Destructive foreground | #fccec5pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f47becviolet | #f47becviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.66:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 7.13:1 | AAA |
| Secondary button | 10.25:1 | AAA |
| Muted text | 4.79:1 | AA |
| Accent | 9.63:1 | AAA |
| Destructive | 6.66:1 | AA |
| Text on background | 20.76:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 7.13:1 | AAA |
| Secondary button | 10.25:1 | AAA |
| Muted text | 6.16:1 | AA |
| Accent | 9.63:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Zampone in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 327.637);
--foreground: oklch(0.084 0.027 329.383);
--muted: oklch(0.922 0.033 110.139);
--muted-foreground: oklch(0.498 0.035 110.767);
--popover: oklch(0.982 0.009 327.637);
--popover-foreground: oklch(0.084 0.027 329.383);
--card: oklch(0.973 0.014 327.683);
--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.759 0.2 329.874);
--primary-foreground: oklch(0.243 0.101 331.209);
--secondary: oklch(0.938 0.145 112.294);
--secondary-foreground: oklch(0.329 0.07 113.591);
--accent: oklch(0.88 0.104 201.598);
--accent-foreground: oklch(0.301 0.048 202.34);
--destructive: oklch(0.41 0.145 32.709);
--destructive-foreground: oklch(0.889 0.054 31.285);
--ring: oklch(0.759 0.2 329.874);
--chart-1: oklch(0.759 0.2 329.874);
--chart-2: oklch(0.938 0.145 112.294);
--chart-3: oklch(0.88 0.104 201.598);
--chart-4: oklch(0.943 0.132 112.014);
--chart-5: oklch(0.76 0.206 329.94);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.021 328.987);
--foreground: oklch(1 0 180);
--muted: oklch(0.301 0.041 111.927);
--muted-foreground: oklch(0.754 0.032 110.264);
--popover: oklch(0.086 0.021 328.987);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.108 0.026 328.987);
--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.759 0.2 329.874);
--primary-foreground: oklch(0.243 0.101 331.209);
--secondary: oklch(0.938 0.145 112.294);
--secondary-foreground: oklch(0.329 0.07 113.591);
--accent: oklch(0.88 0.104 201.598);
--accent-foreground: oklch(0.301 0.048 202.34);
--destructive: oklch(0.649 0.21 33.132);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.759 0.2 329.874);
--chart-1: oklch(0.759 0.2 329.874);
--chart-2: oklch(0.938 0.145 112.294);
--chart-3: oklch(0.88 0.104 201.598);
--chart-4: oklch(0.943 0.132 112.014);
--chart-5: oklch(0.76 0.206 329.94);
}