Huge is a shadcn/ui theme built around a near-black primary color (#020303) with near-black accents (#030202). The light mode uses a neutral background (#f8fbfa). Dark mode keeps the near-black primary (#020303) on a teal-tinted background (#050a08).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfamintcream | #050a08black |
| Foreground | #06140fblack | #ffffffwhite |
| Card | #f8fbfamintcream | #050a08black |
| Card foreground | #06140fblack | #ffffffwhite |
| Popover | #f8fbfamintcream | #050a08black |
| Popover foreground | #06140fblack | #ffffffwhite |
| Primary | #020303black | #020303black |
| Primary foreground | #86b1a2darkseagreen | #86b1a2darkseagreen |
| Secondary | #030202black | #030202black |
| Secondary foreground | #b18695rosybrown | #b18695rosybrown |
| Muted | #ddd9dbgainsboro | #262223black |
| Muted foreground | #615157dimgray | #ae9ea3darkgray |
| Accent | #030202black | #030202black |
| Accent foreground | #b18695rosybrown | #b18695rosybrown |
| Destructive | #772a04saddlebrown | #f85e12orangered |
| Destructive foreground | #fdc9b0peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #020303black | #020303black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.16:1 | AAA |
| Text on card | 18.16:1 | AAA |
| Primary button | 8.67:1 | AAA |
| Secondary button | 6.62:1 | AA |
| Muted text | 5.33:1 | AA |
| Accent | 6.62:1 | AA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 8.67:1 | AAA |
| Secondary button | 6.62:1 | AA |
| Muted text | 6.18:1 | AA |
| Accent | 6.62:1 | AA |
| Destructive | 6.59:1 | AA |
Paste this into your globals.css to use Huge in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 173.466);
--foreground: oklch(0.175 0.023 169.681);
--muted: oklch(0.89 0.005 353.739);
--muted-foreground: oklch(0.454 0.023 354.984);
--popover: oklch(0.987 0.004 173.466);
--popover-foreground: oklch(0.175 0.023 169.681);
--card: oklch(0.987 0.004 173.466);
--card-foreground: oklch(0.175 0.023 169.681);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.095 0.005 173.683);
--primary-foreground: oklch(0.726 0.052 171.285);
--secondary: oklch(0.089 0.005 353.446);
--secondary-foreground: oklch(0.666 0.057 355.934);
--accent: oklch(0.089 0.005 353.446);
--accent-foreground: oklch(0.666 0.057 355.934);
--destructive: oklch(0.394 0.116 41.707);
--destructive-foreground: oklch(0.876 0.068 47.926);
--ring: oklch(0.095 0.005 173.683);
--chart-1: oklch(0.095 0.005 173.683);
--chart-2: oklch(0.089 0.005 353.446);
--chart-3: oklch(0.089 0.005 353.446);
--chart-4: oklch(0.141 0.009 354.225);
--chart-5: oklch(0.095 0.006 173.697);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.012 173.725);
--foreground: oklch(1 0 180);
--muted: oklch(0.255 0.007 354.351);
--muted-foreground: oklch(0.714 0.02 354.38);
--popover: oklch(0.139 0.012 173.725);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.012 173.725);
--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.095 0.005 173.683);
--primary-foreground: oklch(0.726 0.052 171.285);
--secondary: oklch(0.089 0.005 353.446);
--secondary-foreground: oklch(0.666 0.057 355.934);
--accent: oklch(0.089 0.005 353.446);
--accent-foreground: oklch(0.666 0.057 355.934);
--destructive: oklch(0.675 0.202 41);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.095 0.005 173.683);
--chart-1: oklch(0.095 0.005 173.683);
--chart-2: oklch(0.089 0.005 353.446);
--chart-3: oklch(0.089 0.005 353.446);
--chart-4: oklch(0.141 0.009 354.225);
--chart-5: oklch(0.095 0.006 173.697);
}