Enormous is a shadcn/ui theme built around a near-black primary color (#1a1a19) with near-black accents (#19191a). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#1a1a19) on a green-tinted background (#0f1004).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f1004black |
| Foreground | #090901black | #f9f9f5whitesmoke |
| Card | #fcfcfcsnow | #131405black |
| Card foreground | #040501black | #fbfbf9snow |
| Popover | #ffffffwhite | #0f1004black |
| Popover foreground | #090901black | #f9f9f5whitesmoke |
| Primary | #1a1a19black | #1a1a19black |
| Primary foreground | #b3b3b2darkgray | #b3b3b2darkgray |
| Secondary | #19191ablack | #19191ablack |
| Secondary foreground | #b2b2b3darkgray | #b2b2b3darkgray |
| Muted | #d3d1ebgainsboro | #16142eblack |
| Muted foreground | #55545fdimgray | #a1a0abdarkgray |
| Accent | #19191ablack | #19191ablack |
| Accent foreground | #b2b2b3darkgray | #b2b2b3darkgray |
| Destructive | #742601maroon | #fd5c12orangered |
| Destructive foreground | #fec4a9navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1a1a19black | #1a1a19black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 8.31:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 4.99:1 | AA |
| Accent | 8.27:1 | AAA |
| Destructive | 6.78:1 | AA |
| Text on background | 18.14:1 | AAA |
| Text on card | 17.93:1 | AAA |
| Primary button | 8.31:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 6.91:1 | AA |
| Accent | 8.27:1 | AAA |
| Destructive | 6.70:1 | AA |
Paste this into your globals.css to use Enormous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.136 0.025 112.193);
--muted: oklch(0.87 0.035 289.466);
--muted-foreground: oklch(0.45 0.017 289.511);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.136 0.025 112.193);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.108 0.02 112.193);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.216 0.001 110.332);
--primary-foreground: oklch(0.767 0.002 110.299);
--secondary: oklch(0.215 0.001 290.16);
--secondary-foreground: oklch(0.763 0.002 290.193);
--accent: oklch(0.215 0.001 290.16);
--accent-foreground: oklch(0.763 0.002 290.193);
--destructive: oklch(0.383 0.118 40.41);
--destructive-foreground: oklch(0.866 0.076 46.042);
--ring: oklch(0.216 0.001 110.332);
--chart-1: oklch(0.216 0.001 110.332);
--chart-2: oklch(0.215 0.001 290.16);
--chart-3: oklch(0.215 0.001 290.16);
--chart-4: oklch(0.247 0.001 290.152);
--chart-5: oklch(0.219 0.004 110.579);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.168 0.024 112.488);
--foreground: oklch(0.982 0.005 110.351);
--muted: oklch(0.21 0.05 285.035);
--muted-foreground: oklch(0.711 0.015 289.836);
--popover: oklch(0.168 0.024 112.488);
--popover-foreground: oklch(0.982 0.005 110.351);
--card: oklch(0.185 0.028 112.807);
--card-foreground: oklch(0.988 0.004 110.315);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.216 0.001 110.332);
--primary-foreground: oklch(0.767 0.002 110.299);
--secondary: oklch(0.215 0.001 290.16);
--secondary-foreground: oklch(0.763 0.002 290.193);
--accent: oklch(0.215 0.001 290.16);
--accent-foreground: oklch(0.763 0.002 290.193);
--destructive: oklch(0.68 0.208 39.828);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.216 0.001 110.332);
--chart-1: oklch(0.216 0.001 110.332);
--chart-2: oklch(0.215 0.001 290.16);
--chart-3: oklch(0.215 0.001 290.16);
--chart-4: oklch(0.247 0.001 290.152);
--chart-5: oklch(0.219 0.004 110.579);
}