Garden Shadow Gorilla for shadcn/ui

Garden Shadow Gorilla is a shadcn/ui theme built around a deep green primary color (#3c4610) with deep purple accents (#46103c). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#3c4610) on a neutral background (#070803).

Color palette

TokenLightDark
Background
#ffffffwhite
#070803black
Foreground
#0a0c03black
#fdfdfcwhite
Card
#ffffffwhite
#070803black
Card foreground
#0a0c03black
#fdfdfcwhite
Popover
#ffffffwhite
#070803black
Popover foreground
#0a0c03black
#fdfdfcwhite
Primary
#3c4610darkolivegreen
#3c4610darkolivegreen
Primary foreground
#bcd54ddarkkhaki
#bcd54ddarkkhaki
Secondary
#103c46darkslategray
#103c46darkslategray
Secondary foreground
#a0dbe9lightblue
#a0dbe9lightblue
Muted
#e2e8e9lavender
#161c1dblack
Muted foreground
#4b5e63dimgray
#9cb0b4darkgray
Accent
#46103cmidnightblue
#46103cmidnightblue
Accent foreground
#e9a0dbplum
#e9a0dbplum
Destructive
#90260esaddlebrown
#e94520orangered
Destructive foreground
#fbdcd5mistyrose
#ffffffwhite
Border
#f3f4f1whitesmoke
#24251dblack
Input
#f3f4f1whitesmoke
#24251dblack
Ring
#3c4610darkolivegreen
#3c4610darkolivegreen

Contrast

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

Light mode
Text on background19.68:1AAA
Text on card19.68:1AAA
Primary button6.12:1AA
Secondary button7.81:1AAA
Muted text5.49:1AA
Accent7.48:1AAA
Destructive6.60:1AA
Dark mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button6.12:1AA
Secondary button7.81:1AAA
Muted text7.64:1AAA
Accent7.48:1AAA
Destructive3.93:1AA Large

CSS variables

Paste this into your globals.css to use Garden Shadow Gorilla in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.148 0.021 115.847);
  --muted: oklch(0.926 0.006 212.667);
  --muted-foreground: oklch(0.469 0.025 212.883);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.148 0.021 115.847);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.148 0.021 115.847);
  --border: oklch(0.965 0.004 114.908);
  --input: oklch(0.965 0.004 114.908);
  --primary: oklch(0.374 0.076 119.249);
  --primary-foreground: oklch(0.83 0.162 118.937);
  --secondary: oklch(0.333 0.05 215.65);
  --secondary-foreground: oklch(0.857 0.063 213.105);
  --accent: oklch(0.286 0.099 336.095);
  --accent-foreground: oklch(0.795 0.115 333.324);
  --destructive: oklch(0.435 0.145 33.685);
  --destructive-foreground: oklch(0.918 0.036 32.719);
  --ring: oklch(0.374 0.076 119.249);
  --chart-1: oklch(0.374 0.076 119.249);
  --chart-2: oklch(0.333 0.05 215.65);
  --chart-3: oklch(0.286 0.099 336.095);
  --chart-4: oklch(0.37 0.056 215.863);
  --chart-5: oklch(0.378 0.079 119.414);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.016 115.444);
  --foreground: oklch(0.993 0.001 114.844);
  --muted: oklch(0.22 0.008 212.774);
  --muted-foreground: oklch(0.743 0.023 212.735);
  --popover: oklch(0.128 0.016 115.444);
  --popover-foreground: oklch(0.993 0.001 114.844);
  --card: oklch(0.128 0.016 115.444);
  --card-foreground: oklch(0.993 0.001 114.844);
  --border: oklch(0.262 0.016 115.933);
  --input: oklch(0.262 0.016 115.933);
  --primary: oklch(0.374 0.076 119.249);
  --primary-foreground: oklch(0.83 0.162 118.937);
  --secondary: oklch(0.333 0.05 215.65);
  --secondary-foreground: oklch(0.857 0.063 213.105);
  --accent: oklch(0.286 0.099 336.095);
  --accent-foreground: oklch(0.795 0.115 333.324);
  --destructive: oklch(0.624 0.206 33.751);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.374 0.076 119.249);
  --chart-1: oklch(0.374 0.076 119.249);
  --chart-2: oklch(0.333 0.05 215.65);
  --chart-3: oklch(0.286 0.099 336.095);
  --chart-4: oklch(0.37 0.056 215.863);
  --chart-5: oklch(0.378 0.079 119.414);
}