Gigantic for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button7.92:1AAA
Secondary button7.90:1AAA
Muted text6.17:1AA
Accent7.91:1AAA
Destructive7.33:1AAA
Dark mode
Text on background19.01:1AAA
Text on card19.01:1AAA
Primary button7.92:1AAA
Secondary button7.90:1AAA
Muted text7.66:1AAA
Accent7.91:1AAA
Destructive6.95:1AA

CSS variables

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);
}