Base Camp Possum for shadcn/ui

Base Camp Possum is a shadcn/ui theme built around a muted green primary color (#585d3c) with muted indigo accents (#413c5d). The light mode uses a neutral background (#fefefb). Dark mode keeps the muted green primary (#585d3c) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#fefefbwhite
#030401black
Foreground
#0f1103black
#fdfdfcwhite
Card
#fcfdf6snow
#070703black
Card foreground
#0b0d02black
#ffffffwhite
Popover
#fefefbwhite
#030401black
Popover foreground
#0f1103black
#fdfdfcwhite
Primary
#585d3cdarkolivegreen
#585d3cdarkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#413c5ddarkslategray
#413c5ddarkslategray
Secondary foreground
#e2e0ebgainsboro
#e2e0ebgainsboro
Muted
#dedce5gainsboro
#1c1a23black
Muted foreground
#4c495bdarkslategray
#a7a4b6darkgray
Accent
#413c5ddarkslategray
#413c5ddarkslategray
Accent foreground
#e2e0ebgainsboro
#e2e0ebgainsboro
Destructive
#6c1e04maroon
#f6541eorangered
Destructive foreground
#fbbca7lightpink
#ffffffwhite
Border
#efefeblinen
#292b22darkslategray
Input
#efefeblinen
#292b22darkslategray
Ring
#585d3cdarkolivegreen
#585d3cdarkolivegreen

Contrast

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

Light mode
Text on background18.87:1AAA
Text on card19.19:1AAA
Primary button6.87:1AA
Secondary button7.94:1AAA
Muted text6.41:1AA
Accent7.94:1AAA
Destructive7.04:1AAA
Dark mode
Text on background20.21:1AAA
Text on card20.16:1AAA
Primary button6.87:1AA
Secondary button7.94:1AAA
Muted text7.05:1AAA
Accent7.94:1AAA
Destructive3.39:1AA Large

CSS variables

Paste this into your globals.css to use Base Camp Possum in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.005 114.154);
  --foreground: oklch(0.172 0.031 116.488);
  --muted: oklch(0.898 0.012 293.823);
  --muted-foreground: oklch(0.414 0.03 292.688);
  --popover: oklch(0.996 0.005 114.154);
  --popover-foreground: oklch(0.172 0.031 116.488);
  --card: oklch(0.993 0.009 114.243);
  --card-foreground: oklch(0.153 0.026 115.646);
  --border: oklch(0.951 0.006 114.178);
  --input: oklch(0.951 0.006 114.178);
  --primary: oklch(0.465 0.051 116.147);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.376 0.057 291.034);
  --secondary-foreground: oklch(0.911 0.015 293.753);
  --accent: oklch(0.376 0.057 291.034);
  --accent-foreground: oklch(0.911 0.015 293.753);
  --destructive: oklch(0.358 0.115 36.946);
  --destructive-foreground: oklch(0.848 0.079 39.22);
  --ring: oklch(0.465 0.051 116.147);
  --chart-1: oklch(0.465 0.051 116.147);
  --chart-2: oklch(0.376 0.057 291.034);
  --chart-3: oklch(0.376 0.057 291.034);
  --chart-4: oklch(0.4 0.062 290.981);
  --chart-5: oklch(0.472 0.058 116.383);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.101 0.011 114.73);
  --foreground: oklch(0.994 0.002 114.108);
  --muted: oklch(0.225 0.017 292.653);
  --muted-foreground: oklch(0.728 0.026 293.397);
  --popover: oklch(0.101 0.011 114.73);
  --popover-foreground: oklch(0.994 0.002 114.108);
  --card: oklch(0.127 0.014 114.73);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.284 0.016 115.136);
  --input: oklch(0.284 0.016 115.136);
  --primary: oklch(0.465 0.051 116.147);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.376 0.057 291.034);
  --secondary-foreground: oklch(0.911 0.015 293.753);
  --accent: oklch(0.376 0.057 291.034);
  --accent-foreground: oklch(0.911 0.015 293.753);
  --destructive: oklch(0.66 0.207 36.946);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.465 0.051 116.147);
  --chart-1: oklch(0.465 0.051 116.147);
  --chart-2: oklch(0.376 0.057 291.034);
  --chart-3: oklch(0.376 0.057 291.034);
  --chart-4: oklch(0.4 0.062 290.981);
  --chart-5: oklch(0.472 0.058 116.383);
}