Ill Nebulous is a shadcn/ui theme built around a neutral gray primary color (#c1b9b9) with neutral gray accents (#b9b9c1). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#c1b9b9) on a red-tinted background (#0a0605).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0605black |
| Foreground | #040101black | #faf5f5whitesmoke |
| Card | #ffffffwhite | #0a0605black |
| Card foreground | #040101black | #faf5f5whitesmoke |
| Popover | #ffffffwhite | #0a0605black |
| Popover foreground | #040101black | #faf5f5whitesmoke |
| Primary | #c1b9b9silver | #c1b9b9silver |
| Primary foreground | #262222black | #262222black |
| Secondary | #b9c1b9silver | #b9c1b9silver |
| Secondary foreground | #222622black | #222622black |
| Muted | #daecdcgainsboro | #132515black |
| Muted foreground | #48614adarkslategray | #9eb7a0darkgray |
| Accent | #b9b9c1silver | #b9b9c1silver |
| Accent foreground | #222226black | #222226black |
| Destructive | #a3330asaddlebrown | #f04f14orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f0efefwhitesmoke | #1d1b1bblack |
| Input | #f0efefwhitesmoke | #1d1b1bblack |
| Ring | #c1b9b9silver | #c1b9b9silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.79:1 | AAA |
| Text on card | 20.79:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 5.50:1 | AA |
| Accent | 8.11:1 | AAA |
| Destructive | 6.91:1 | AA |
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 7.48:1 | AAA |
| Accent | 8.11:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Ill Nebulous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.084 0.013 28.762);
--muted: oklch(0.925 0.028 147.739);
--muted-foreground: oklch(0.464 0.048 146.909);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.084 0.013 28.762);
--card: oklch(1 0 180);
--card-foreground: oklch(0.084 0.013 28.762);
--border: oklch(0.953 0.002 23.597);
--input: oklch(0.953 0.002 23.597);
--primary: oklch(0.793 0.008 23.685);
--primary-foreground: oklch(0.256 0.006 23.823);
--secondary: oklch(0.802 0.013 147.887);
--secondary-foreground: oklch(0.262 0.01 147.676);
--accent: oklch(0.788 0.011 289.979);
--accent-foreground: oklch(0.252 0.008 289.642);
--destructive: oklch(0.484 0.154 37.282);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.793 0.008 23.685);
--chart-1: oklch(0.793 0.008 23.685);
--chart-2: oklch(0.802 0.013 147.887);
--chart-3: oklch(0.788 0.011 289.979);
--chart-4: oklch(0.825 0.012 147.914);
--chart-5: oklch(0.79 0.013 23.74);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.01 25.846);
--foreground: oklch(0.975 0.005 23.628);
--muted: oklch(0.243 0.038 146.233);
--muted-foreground: oklch(0.755 0.043 147.448);
--popover: oklch(0.127 0.01 25.846);
--popover-foreground: oklch(0.975 0.005 23.628);
--card: oklch(0.127 0.01 25.846);
--card-foreground: oklch(0.975 0.005 23.628);
--border: oklch(0.224 0.004 23.763);
--input: oklch(0.224 0.004 23.763);
--primary: oklch(0.793 0.008 23.685);
--primary-foreground: oklch(0.256 0.006 23.823);
--secondary: oklch(0.802 0.013 147.887);
--secondary-foreground: oklch(0.262 0.01 147.676);
--accent: oklch(0.788 0.011 289.979);
--accent-foreground: oklch(0.252 0.008 289.642);
--destructive: oklch(0.645 0.207 37.2);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.793 0.008 23.685);
--chart-1: oklch(0.793 0.008 23.685);
--chart-2: oklch(0.802 0.013 147.887);
--chart-3: oklch(0.788 0.011 289.979);
--chart-4: oklch(0.825 0.012 147.914);
--chart-5: oklch(0.79 0.013 23.74);
}