Ignorant is a shadcn/ui theme built around a vivid green primary color (#36da16) with vivid purple accents (#b916da). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#36da16) on a green-tinted background (#070f05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070f05black |
| Foreground | #061004black | #f9fbf9mintcream |
| Card | #ffffffwhite | #070f05black |
| Card foreground | #061004black | #f9fbf9mintcream |
| Popover | #ffffffwhite | #070f05black |
| Popover foreground | #061004black | #f9fbf9mintcream |
| Primary | #36da16limegreen | #36da16limegreen |
| Primary foreground | #082003black | #082003black |
| Secondary | #b916dadarkviolet | #b916dadarkviolet |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f1e7f3lavender | #160c18black |
| Muted foreground | #504e50darkslategray | #b0afb1darkgray |
| Accent | #b916dadarkviolet | #b916dadarkviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b4100efirebrick | #da1410crimson |
| Destructive foreground | #fef6f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #36da16limegreen | #36da16limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 9.20:1 | AAA |
| Secondary button | 5.00:1 | AA |
| Muted text | 6.86:1 | AA |
| Accent | 5.00:1 | AA |
| Destructive | 6.51:1 | AA |
| Text on background | 18.68:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 9.20:1 | AAA |
| Secondary button | 5.00:1 | AA |
| Muted text | 8.75:1 | AAA |
| Accent | 5.00:1 | AA |
| Destructive | 5.13:1 | AA |
Paste this into your globals.css to use Ignorant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.031 139.13);
--muted: oklch(0.94 0.019 320.563);
--muted-foreground: oklch(0.427 0.003 320.543);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.031 139.13);
--card: oklch(1 0 180);
--card-foreground: oklch(0.159 0.031 139.13);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.776 0.251 141.308);
--primary-foreground: oklch(0.218 0.061 139.685);
--secondary: oklch(0.579 0.269 319.441);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.579 0.269 319.441);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.49 0.193 28.757);
--destructive-foreground: oklch(0.979 0.009 18.507);
--ring: oklch(0.776 0.251 141.308);
--chart-1: oklch(0.776 0.251 141.308);
--chart-2: oklch(0.579 0.269 319.441);
--chart-3: oklch(0.579 0.269 319.441);
--chart-4: oklch(0.606 0.282 319.417);
--chart-5: oklch(0.785 0.256 141.393);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.026 139.326);
--foreground: oklch(0.986 0.004 140.526);
--muted: oklch(0.174 0.029 320.741);
--muted-foreground: oklch(0.756 0.003 320.537);
--popover: oklch(0.157 0.026 139.326);
--popover-foreground: oklch(0.986 0.004 140.526);
--card: oklch(0.157 0.026 139.326);
--card-foreground: oklch(0.986 0.004 140.526);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.776 0.251 141.308);
--primary-foreground: oklch(0.218 0.061 139.685);
--secondary: oklch(0.579 0.269 319.441);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.579 0.269 319.441);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.564 0.224 28.855);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.776 0.251 141.308);
--chart-1: oklch(0.776 0.251 141.308);
--chart-2: oklch(0.579 0.269 319.441);
--chart-3: oklch(0.579 0.269 319.441);
--chart-4: oklch(0.606 0.282 319.417);
--chart-5: oklch(0.785 0.256 141.393);
}