Enormous for shadcn/ui

Enormous is a shadcn/ui theme built around a green primary color (#6f7939) with purple accents (#79396f). The light mode uses a neutral background (#fefefb). Dark mode keeps the green primary (#6f7939) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefefbwhite
#000000black
Foreground
#0b0d02black
#fdfdfcwhite
Card
#fcfdf7snow
#030303black
Card foreground
#080901black
#ffffffwhite
Popover
#fefefbwhite
#000000black
Popover foreground
#0b0d02black
#fdfdfcwhite
Primary
#6f7939olivedrab
#6f7939olivedrab
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#396f79seagreen
#396f79seagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d5dfe1gainsboro
#1e282adarkslategray
Muted foreground
#626464dimgray
#9b9c9ddarkgray
Accent
#79396frebeccapurple
#79396frebeccapurple
Accent foreground
#f7eef5whitesmoke
#f7eef5whitesmoke
Destructive
#9a0b09darkred
#f11713red
Destructive foreground
#fdd9d8mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6f7939olivedrab
#6f7939olivedrab

Contrast

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

Light mode
Text on background19.37:1AAA
Text on card19.58:1AAA
Primary button4.68:1AA
Secondary button5.65:1AA
Muted text4.40:1AA Large
Accent7.02:1AAA
Destructive6.61:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.67:1AAA
Primary button4.68:1AA
Secondary button5.65:1AA
Muted text5.50:1AA
Accent7.02:1AAA
Destructive4.30:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 114.149);
  --foreground: oklch(0.154 0.028 115.746);
  --muted: oklch(0.898 0.011 211.038);
  --muted-foreground: oklch(0.502 0.002 211.04);
  --popover: oklch(0.996 0.004 114.149);
  --popover-foreground: oklch(0.154 0.028 115.746);
  --card: oklch(0.992 0.009 114.233);
  --card-foreground: oklch(0.134 0.024 115.079);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.554 0.089 117.238);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.508 0.059 212.165);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.449 0.114 333.986);
  --accent-foreground: oklch(0.957 0.014 331.019);
  --destructive: oklch(0.436 0.172 28.811);
  --destructive-foreground: oklch(0.915 0.04 19.06);
  --ring: oklch(0.554 0.089 117.238);
  --chart-1: oklch(0.554 0.089 117.238);
  --chart-2: oklch(0.508 0.059 212.165);
  --chart-3: oklch(0.449 0.114 333.986);
  --chart-4: oklch(0.539 0.063 212.191);
  --chart-5: oklch(0.561 0.095 117.444);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.994 0.002 114.105);
  --muted: oklch(0.267 0.015 211.173);
  --muted-foreground: oklch(0.692 0.002 211.042);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.994 0.002 114.105);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.554 0.089 117.238);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.508 0.059 212.165);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.449 0.114 333.986);
  --accent-foreground: oklch(0.957 0.014 331.019);
  --destructive: oklch(0.608 0.241 28.875);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.554 0.089 117.238);
  --chart-1: oklch(0.554 0.089 117.238);
  --chart-2: oklch(0.508 0.059 212.165);
  --chart-3: oklch(0.449 0.114 333.986);
  --chart-4: oklch(0.539 0.063 212.191);
  --chart-5: oklch(0.561 0.095 117.444);
}