Humongous for shadcn/ui

Humongous is a shadcn/ui theme built around a muted deep yellow primary color (#1d1c16) with muted deep green accents (#1a1d16). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the muted deep yellow primary (#1d1c16) on a neutral background (#080702).

Color palette

TokenLightDark
Background
#fdfcf7snow
#080702black
Foreground
#000000black
#fdfdfcwhite
Card
#fdfcf7snow
#080702black
Card foreground
#000000black
#fdfdfcwhite
Popover
#fdfcf7snow
#080702black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#1d1c16black
#1d1c16black
Primary foreground
#bcb9a9silver
#bcb9a9silver
Secondary
#1d1916black
#1d1916black
Secondary foreground
#bcb0a9darkgray
#bcb0a9darkgray
Muted
#f3efedlinen
#120e0cblack
Muted foreground
#655c58dimgray
#a79f9adarkgray
Accent
#1a1d16black
#1a1d16black
Accent foreground
#b5bca9darkgray
#b5bca9darkgray
Destructive
#671b04maroon
#e13c09orangered
Destructive foreground
#fbb7a2lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1d1c16black
#1d1c16black

Contrast

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

Light mode
Text on background20.46:1AAA
Text on card20.46:1AAA
Primary button8.69:1AAA
Secondary button8.27:1AAA
Muted text5.68:1AA
Accent8.73:1AAA
Destructive7.14:1AAA
Dark mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button8.69:1AAA
Secondary button8.27:1AAA
Muted text7.35:1AAA
Accent8.73:1AAA
Destructive4.32:1AA Large

CSS variables

Paste this into your globals.css to use Humongous in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.007 98.422);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.954 0.005 50.593);
  --muted-foreground: oklch(0.483 0.013 50.316);
  --popover: oklch(0.991 0.007 98.422);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.007 98.422);
  --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.224 0.01 98.89);
  --primary-foreground: oklch(0.783 0.022 98.693);
  --secondary: oklch(0.215 0.008 50.228);
  --secondary-foreground: oklch(0.765 0.016 50.388);
  --accent: oklch(0.224 0.012 123.064);
  --accent-foreground: oklch(0.784 0.026 122.746);
  --destructive: oklch(0.345 0.112 36.195);
  --destructive-foreground: oklch(0.837 0.085 37.619);
  --ring: oklch(0.224 0.01 98.89);
  --chart-1: oklch(0.224 0.01 98.89);
  --chart-2: oklch(0.215 0.008 50.228);
  --chart-3: oklch(0.224 0.012 123.064);
  --chart-4: oklch(0.248 0.01 50.192);
  --chart-5: oklch(0.226 0.012 99.002);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.017 102.223);
  --foreground: oklch(0.993 0.001 98.33);
  --muted: oklch(0.17 0.008 50.114);
  --muted-foreground: oklch(0.707 0.012 50.442);
  --popover: oklch(0.128 0.017 102.223);
  --popover-foreground: oklch(0.993 0.001 98.33);
  --card: oklch(0.128 0.017 102.223);
  --card-foreground: oklch(0.993 0.001 98.33);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.224 0.01 98.89);
  --primary-foreground: oklch(0.783 0.022 98.693);
  --secondary: oklch(0.215 0.008 50.228);
  --secondary-foreground: oklch(0.765 0.016 50.388);
  --accent: oklch(0.224 0.012 123.064);
  --accent-foreground: oklch(0.784 0.026 122.746);
  --destructive: oklch(0.601 0.208 34.717);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.224 0.01 98.89);
  --chart-1: oklch(0.224 0.01 98.89);
  --chart-2: oklch(0.215 0.008 50.228);
  --chart-3: oklch(0.224 0.012 123.064);
  --chart-4: oklch(0.248 0.01 50.192);
  --chart-5: oklch(0.226 0.012 99.002);
}