Huge is a shadcn/ui theme built around a deep green primary color (#10331a) with deep orange accents (#331a10). The light mode uses a neutral background (#fbfefc). Dark mode keeps the deep green primary (#10331a) on a green-tinted background (#050f08).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #050f08black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #fbfefcwhite | #050f08black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #fbfefcwhite | #050f08black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #10331adarkgreen | #10331adarkgreen |
| Primary foreground | #48c76emediumseagreen | #48c76emediumseagreen |
| Secondary | #1a1033black | #1a1033black |
| Secondary foreground | #ac96dfmediumpurple | #ac96dfmediumpurple |
| Muted | #e7e6ealavender | #161519black |
| Muted foreground | #3f394cdarkslategray | #b9b3c6silver |
| Accent | #331a10black | #331a10black |
| Accent foreground | #dfac96tan | #dfac96tan |
| Destructive | #6d1f03maroon | #fa6c38tomato |
| Destructive foreground | #fdbda5lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #10331adarkgreen | #10331adarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.69:1 | AAA |
| Text on card | 20.69:1 | AAA |
| Primary button | 6.42:1 | AA |
| Secondary button | 7.03:1 | AAA |
| Muted text | 8.89:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 6.42:1 | AA |
| Secondary button | 7.03:1 | AAA |
| Muted text | 8.94:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 7.25:1 | AAA |
Paste this into your globals.css to use Huge in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 155.773);
--foreground: oklch(0 0 0);
--muted: oklch(0.927 0.006 299.935);
--muted-foreground: oklch(0.358 0.032 298.49);
--popover: oklch(0.994 0.005 155.773);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.005 155.773);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.287 0.06 150.651);
--primary-foreground: oklch(0.737 0.169 149.965);
--secondary: oklch(0.208 0.067 293.625);
--secondary-foreground: oklch(0.719 0.106 297.444);
--accent: oklch(0.249 0.044 43.571);
--accent-foreground: oklch(0.784 0.068 44.302);
--destructive: oklch(0.362 0.116 37.741);
--destructive-foreground: oklch(0.85 0.081 40.861);
--ring: oklch(0.287 0.06 150.651);
--chart-1: oklch(0.287 0.06 150.651);
--chart-2: oklch(0.208 0.067 293.625);
--chart-3: oklch(0.249 0.044 43.571);
--chart-4: oklch(0.233 0.079 293.09);
--chart-5: oklch(0.289 0.063 150.377);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.023 154.408);
--foreground: oklch(0.993 0.001 155.845);
--muted: oklch(0.198 0.008 299.326);
--muted-foreground: oklch(0.778 0.027 299.459);
--popover: oklch(0.156 0.023 154.408);
--popover-foreground: oklch(0.993 0.001 155.845);
--card: oklch(0.156 0.023 154.408);
--card-foreground: oklch(0.993 0.001 155.845);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.287 0.06 150.651);
--primary-foreground: oklch(0.737 0.169 149.965);
--secondary: oklch(0.208 0.067 293.625);
--secondary-foreground: oklch(0.719 0.106 297.444);
--accent: oklch(0.249 0.044 43.571);
--accent-foreground: oklch(0.784 0.068 44.302);
--destructive: oklch(0.698 0.186 39.38);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.287 0.06 150.651);
--chart-1: oklch(0.287 0.06 150.651);
--chart-2: oklch(0.208 0.067 293.625);
--chart-3: oklch(0.249 0.044 43.571);
--chart-4: oklch(0.233 0.079 293.09);
--chart-5: oklch(0.289 0.063 150.377);
}