Ignorant is a shadcn/ui theme built around an indigo primary color (#7b80e0) with green accents (#80e07b). The light mode uses a neutral background (#f7f8fc). Dark mode keeps the indigo primary (#7b80e0) on a neutral background (#030307).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fcghostwhite | #030307black |
| Foreground | #03030cblack | #fcfcfdwhite |
| Card | #f4f4fbwhitesmoke | #05050bblack |
| Card foreground | #020208black | #ffffffwhite |
| Popover | #f7f8fcghostwhite | #030307black |
| Popover foreground | #03030cblack | #fcfcfdwhite |
| Primary | #7b80e0mediumslateblue | #7b80e0mediumslateblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #e07b80lightcoral | #e07b80lightcoral |
| Secondary foreground | #210809black | #210809black |
| Muted | #e9dddegainsboro | #221617black |
| Muted foreground | #564344darkslategray | #bca9aadarkgray |
| Accent | #80e07blightgreen | #80e07blightgreen |
| Accent foreground | #092108black | #092108black |
| Destructive | #7e0907maroon | #f43734crimson |
| Destructive foreground | #fbbcbblightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7b80e0mediumslateblue | #7b80e0mediumslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.32:1 | AAA |
| Text on card | 18.87:1 | AAA |
| Primary button | 5.99:1 | AA |
| Secondary button | 6.61:1 | AA |
| Muted text | 6.95:1 | AA |
| Accent | 10.43:1 | AAA |
| Destructive | 6.75:1 | AA |
| Text on background | 20.05:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 5.99:1 | AA |
| Secondary button | 6.61:1 | AA |
| Muted text | 7.84:1 | AAA |
| Accent | 10.43:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Ignorant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.006 283.857);
--foreground: oklch(0.107 0.026 277.346);
--muted: oklch(0.908 0.012 13.877);
--muted-foreground: oklch(0.403 0.028 15.009);
--popover: oklch(0.979 0.006 283.857);
--popover-foreground: oklch(0.107 0.026 277.346);
--card: oklch(0.969 0.01 283.797);
--card-foreground: oklch(0.094 0.023 277.367);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.639 0.143 279.268);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.696 0.125 17.68);
--secondary-foreground: oklch(0.178 0.044 19.408);
--accent: oklch(0.824 0.165 142.889);
--accent-foreground: oklch(0.221 0.055 142.501);
--destructive: oklch(0.377 0.148 28.778);
--destructive-foreground: oklch(0.853 0.073 19.815);
--ring: oklch(0.639 0.143 279.268);
--chart-1: oklch(0.639 0.143 279.268);
--chart-2: oklch(0.696 0.125 17.68);
--chart-3: oklch(0.824 0.165 142.889);
--chart-4: oklch(0.722 0.112 17.033);
--chart-5: oklch(0.634 0.149 278.953);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.014 280.647);
--foreground: oklch(0.991 0.002 283.941);
--muted: oklch(0.217 0.018 15.352);
--muted-foreground: oklch(0.751 0.023 14.225);
--popover: oklch(0.103 0.014 280.647);
--popover-foreground: oklch(0.991 0.002 283.941);
--card: oklch(0.118 0.016 280.647);
--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.639 0.143 279.268);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.696 0.125 17.68);
--secondary-foreground: oklch(0.178 0.044 19.408);
--accent: oklch(0.824 0.165 142.889);
--accent-foreground: oklch(0.221 0.055 142.501);
--destructive: oklch(0.633 0.225 27.219);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.639 0.143 279.268);
--chart-1: oklch(0.639 0.143 279.268);
--chart-2: oklch(0.696 0.125 17.68);
--chart-3: oklch(0.824 0.165 142.889);
--chart-4: oklch(0.722 0.112 17.033);
--chart-5: oklch(0.634 0.149 278.953);
}