Llama for shadcn/ui

Llama is a shadcn/ui theme built around a vivid deep green primary color (#177302) with vivid deep green accents (#027326). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the vivid deep green primary (#177302) on a neutral background (#030802).

Color palette

TokenLightDark
Background
#f9fcf8mintcream
#030802black
Foreground
#030802black
#fcfdfcwhite
Card
#f9fcf8mintcream
#030802black
Card foreground
#030802black
#fcfdfcwhite
Popover
#f9fcf8mintcream
#030802black
Popover foreground
#030802black
#fcfdfcwhite
Primary
#177302green
#177302green
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#4f7302darkolivegreen
#4f7302darkolivegreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f3f4f0whitesmoke
#0d0f0bblack
Muted foreground
#4b4e46darkslategray
#b6b9b1silver
Accent
#027326forestgreen
#027326forestgreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#75230amaroon
#ee683ftomato
Destructive foreground
#f9c8b9peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#177302green
#177302green

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.50:1AAA
Primary button6.02:1AA
Secondary button5.54:1AA
Muted text7.68:1AAA
Accent6.03:1AA
Destructive6.96:1AA
Dark mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button6.02:1AA
Secondary button5.54:1AA
Muted text9.70:1AAA
Accent6.03:1AA
Destructive6.68:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.006 139.985);
  --foreground: oklch(0.124 0.022 138.263);
  --muted: oklch(0.966 0.005 120.857);
  --muted-foreground: oklch(0.418 0.012 121.258);
  --popover: oklch(0.987 0.006 139.985);
  --popover-foreground: oklch(0.124 0.022 138.263);
  --card: oklch(0.987 0.006 139.985);
  --card-foreground: oklch(0.124 0.022 138.263);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.484 0.159 141.157);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.509 0.132 128.025);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.484 0.144 146.705);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.383 0.12 36.258);
  --destructive-foreground: oklch(0.871 0.06 37.592);
  --ring: oklch(0.484 0.159 141.157);
  --chart-1: oklch(0.484 0.159 141.157);
  --chart-2: oklch(0.509 0.132 128.025);
  --chart-3: oklch(0.484 0.144 146.705);
  --chart-4: oklch(0.555 0.145 128.192);
  --chart-5: oklch(0.489 0.161 141.196);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.021 138.354);
  --foreground: oklch(0.993 0.001 139.99);
  --muted: oklch(0.164 0.008 121.586);
  --muted-foreground: oklch(0.781 0.011 120.992);
  --popover: oklch(0.123 0.021 138.354);
  --popover-foreground: oklch(0.993 0.001 139.99);
  --card: oklch(0.123 0.021 138.354);
  --card-foreground: oklch(0.993 0.001 139.99);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.484 0.159 141.157);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.509 0.132 128.025);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.484 0.144 146.705);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.676 0.176 37.367);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.484 0.159 141.157);
  --chart-1: oklch(0.484 0.159 141.157);
  --chart-2: oklch(0.509 0.132 128.025);
  --chart-3: oklch(0.484 0.144 146.705);
  --chart-4: oklch(0.555 0.145 128.192);
  --chart-5: oklch(0.489 0.161 141.196);
}