Llama for shadcn/ui

Llama is a shadcn/ui theme built around a muted yellow primary color (#bbba90) with muted green accents (#a6bb90). The light mode uses a neutral background (#fefefb). Dark mode keeps the muted yellow primary (#bbba90) on a yellow-tinted background (#0b0b04).

Color palette

TokenLightDark
Background
#fefefbwhite
#0b0b04black
Foreground
#0d0d02black
#fbfbf8snow
Card
#fdfdf6snow
#0f0f06black
Card foreground
#090902black
#fdfdfcwhite
Popover
#fefefbwhite
#0b0b04black
Popover foreground
#0d0d02black
#fbfbf8snow
Primary
#bbba90tan
#bbba90tan
Primary foreground
#10100ablack
#10100ablack
Secondary
#bba590rosybrown
#bba590rosybrown
Secondary foreground
#100d0ablack
#100d0ablack
Muted
#f7f2edlinen
#120d08black
Muted foreground
#5f5954dimgray
#aba6a0darkgray
Accent
#a6bb90darkseagreen
#a6bb90darkseagreen
Accent foreground
#0d100ablack
#0d100ablack
Destructive
#c52407firebrick
#f85235tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bbba90tan
#bbba90tan

Contrast

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

Light mode
Text on background19.34:1AAA
Text on card19.59:1AAA
Primary button9.61:1AAA
Secondary button8.21:1AAA
Muted text6.20:1AA
Accent9.27:1AAA
Destructive5.79:1AA
Dark mode
Text on background19.03:1AAA
Text on card18.95:1AAA
Primary button9.61:1AAA
Secondary button8.21:1AAA
Muted text8.01:1AAA
Accent9.27:1AAA
Destructive6.25:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.997 0.004 105.697);
  --foreground: oklch(0.154 0.025 108.315);
  --muted: oklch(0.964 0.008 65.862);
  --muted-foreground: oklch(0.468 0.011 65.681);
  --popover: oklch(0.997 0.004 105.697);
  --popover-foreground: oklch(0.154 0.025 108.315);
  --card: oklch(0.993 0.009 105.777);
  --card-foreground: oklch(0.134 0.022 108.389);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.78 0.057 106.844);
  --primary-foreground: oklch(0.17 0.012 106.803);
  --secondary: oklch(0.736 0.039 65.269);
  --secondary-foreground: oklch(0.16 0.008 65.308);
  --accent: oklch(0.765 0.063 128.807);
  --accent-foreground: oklch(0.166 0.013 128.764);
  --destructive: oklch(0.531 0.199 31.701);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.78 0.057 106.844);
  --chart-1: oklch(0.78 0.057 106.844);
  --chart-2: oklch(0.736 0.039 65.269);
  --chart-3: oklch(0.765 0.063 128.807);
  --chart-4: oklch(0.759 0.035 65.364);
  --chart-5: oklch(0.787 0.064 106.965);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.147 0.016 107.582);
  --foreground: oklch(0.989 0.004 105.691);
  --muted: oklch(0.162 0.013 65.712);
  --muted-foreground: oklch(0.727 0.01 65.805);
  --popover: oklch(0.147 0.016 107.582);
  --popover-foreground: oklch(0.989 0.004 105.691);
  --card: oklch(0.164 0.019 107.545);
  --card-foreground: oklch(0.994 0.002 105.654);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.78 0.057 106.844);
  --primary-foreground: oklch(0.17 0.012 106.803);
  --secondary: oklch(0.736 0.039 65.269);
  --secondary-foreground: oklch(0.16 0.008 65.308);
  --accent: oklch(0.765 0.063 128.807);
  --accent-foreground: oklch(0.166 0.013 128.764);
  --destructive: oklch(0.664 0.206 32.368);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.78 0.057 106.844);
  --chart-1: oklch(0.78 0.057 106.844);
  --chart-2: oklch(0.736 0.039 65.269);
  --chart-3: oklch(0.765 0.063 128.807);
  --chart-4: oklch(0.759 0.035 65.364);
  --chart-5: oklch(0.787 0.064 106.965);
}