Huge is a shadcn/ui theme built around a blue primary color (#2a516f) with orange accents (#6f482a). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#2a516f) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010304black |
| Foreground | #03080cblack | #fcfdfdwhite |
| Card | #ffffffwhite | #010304black |
| Card foreground | #03080cblack | #fcfdfdwhite |
| Popover | #ffffffwhite | #010304black |
| Popover foreground | #03080cblack | #fcfdfdwhite |
| Primary | #2a516fdarkslategray | #2a516fdarkslategray |
| Primary foreground | #dae7f1lavender | #dae7f1lavender |
| Secondary | #6f482asaddlebrown | #6f482asaddlebrown |
| Secondary foreground | #f1e4daantiquewhite | #f1e4daantiquewhite |
| Muted | #eee7e3linen | #1c1611black |
| Muted foreground | #645e59dimgray | #a6a09bdarkgray |
| Accent | #6f482asaddlebrown | #6f482asaddlebrown |
| Accent foreground | #f1e4daantiquewhite | #f1e4daantiquewhite |
| Destructive | #cc1100firebrick | #ff1f0ared |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2a516fdarkslategray | #2a516fdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.11:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 6.39:1 | AA |
| Muted text | 5.22:1 | AA |
| Accent | 6.39:1 | AA |
| Destructive | 5.75:1 | AA |
| Text on background | 20.30:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 6.39:1 | AA |
| Muted text | 6.91:1 | AA |
| Accent | 6.39:1 | AA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Huge in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.13 0.015 233.175);
--muted: oklch(0.932 0.009 60.146);
--muted-foreground: oklch(0.485 0.011 59.962);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.13 0.015 233.175);
--card: oklch(1 0 180);
--card-foreground: oklch(0.13 0.015 233.175);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.42 0.067 243.425);
--primary-foreground: oklch(0.921 0.019 240.577);
--secondary: oklch(0.439 0.069 57.125);
--secondary-foreground: oklch(0.926 0.02 59.993);
--accent: oklch(0.439 0.069 57.125);
--accent-foreground: oklch(0.926 0.02 59.993);
--destructive: oklch(0.535 0.214 30.169);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.42 0.067 243.425);
--chart-1: oklch(0.42 0.067 243.425);
--chart-2: oklch(0.439 0.069 57.125);
--chart-3: oklch(0.439 0.069 57.125);
--chart-4: oklch(0.469 0.075 57.055);
--chart-5: oklch(0.421 0.071 243.727);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.09 0.01 232.656);
--foreground: oklch(0.992 0.001 240.296);
--muted: oklch(0.207 0.014 59.329);
--muted-foreground: oklch(0.709 0.01 60.084);
--popover: oklch(0.09 0.01 232.656);
--popover-foreground: oklch(0.992 0.001 240.296);
--card: oklch(0.09 0.01 232.656);
--card-foreground: oklch(0.992 0.001 240.296);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.42 0.067 243.425);
--primary-foreground: oklch(0.921 0.019 240.577);
--secondary: oklch(0.439 0.069 57.125);
--secondary-foreground: oklch(0.926 0.02 59.993);
--accent: oklch(0.439 0.069 57.125);
--accent-foreground: oklch(0.926 0.02 59.993);
--destructive: oklch(0.636 0.25 30.028);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.42 0.067 243.425);
--chart-1: oklch(0.42 0.067 243.425);
--chart-2: oklch(0.439 0.069 57.125);
--chart-3: oklch(0.439 0.069 57.125);
--chart-4: oklch(0.469 0.075 57.055);
--chart-5: oklch(0.421 0.071 243.727);
}