Gigantic is a shadcn/ui theme built around a neutral gray primary color (#2e332f) with neutral gray accents (#2e3331). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the neutral gray primary (#2e332f) on a neutral background (#030704).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #030704black |
| Foreground | #010401black | #f6f8f7whitesmoke |
| Card | #fcfdfcwhite | #030704black |
| Card foreground | #010401black | #f6f8f7whitesmoke |
| Popover | #fcfdfcwhite | #030704black |
| Popover foreground | #010401black | #f6f8f7whitesmoke |
| Primary | #2e332fdarkslategray | #2e332fdarkslategray |
| Primary foreground | #c7ccc8silver | #c7ccc8silver |
| Secondary | #30332edarkslategray | #30332edarkslategray |
| Secondary foreground | #c8ccc7silver | #c8ccc7silver |
| Muted | #dae0d7gainsboro | #22281fblack |
| Muted foreground | #475143darkslategray | #b2bcaedarkgray |
| Accent | #2e3331darkslategray | #2e3331darkslategray |
| Accent foreground | #c7cccalightgrey | #c7cccalightgrey |
| Destructive | #933b0bsaddlebrown | #ef6f2achocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2e332fdarkslategray | #2e332fdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 7.92:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 7.33:1 | AAA |
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 7.92:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.95:1 | AA |
Paste this into your globals.css to use Gigantic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 151.367);
--foreground: oklch(0.098 0.02 150.25);
--muted: oklch(0.899 0.014 135.496);
--muted-foreground: oklch(0.423 0.027 135.719);
--popover: oklch(0.993 0.003 151.367);
--popover-foreground: oklch(0.098 0.02 150.25);
--card: oklch(0.993 0.003 151.367);
--card-foreground: oklch(0.098 0.02 150.25);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.314 0.01 150.959);
--primary-foreground: oklch(0.84 0.008 151.264);
--secondary: oklch(0.316 0.01 135.561);
--secondary-foreground: oklch(0.841 0.008 135.47);
--accent: oklch(0.315 0.007 174.932);
--accent-foreground: oklch(0.841 0.006 175.396);
--destructive: oklch(0.467 0.131 43.291);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.314 0.01 150.959);
--chart-1: oklch(0.314 0.01 150.959);
--chart-2: oklch(0.316 0.01 135.561);
--chart-3: oklch(0.315 0.007 174.932);
--chart-4: oklch(0.346 0.011 135.565);
--chart-5: oklch(0.317 0.015 150.69);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.012 150.873);
--foreground: oklch(0.978 0.003 151.367);
--muted: oklch(0.269 0.019 135.751);
--muted-foreground: oklch(0.784 0.023 135.558);
--popover: oklch(0.12 0.012 150.873);
--popover-foreground: oklch(0.978 0.003 151.367);
--card: oklch(0.12 0.012 150.873);
--card-foreground: oklch(0.978 0.003 151.367);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.314 0.01 150.959);
--primary-foreground: oklch(0.84 0.008 151.264);
--secondary: oklch(0.316 0.01 135.561);
--secondary-foreground: oklch(0.841 0.008 135.47);
--accent: oklch(0.315 0.007 174.932);
--accent-foreground: oklch(0.841 0.006 175.396);
--destructive: oklch(0.685 0.176 44.981);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.314 0.01 150.959);
--chart-1: oklch(0.314 0.01 150.959);
--chart-2: oklch(0.316 0.01 135.561);
--chart-3: oklch(0.315 0.007 174.932);
--chart-4: oklch(0.346 0.011 135.565);
--chart-5: oklch(0.317 0.015 150.69);
}