Ill is a shadcn/ui theme built around a neutral gray primary color (#6a685c) with neutral gray accents (#5c5f6a). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the neutral gray primary (#6a685c) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #040301black |
| Foreground | #090801black | #fdfdfbsnow |
| Card | #fcfbf8snow | #070703black |
| Card foreground | #040401black | #ffffffwhite |
| Popover | #fcfbf8snow | #070703black |
| Popover foreground | #040401black | #ffffffwhite |
| Primary | #6a685cdimgray | #6a685cdimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5c5f6adimgray | #5c5f6adimgray |
| Secondary foreground | #fcfcfdwhite | #fcfcfdwhite |
| Muted | #ecedf4lavender | #0b0d13black |
| Muted foreground | #5c5d60dimgray | #9f9fa3darkgray |
| Accent | #5c5f6adimgray | #5c5f6adimgray |
| Accent foreground | #fcfcfdwhite | #fcfcfdwhite |
| Destructive | #c93f0dfirebrick | #dd450eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6a685cdimgray | #6a685cdimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 5.57:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 5.63:1 | AA |
| Accent | 6.22:1 | AA |
| Destructive | 4.98:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 5.57:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 7.37:1 | AAA |
| Accent | 6.22:1 | AA |
| Destructive | 4.26:1 | AA Large |
Paste this into your globals.css to use Ill in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 98.346);
--foreground: oklch(0.131 0.021 102.877);
--muted: oklch(0.947 0.009 278.177);
--muted-foreground: oklch(0.479 0.005 278.161);
--popover: oklch(0.988 0.004 98.374);
--popover-foreground: oklch(0.104 0.017 102.877);
--card: oklch(0.988 0.004 98.374);
--card-foreground: oklch(0.104 0.017 102.877);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.517 0.018 98.787);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.486 0.019 277.721);
--secondary-foreground: oklch(0.992 0 278.312);
--accent: oklch(0.486 0.019 277.721);
--accent-foreground: oklch(0.992 0 278.312);
--destructive: oklch(0.564 0.183 36.982);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.517 0.018 98.787);
--chart-1: oklch(0.517 0.018 98.787);
--chart-2: oklch(0.486 0.019 277.721);
--chart-3: oklch(0.486 0.019 277.721);
--chart-4: oklch(0.512 0.02 277.715);
--chart-5: oklch(0.523 0.026 98.951);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.01 101.402);
--foreground: oklch(0.994 0.002 98.35);
--muted: oklch(0.159 0.014 276.823);
--muted-foreground: oklch(0.704 0.005 278.222);
--popover: oklch(0.126 0.013 101.402);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.013 101.402);
--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.517 0.018 98.787);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.486 0.019 277.721);
--secondary-foreground: oklch(0.992 0 278.312);
--accent: oklch(0.486 0.019 277.721);
--accent-foreground: oklch(0.992 0 278.312);
--destructive: oklch(0.603 0.196 36.864);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.517 0.018 98.787);
--chart-1: oklch(0.517 0.018 98.787);
--chart-2: oklch(0.486 0.019 277.721);
--chart-3: oklch(0.486 0.019 277.721);
--chart-4: oklch(0.512 0.02 277.715);
--chart-5: oklch(0.523 0.026 98.951);
}