Itchy is a shadcn/ui theme built around a vivid yellow primary color (#c18c10) with vivid green accents (#9ec110). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the vivid yellow primary (#c18c10) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbf7snow | #030302black |
| Foreground | #0c0904black | #faf8f5whitesmoke |
| Card | #fdfbf7snow | #030302black |
| Card foreground | #0c0904black | #faf8f5whitesmoke |
| Popover | #fdfbf7snow | #030302black |
| Popover foreground | #0c0904black | #faf8f5whitesmoke |
| Primary | #c18c10darkgoldenrod | #c18c10darkgoldenrod |
| Primary foreground | #050300black | #050300black |
| Secondary | #c13310firebrick | #c13310firebrick |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2efeewhitesmoke | #110e0dblack |
| Muted foreground | #5f5653dimgray | #aca2a0darkgray |
| Accent | #9ec110yellowgreen | #9ec110yellowgreen |
| Accent foreground | #040500black | #040500black |
| Destructive | #770b09maroon | #f0403dtomato |
| Destructive foreground | #fab9b8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c18c10darkgoldenrod | #c18c10darkgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.24:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 5.58:1 | AA |
| Muted text | 6.21:1 | AA |
| Accent | 9.85:1 | AAA |
| Destructive | 6.94:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 5.58:1 | AA |
| Muted text | 7.70:1 | AAA |
| Accent | 9.85:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Itchy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 87.452);
--foreground: oklch(0.142 0.015 92.185);
--muted: oklch(0.953 0.003 34.311);
--muted-foreground: oklch(0.46 0.014 34.301);
--popover: oklch(0.989 0.006 87.452);
--popover-foreground: oklch(0.142 0.015 92.185);
--card: oklch(0.989 0.006 87.452);
--card-foreground: oklch(0.142 0.015 92.185);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.675 0.136 80.746);
--primary-foreground: oklch(0.102 0.018 95.379);
--secondary: oklch(0.538 0.184 34.038);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.759 0.181 122.098);
--accent-foreground: oklch(0.108 0.022 116.344);
--destructive: oklch(0.363 0.14 28.43);
--destructive-foreground: oklch(0.845 0.075 19.877);
--ring: oklch(0.675 0.136 80.746);
--chart-1: oklch(0.675 0.136 80.746);
--chart-2: oklch(0.538 0.184 34.038);
--chart-3: oklch(0.759 0.181 122.098);
--chart-4: oklch(0.566 0.195 33.984);
--chart-5: oklch(0.681 0.139 80.221);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.006 90.678);
--foreground: oklch(0.981 0.005 87.448);
--muted: oklch(0.168 0.005 34.302);
--muted-foreground: oklch(0.72 0.012 34.298);
--popover: oklch(0.096 0.006 90.678);
--popover-foreground: oklch(0.981 0.005 87.448);
--card: oklch(0.096 0.006 90.678);
--card-foreground: oklch(0.981 0.005 87.448);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.675 0.136 80.746);
--primary-foreground: oklch(0.102 0.018 95.379);
--secondary: oklch(0.538 0.184 34.038);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.759 0.181 122.098);
--accent-foreground: oklch(0.108 0.022 116.344);
--destructive: oklch(0.634 0.214 26.517);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.675 0.136 80.746);
--chart-1: oklch(0.675 0.136 80.746);
--chart-2: oklch(0.538 0.184 34.038);
--chart-3: oklch(0.759 0.181 122.098);
--chart-4: oklch(0.566 0.195 33.984);
--chart-5: oklch(0.681 0.139 80.221);
}