Illiteracy is a shadcn/ui theme built around a muted light green primary color (#c6d3b1) with muted light pink accents (#d3b1c6). The light mode uses a neutral background (#fdfefb). Dark mode keeps the muted light green primary (#c6d3b1) on a green-tinted background (#080a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #080a05black |
| Foreground | #0c0f05black | #ffffffwhite |
| Card | #fbfdf7snow | #0b0e07black |
| Card foreground | #090b04black | #ffffffwhite |
| Popover | #fdfefbwhite | #080a05black |
| Popover foreground | #0c0f05black | #ffffffwhite |
| Primary | #c6d3b1silver | #c6d3b1silver |
| Primary foreground | #2c341ddarkslategray | #2c341ddarkslategray |
| Secondary | #b1c6d3lightsteelblue | #b1c6d3lightsteelblue |
| Secondary foreground | #1d2c34darkslategray | #1d2c34darkslategray |
| Muted | #e1e7ealavender | #151b1eblack |
| Muted foreground | #474b4ddarkslategray | #b2b6b8silver |
| Accent | #d3b1c6thistle | #d3b1c6thistle |
| Accent foreground | #341d2cdarkslategray | #341d2cdarkslategray |
| Destructive | #7d340csaddlebrown | #d15715chocolate |
| Destructive foreground | #f9d6c3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c6d3b1silver | #c6d3b1silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.10:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 8.26:1 | AAA |
| Secondary button | 8.14:1 | AAA |
| Muted text | 7.04:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 8.26:1 | AAA |
| Secondary button | 8.14:1 | AAA |
| Muted text | 8.52:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Illiteracy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 122.996);
--foreground: oklch(0.162 0.023 124.003);
--muted: oklch(0.924 0.008 232.705);
--muted-foreground: oklch(0.409 0.006 232.794);
--popover: oklch(0.995 0.004 122.996);
--popover-foreground: oklch(0.162 0.023 124.003);
--card: oklch(0.991 0.009 123.064);
--card-foreground: oklch(0.145 0.02 122.637);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.848 0.048 123.813);
--primary-foreground: oklch(0.311 0.04 125.054);
--secondary: oklch(0.815 0.03 233.132);
--secondary-foreground: oklch(0.283 0.025 234.201);
--accent: oklch(0.796 0.049 339.99);
--accent-foreground: oklch(0.268 0.043 341.883);
--destructive: oklch(0.421 0.113 44.234);
--destructive-foreground: oklch(0.9 0.047 50.031);
--ring: oklch(0.848 0.048 123.813);
--chart-1: oklch(0.848 0.048 123.813);
--chart-2: oklch(0.815 0.03 233.132);
--chart-3: oklch(0.796 0.049 339.99);
--chart-4: oklch(0.839 0.026 233.039);
--chart-5: oklch(0.852 0.053 123.904);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.013 122.59);
--foreground: oklch(1 0 180);
--muted: oklch(0.217 0.012 233.438);
--muted-foreground: oklch(0.773 0.005 232.675);
--popover: oklch(0.141 0.013 122.59);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.015 123.726);
--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.848 0.048 123.813);
--primary-foreground: oklch(0.311 0.04 125.054);
--secondary: oklch(0.815 0.03 233.132);
--secondary-foreground: oklch(0.283 0.025 234.201);
--accent: oklch(0.796 0.049 339.99);
--accent-foreground: oklch(0.268 0.043 341.883);
--destructive: oklch(0.605 0.17 43.285);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.848 0.048 123.813);
--chart-1: oklch(0.848 0.048 123.813);
--chart-2: oklch(0.815 0.03 233.132);
--chart-3: oklch(0.796 0.049 339.99);
--chart-4: oklch(0.839 0.026 233.039);
--chart-5: oklch(0.852 0.053 123.904);
}