Llama for shadcn/ui

Llama is a shadcn/ui theme built around a muted deep orange primary color (#593b31) with muted deep cyan accents (#314f59). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep orange primary (#593b31) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#ffffffwhite
#030202black
Foreground
#0c0604black
#ffffffwhite
Card
#ffffffwhite
#030202black
Card foreground
#0c0604black
#ffffffwhite
Popover
#ffffffwhite
#030202black
Popover foreground
#0c0604black
#ffffffwhite
Primary
#593b31darkolivegreen
#593b31darkolivegreen
Primary foreground
#e7d9d4gainsboro
#e7d9d4gainsboro
Secondary
#314f59darkslategray
#314f59darkslategray
Secondary foreground
#d4e3e7gainsboro
#d4e3e7gainsboro
Muted
#ebf2f5whitesmoke
#0a1214black
Muted foreground
#4a4a4adarkslategray
#b5b5b5silver
Accent
#314f59darkslategray
#314f59darkslategray
Accent foreground
#d4e3e7gainsboro
#d4e3e7gainsboro
Destructive
#b40808firebrick
#f41515red
Destructive foreground
#fef0f0lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#593b31darkolivegreen
#593b31darkolivegreen

Contrast

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

Light mode
Text on background20.12:1AAA
Text on card20.12:1AAA
Primary button7.30:1AAA
Secondary button6.67:1AA
Muted text7.83:1AAA
Accent6.67:1AA
Destructive6.34:1AA
Dark mode
Text on background20.70:1AAA
Text on card20.70:1AAA
Primary button7.30:1AAA
Secondary button6.67:1AA
Muted text9.23:1AAA
Accent6.67:1AA
Destructive4.22:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.129 0.014 46.025);
  --muted: oklch(0.957 0.009 219.576);
  --muted-foreground: oklch(0.409 0 190.305);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.129 0.014 46.025);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.129 0.014 46.025);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.384 0.046 39.205);
  --primary-foreground: oklch(0.896 0.017 39.396);
  --secondary: oklch(0.408 0.039 221.013);
  --secondary-foreground: oklch(0.905 0.017 219.657);
  --accent: oklch(0.408 0.039 221.013);
  --accent-foreground: oklch(0.905 0.017 219.657);
  --destructive: oklch(0.487 0.196 28.785);
  --destructive-foreground: oklch(0.967 0.015 17.417);
  --ring: oklch(0.384 0.046 39.205);
  --chart-1: oklch(0.384 0.046 39.205);
  --chart-2: oklch(0.408 0.039 221.013);
  --chart-3: oklch(0.408 0.039 221.013);
  --chart-4: oklch(0.438 0.043 221.053);
  --chart-5: oklch(0.384 0.051 39.197);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.09 0.007 43.978);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.175 0.013 220.427);
  --muted-foreground: oklch(0.773 0 180);
  --popover: oklch(0.09 0.007 43.978);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.09 0.007 43.978);
  --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.384 0.046 39.205);
  --primary-foreground: oklch(0.896 0.017 39.396);
  --secondary: oklch(0.408 0.039 221.013);
  --secondary-foreground: oklch(0.905 0.017 219.657);
  --accent: oklch(0.408 0.039 221.013);
  --accent-foreground: oklch(0.905 0.017 219.657);
  --destructive: oklch(0.613 0.244 28.575);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.384 0.046 39.205);
  --chart-1: oklch(0.384 0.046 39.205);
  --chart-2: oklch(0.408 0.039 221.013);
  --chart-3: oklch(0.408 0.039 221.013);
  --chart-4: oklch(0.438 0.043 221.053);
  --chart-5: oklch(0.384 0.051 39.197);
}