Ill-informed is a shadcn/ui theme built around a muted deep purple primary color (#4c324e) with muted deep green accents (#334e32). The light mode uses a neutral background (#fcf7fd). Dark mode keeps the muted deep purple primary (#4c324e) on a neutral background (#080208).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fdghostwhite | #080208black |
| Foreground | #040104black | #fbf9fbsnow |
| Card | #fcf7fdghostwhite | #080208black |
| Card foreground | #040104black | #fbf9fbsnow |
| Popover | #fcf7fdghostwhite | #080208black |
| Popover foreground | #040104black | #fbf9fbsnow |
| Primary | #4c324edarkslategray | #4c324edarkslategray |
| Primary foreground | #e0d0e1gainsboro | #e0d0e1gainsboro |
| Secondary | #334e32darkslategray | #334e32darkslategray |
| Secondary foreground | #d1e1d0lightgrey | #d1e1d0lightgrey |
| Muted | #ebf5ebhoneydew | #0b140ablack |
| Muted foreground | #434743darkslategray | #b8bcb8silver |
| Accent | #334e32darkslategray | #334e32darkslategray |
| Accent foreground | #d1e1d0lightgrey | #d1e1d0lightgrey |
| Destructive | #b91f04firebrick | #f52905orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4c324edarkslategray | #4c324edarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 7.63:1 | AAA |
| Secondary button | 6.77:1 | AA |
| Muted text | 8.44:1 | AAA |
| Accent | 6.77:1 | AA |
| Destructive | 6.44:1 | AA |
| Text on background | 19.59:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.63:1 | AAA |
| Secondary button | 6.77:1 | AA |
| Muted text | 9.75:1 | AAA |
| Accent | 6.77:1 | AA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Ill-informed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 324.183);
--foreground: oklch(0.083 0.027 326.364);
--muted: oklch(0.959 0.016 144.031);
--muted-foreground: oklch(0.393 0.009 144.002);
--popover: oklch(0.982 0.009 324.183);
--popover-foreground: oklch(0.083 0.027 326.364);
--card: oklch(0.982 0.009 324.183);
--card-foreground: oklch(0.083 0.027 326.364);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.359 0.059 325.002);
--primary-foreground: oklch(0.877 0.029 324.317);
--secondary: oklch(0.393 0.057 143.246);
--secondary-foreground: oklch(0.894 0.028 143.942);
--accent: oklch(0.393 0.057 143.246);
--accent-foreground: oklch(0.894 0.028 143.942);
--destructive: oklch(0.506 0.191 31.678);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.359 0.059 325.002);
--chart-1: oklch(0.359 0.059 325.002);
--chart-2: oklch(0.393 0.057 143.246);
--chart-3: oklch(0.393 0.057 143.246);
--chart-4: oklch(0.424 0.062 143.23);
--chart-5: oklch(0.358 0.066 325.104);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.025 325.791);
--foreground: oklch(0.984 0.002 324.144);
--muted: oklch(0.179 0.024 143.305);
--muted-foreground: oklch(0.792 0.007 144.077);
--popover: oklch(0.108 0.025 325.791);
--popover-foreground: oklch(0.984 0.002 324.144);
--card: oklch(0.108 0.025 325.791);
--card-foreground: oklch(0.984 0.002 324.144);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.359 0.059 325.002);
--primary-foreground: oklch(0.877 0.029 324.317);
--secondary: oklch(0.393 0.057 143.246);
--secondary-foreground: oklch(0.894 0.028 143.942);
--accent: oklch(0.393 0.057 143.246);
--accent-foreground: oklch(0.894 0.028 143.942);
--destructive: oklch(0.622 0.237 31.401);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.359 0.059 325.002);
--chart-1: oklch(0.359 0.059 325.002);
--chart-2: oklch(0.393 0.057 143.246);
--chart-3: oklch(0.393 0.057 143.246);
--chart-4: oklch(0.424 0.062 143.23);
--chart-5: oklch(0.358 0.066 325.104);
}