Gargantuan for shadcn/ui

Gargantuan is a shadcn/ui theme built around a deep green primary color (#4e6312) with deep purple accents (#63124e). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#4e6312) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0a0d03black
#fdfdfcwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#070802black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#070802black
#ffffffwhite
Primary
#4e6312darkolivegreen
#4e6312darkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#124e63darkslategray
#124e63darkslategray
Secondary foreground
#b6e2f2powderblue
#b6e2f2powderblue
Muted
#f1f3f4whitesmoke
#0b0d0eblack
Muted foreground
#54676ddimgray
#92a4abdarkgray
Accent
#63124eindigo
#63124eindigo
Accent foreground
#f2b6e2pink
#f2b6e2pink
Destructive
#d33109firebrick
#f65128tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#4e6312darkolivegreen
#4e6312darkolivegreen

Contrast

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

Light mode
Text on background19.59:1AAA
Text on card19.66:1AAA
Primary button6.73:1AA
Secondary button6.63:1AA
Muted text5.32:1AA
Accent7.27:1AAA
Destructive4.99:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.67:1AAA
Primary button6.73:1AA
Secondary button6.63:1AA
Muted text7.51:1AAA
Accent7.27:1AAA
Destructive3.42:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.15 0.024 119.163);
  --muted: oklch(0.962 0.002 221.324);
  --muted-foreground: oklch(0.5 0.025 221.887);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.13 0.021 118.659);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.13 0.021 118.659);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.466 0.106 123.954);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.396 0.068 227.328);
  --secondary-foreground: oklch(0.886 0.051 222.016);
  --accent: oklch(0.349 0.13 341.246);
  --accent-foreground: oklch(0.843 0.089 336.276);
  --destructive: oklch(0.566 0.202 33.402);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.466 0.106 123.954);
  --chart-1: oklch(0.466 0.106 123.954);
  --chart-2: oklch(0.396 0.068 227.328);
  --chart-3: oklch(0.349 0.13 341.246);
  --chart-4: oklch(0.431 0.075 227.549);
  --chart-5: oklch(0.471 0.109 124.157);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 118.589);
  --muted: oklch(0.159 0.003 221.512);
  --muted-foreground: oklch(0.706 0.023 221.644);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --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.466 0.106 123.954);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.396 0.068 227.328);
  --secondary-foreground: oklch(0.886 0.051 222.016);
  --accent: oklch(0.349 0.13 341.246);
  --accent-foreground: oklch(0.843 0.089 336.276);
  --destructive: oklch(0.658 0.208 34.716);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.466 0.106 123.954);
  --chart-1: oklch(0.466 0.106 123.954);
  --chart-2: oklch(0.396 0.068 227.328);
  --chart-3: oklch(0.349 0.13 341.246);
  --chart-4: oklch(0.431 0.075 227.549);
  --chart-5: oklch(0.471 0.109 124.157);
}