Itchy is a shadcn/ui theme built around a muted deep pink primary color (#4e4146) with muted deep blue accents (#41464e). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep pink primary (#4e4146) on a pink-tinted background (#0e0609).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0609black |
| Foreground | #040102black | #ffffffwhite |
| Card | #fcfcfcsnow | #12070bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #0e0609black |
| Popover foreground | #040102black | #ffffffwhite |
| Primary | #4e4146darkslategray | #4e4146darkslategray |
| Primary foreground | #e3dee0gainsboro | #e3dee0gainsboro |
| Secondary | #464e41darkslategray | #464e41darkslategray |
| Secondary foreground | #e0e3degainsboro | #e0e3degainsboro |
| Muted | #e9f1e4beige | #131b0eblack |
| Muted foreground | #464b44darkslategray | #b7bbb4silver |
| Accent | #41464edarkslategray | #41464edarkslategray |
| Accent foreground | #dee0e3gainsboro | #dee0e3gainsboro |
| Destructive | #7a2205maroon | #eb420aorangered |
| Destructive foreground | #fcc7b6peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4e4146darkslategray | #4e4146darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.78:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 7.71:1 | AAA |
| Accent | 7.20:1 | AAA |
| Destructive | 6.75:1 | AA |
| Text on background | 20.01:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 9.08:1 | AAA |
| Accent | 7.20:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Itchy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.082 0.019 352.103);
--muted: oklch(0.948 0.018 133.726);
--muted-foreground: oklch(0.406 0.013 133.81);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.082 0.019 352.103);
--card: oklch(0.992 0 161.565);
--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.39 0.019 353.941);
--primary-foreground: oklch(0.904 0.007 352.783);
--secondary: oklch(0.412 0.023 133.974);
--secondary-foreground: oklch(0.912 0.008 133.663);
--accent: oklch(0.392 0.015 261.457);
--accent-foreground: oklch(0.905 0.005 261.512);
--destructive: oklch(0.391 0.127 36.597);
--destructive-foreground: oklch(0.872 0.065 39.239);
--ring: oklch(0.39 0.019 353.941);
--chart-1: oklch(0.39 0.019 353.941);
--chart-2: oklch(0.412 0.023 133.974);
--chart-3: oklch(0.392 0.015 261.457);
--chart-4: oklch(0.441 0.025 133.98);
--chart-5: oklch(0.388 0.026 354.403);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.018 353.726);
--foreground: oklch(1 0 180);
--muted: oklch(0.208 0.026 134.489);
--muted-foreground: oklch(0.787 0.011 133.694);
--popover: oklch(0.137 0.018 353.726);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.149 0.021 355.586);
--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.39 0.019 353.941);
--primary-foreground: oklch(0.904 0.007 352.783);
--secondary: oklch(0.412 0.023 133.974);
--secondary-foreground: oklch(0.912 0.008 133.663);
--accent: oklch(0.392 0.015 261.457);
--accent-foreground: oklch(0.905 0.005 261.512);
--destructive: oklch(0.624 0.213 35.437);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.39 0.019 353.941);
--chart-1: oklch(0.39 0.019 353.941);
--chart-2: oklch(0.412 0.023 133.974);
--chart-3: oklch(0.392 0.015 261.457);
--chart-4: oklch(0.441 0.025 133.98);
--chart-5: oklch(0.388 0.026 354.403);
}