Gargantuan for shadcn/ui

Gargantuan is a shadcn/ui theme built around a green primary color (#aeca58) with purple accents (#ca58ae). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#aeca58) on a green-tinted background (#0c0f06).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0f06black
Foreground
#070901black
#ffffffwhite
Card
#fcfcfcsnow
#101207black
Card foreground
#040401black
#ffffffwhite
Popover
#ffffffwhite
#0c0f06black
Popover foreground
#070901black
#ffffffwhite
Primary
#aeca58darkkhaki
#aeca58darkkhaki
Primary foreground
#000000black
#000000black
Secondary
#58aecamediumturquoise
#58aecamediumturquoise
Secondary foreground
#000000black
#000000black
Muted
#e7f0f3lavender
#0c1518black
Muted foreground
#58656adimgray
#95a2a7darkgray
Accent
#ca58aepalevioletred
#ca58aepalevioletred
Accent foreground
#000000black
#000000black
Destructive
#ad0b05darkred
#f9362fcrimson
Destructive foreground
#fee7e6mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#aeca58darkkhaki
#aeca58darkkhaki

Contrast

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

Light mode
Text on background20.02:1AAA
Text on card20.08:1AAA
Primary button11.42:1AAA
Secondary button8.31:1AAA
Muted text5.22:1AA
Accent5.53:1AA
Destructive6.28:1AA
Dark mode
Text on background19.33:1AAA
Text on card18.84:1AAA
Primary button11.42:1AAA
Secondary button8.31:1AAA
Muted text7.04:1AAA
Accent5.53:1AA
Destructive3.76: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.133 0.024 118.072);
  --muted: oklch(0.95 0.011 219.594);
  --muted-foreground: oklch(0.498 0.017 219.832);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.133 0.024 118.072);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.105 0.019 118.072);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.796 0.144 121.495);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.708 0.092 222.305);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.633 0.175 338.22);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.473 0.189 29.332);
  --destructive-foreground: oklch(0.947 0.025 19.994);
  --ring: oklch(0.796 0.144 121.495);
  --chart-1: oklch(0.796 0.144 121.495);
  --chart-2: oklch(0.708 0.092 222.305);
  --chart-3: oklch(0.633 0.175 338.22);
  --chart-4: oklch(0.728 0.087 221.82);
  --chart-5: oklch(0.804 0.151 121.675);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.161 0.02 119.285);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.188 0.015 220.614);
  --muted-foreground: oklch(0.705 0.016 219.699);
  --popover: oklch(0.161 0.02 119.285);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.177 0.023 119.957);
  --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.796 0.144 121.495);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.708 0.092 222.305);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.633 0.175 338.22);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.639 0.23 28.026);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.796 0.144 121.495);
  --chart-1: oklch(0.796 0.144 121.495);
  --chart-2: oklch(0.708 0.092 222.305);
  --chart-3: oklch(0.633 0.175 338.22);
  --chart-4: oklch(0.728 0.087 221.82);
  --chart-5: oklch(0.804 0.151 121.675);
}