Goblin Warboss Caterpillar for shadcn/ui

Goblin Warboss Caterpillar is a shadcn/ui theme built around a vivid green primary color (#52f455) with vivid teal accents (#52f4a6). The light mode uses a neutral background (#f7fdf7). Dark mode keeps the vivid green primary (#52f455) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdf7mintcream
#000000black
Foreground
#010401black
#fcfdfcwhite
Card
#f3fbf4whitesmoke
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fdf7mintcream
#000000black
Popover foreground
#010401black
#fcfdfcwhite
Primary
#52f455limegreen
#52f455limegreen
Primary foreground
#011302black
#011302black
Secondary
#a1f452greenyellow
#a1f452greenyellow
Secondary foreground
#0a1301black
#0a1301black
Muted
#edeeecwhitesmoke
#121311black
Muted foreground
#61675bdimgray
#9ea498darkgray
Accent
#52f4a6mediumaquamarine
#52f4a6mediumaquamarine
Accent foreground
#01130ablack
#01130ablack
Destructive
#cc190ffirebrick
#ee2a20crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e7e9e7lavender
#232523black
Input
#e7e9e7lavender
#232523black
Ring
#52f455limegreen
#52f455limegreen

Contrast

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

Light mode
Text on background19.92:1AAA
Text on card19.96:1AAA
Primary button13.17:1AAA
Secondary button14.06:1AAA
Muted text5.02:1AA
Accent13.51:1AAA
Destructive5.65:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.67:1AAA
Primary button13.17:1AAA
Secondary button14.06:1AAA
Muted text7.29:1AAA
Accent13.51:1AAA
Destructive4.19:1AA Large

CSS variables

Paste this into your globals.css to use Goblin Warboss Caterpillar in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.009 145.981);
  --foreground: oklch(0.098 0.022 144.142);
  --muted: oklch(0.948 0.003 129.16);
  --muted-foreground: oklch(0.504 0.019 129.542);
  --popover: oklch(0.987 0.009 145.981);
  --popover-foreground: oklch(0.098 0.022 144.142);
  --card: oklch(0.981 0.013 145.943);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.932 0.002 146.033);
  --input: oklch(0.932 0.002 146.033);
  --primary: oklch(0.852 0.241 143.324);
  --primary-foreground: oklch(0.164 0.049 143.377);
  --secondary: oklch(0.883 0.208 132.727);
  --secondary-foreground: oklch(0.172 0.041 129.378);
  --accent: oklch(0.864 0.174 158.099);
  --accent-foreground: oklch(0.167 0.033 162.792);
  --destructive: oklch(0.539 0.21 29.383);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.852 0.241 143.324);
  --chart-1: oklch(0.852 0.241 143.324);
  --chart-2: oklch(0.883 0.208 132.727);
  --chart-3: oklch(0.864 0.174 158.099);
  --chart-4: oklch(0.89 0.195 132.27);
  --chart-5: oklch(0.858 0.246 143.268);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 146.038);
  --muted: oklch(0.184 0.005 129.394);
  --muted-foreground: oklch(0.71 0.018 129.395);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 146.038);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.261 0.005 145.897);
  --input: oklch(0.261 0.005 145.897);
  --primary: oklch(0.852 0.241 143.324);
  --primary-foreground: oklch(0.164 0.049 143.377);
  --secondary: oklch(0.883 0.208 132.727);
  --secondary-foreground: oklch(0.172 0.041 129.378);
  --accent: oklch(0.864 0.174 158.099);
  --accent-foreground: oklch(0.167 0.033 162.792);
  --destructive: oklch(0.612 0.229 29.059);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.852 0.241 143.324);
  --chart-1: oklch(0.852 0.241 143.324);
  --chart-2: oklch(0.883 0.208 132.727);
  --chart-3: oklch(0.864 0.174 158.099);
  --chart-4: oklch(0.89 0.195 132.27);
  --chart-5: oklch(0.858 0.246 143.268);
}