Jeep for shadcn/ui

Jeep is a shadcn/ui theme built around a vivid deep green primary color (#415809) with muted light green accents (#ebece9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#415809) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#ffffffwhite
#030302black
Foreground
#000000black
#ffffffwhite
Card
#fcfcfcsnow
#060703black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#060703black
Popover foreground
#000000black
#ffffffwhite
Primary
#415809darkolivegreen
#415809darkolivegreen
Primary foreground
#dcf59epalegoldenrod
#dcf59epalegoldenrod
Secondary
#ebece9linen
#2c3121darkslategray
Secondary foreground
#55594adarkolivegreen
#c7ceb6silver
Muted
#f4f7edwhitesmoke
#0f1208black
Muted foreground
#676e53dimgray
#a4ac91darkgray
Accent
#ebece9linen
#2c3121darkslategray
Accent foreground
#55594adarkolivegreen
#c7ceb6silver
Destructive
#691502maroon
#fb5732tomato
Destructive foreground
#fdb1a0lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#415809darkolivegreen
#415809darkolivegreen

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button6.72:1AA
Secondary button6.09:1AA
Muted text4.93:1AA
Accent6.09:1AA
Destructive7.00:1AAA
Dark mode
Text on background20.59:1AAA
Text on card20.20:1AAA
Primary button6.72:1AA
Secondary button8.24:1AAA
Muted text8.02:1AAA
Accent8.24:1AAA
Destructive6.50:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.972 0.013 119.536);
  --muted-foreground: oklch(0.525 0.042 120.701);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.426 0.102 125.325);
  --primary-foreground: oklch(0.932 0.113 121.506);
  --secondary: oklch(0.943 0.005 119.395);
  --secondary-foreground: oklch(0.455 0.024 120.207);
  --accent: oklch(0.943 0.005 119.395);
  --accent-foreground: oklch(0.455 0.024 120.207);
  --destructive: oklch(0.342 0.12 33.897);
  --destructive-foreground: oklch(0.829 0.093 33.115);
  --ring: oklch(0.426 0.102 125.325);
  --chart-1: oklch(0.426 0.102 125.325);
  --chart-2: oklch(0.943 0.005 119.395);
  --chart-3: oklch(0.943 0.005 119.395);
  --chart-4: oklch(0.964 0.003 119.36);
  --chart-5: oklch(0.43 0.104 125.514);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.01 119.286);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.174 0.02 121.156);
  --muted-foreground: oklch(0.73 0.039 120.23);
  --popover: oklch(0.125 0.012 119.286);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.125 0.012 119.286);
  --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.426 0.102 125.325);
  --primary-foreground: oklch(0.932 0.113 121.506);
  --secondary: oklch(0.303 0.029 120.978);
  --secondary-foreground: oklch(0.839 0.034 120.005);
  --accent: oklch(0.303 0.029 120.978);
  --accent-foreground: oklch(0.839 0.034 120.005);
  --destructive: oklch(0.673 0.206 34.052);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.426 0.102 125.325);
  --chart-1: oklch(0.426 0.102 125.325);
  --chart-2: oklch(0.303 0.029 120.978);
  --chart-3: oklch(0.303 0.029 120.978);
  --chart-4: oklch(0.338 0.033 121.043);
  --chart-5: oklch(0.43 0.104 125.514);
}