Itchy is a shadcn/ui theme built around a vivid purple primary color (#e782f7) with muted light purple accents (#d5cbd7). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the vivid purple primary (#e782f7) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #000000black |
| Foreground | #0e0510black | #f9f6f9whitesmoke |
| Card | #fdfbfewhite | #000000black |
| Card foreground | #0e0510black | #f9f6f9whitesmoke |
| Popover | #fdfbfewhite | #000000black |
| Popover foreground | #0e0510black | #f9f6f9whitesmoke |
| Primary | #e782f7violet | #e782f7violet |
| Primary foreground | #3b0443midnightblue | #3b0443midnightblue |
| Secondary | #d5cbd7lightgrey | #161316black |
| Secondary foreground | #3d313fdarkslategray | #b3a6b5darkgray |
| Muted | #e2d3e4gainsboro | #2a1b2cdarkslategray |
| Muted foreground | #6f5a72dimgray | #a28da5darkgray |
| Accent | #d5cbd7lightgrey | #161316black |
| Accent foreground | #3d313fdarkslategray | #b3a6b5darkgray |
| Destructive | #9a360esaddlebrown | #ee7444coral |
| Destructive foreground | #fce7demistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e782f7violet | #e782f7violet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 4.32:1 | AA Large |
| Accent | 7.82:1 | AAA |
| Destructive | 6.06:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 7.95:1 | AAA |
| Muted text | 5.32:1 | AA |
| Accent | 7.95:1 | AAA |
| Destructive | 7.22:1 | AAA |
Paste this into your globals.css to use Itchy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 321.604);
--foreground: oklch(0.136 0.031 322.608);
--muted: oklch(0.883 0.028 321.681);
--muted-foreground: oklch(0.497 0.046 321.84);
--popover: oklch(0.991 0.004 321.604);
--popover-foreground: oklch(0.136 0.031 322.608);
--card: oklch(0.991 0.004 321.604);
--card-foreground: oklch(0.136 0.031 322.608);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.759 0.19 322.122);
--primary-foreground: oklch(0.258 0.114 321.754);
--secondary: oklch(0.854 0.02 321.657);
--secondary-foreground: oklch(0.332 0.03 321.837);
--accent: oklch(0.854 0.02 321.657);
--accent-foreground: oklch(0.332 0.03 321.837);
--destructive: oklch(0.472 0.142 38.947);
--destructive-foreground: oklch(0.942 0.026 42.903);
--ring: oklch(0.759 0.19 322.122);
--chart-1: oklch(0.759 0.19 322.122);
--chart-2: oklch(0.854 0.02 321.657);
--chart-3: oklch(0.854 0.02 321.657);
--chart-4: oklch(0.879 0.016 321.644);
--chart-5: oklch(0.759 0.196 322.128);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.005 321.607);
--muted: oklch(0.249 0.038 321.974);
--muted-foreground: oklch(0.67 0.043 321.767);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.005 321.607);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.005 321.607);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.759 0.19 322.122);
--primary-foreground: oklch(0.258 0.114 321.754);
--secondary: oklch(0.19 0.009 321.72);
--secondary-foreground: oklch(0.741 0.025 321.687);
--accent: oklch(0.19 0.009 321.72);
--accent-foreground: oklch(0.741 0.025 321.687);
--destructive: oklch(0.694 0.163 41.254);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.759 0.19 322.122);
--chart-1: oklch(0.759 0.19 322.122);
--chart-2: oklch(0.19 0.009 321.72);
--chart-3: oklch(0.19 0.009 321.72);
--chart-4: oklch(0.223 0.012 321.736);
--chart-5: oklch(0.759 0.196 322.128);
}