Armadillo for shadcn/ui

Armadillo is a shadcn/ui theme built around a green primary color (#c1d968) with indigo accents (#8168d9). The light mode uses a neutral background (#fcfdf6). Dark mode keeps the green primary (#c1d968) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfdf6snow
#000000black
Foreground
#040401black
#fbfbf9snow
Card
#fcfdf6snow
#000000black
Card foreground
#040401black
#fbfbf9snow
Popover
#fcfdf6snow
#000000black
Popover foreground
#040401black
#fbfbf9snow
Primary
#c1d968darkkhaki
#c1d968darkkhaki
Primary foreground
#0a0c03black
#0a0c03black
Secondary
#8168d9mediumpurple
#8168d9mediumpurple
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ebe9f2lavender
#0f0d16black
Muted foreground
#535257dimgray
#a9a8addarkgray
Accent
#8168d9mediumpurple
#8168d9mediumpurple
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#6e2b0csaddlebrown
#e76123chocolate
Destructive foreground
#f7cab6peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c1d968darkkhaki
#c1d968darkkhaki

Contrast

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

Light mode
Text on background20.11:1AAA
Text on card20.11:1AAA
Primary button12.57:1AAA
Secondary button4.27:1AA Large
Muted text6.41:1AA
Accent4.27:1AA Large
Destructive6.97:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.26:1AAA
Primary button12.57:1AAA
Secondary button4.27:1AA Large
Muted text8.14:1AAA
Accent4.27:1AA Large
Destructive6.10:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.01 116.505);
  --foreground: oklch(0.106 0.019 116.874);
  --muted: oklch(0.937 0.013 296.086);
  --muted-foreground: oklch(0.44 0.008 295.987);
  --popover: oklch(0.992 0.01 116.505);
  --popover-foreground: oklch(0.106 0.019 116.874);
  --card: oklch(0.992 0.01 116.505);
  --card-foreground: oklch(0.106 0.019 116.874);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.844 0.142 119.687);
  --primary-foreground: oklch(0.149 0.023 117.236);
  --secondary: oklch(0.595 0.167 290.4);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.595 0.167 290.4);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.381 0.104 42.164);
  --destructive-foreground: oklch(0.873 0.058 46.219);
  --ring: oklch(0.844 0.142 119.687);
  --chart-1: oklch(0.844 0.142 119.687);
  --chart-2: oklch(0.595 0.167 290.4);
  --chart-3: oklch(0.595 0.167 290.4);
  --chart-4: oklch(0.628 0.153 291.333);
  --chart-5: oklch(0.851 0.148 119.825);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.003 116.388);
  --muted: oklch(0.167 0.019 294.142);
  --muted-foreground: oklch(0.735 0.007 296.15);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.987 0.003 116.388);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.987 0.003 116.388);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.844 0.142 119.687);
  --primary-foreground: oklch(0.149 0.023 117.236);
  --secondary: oklch(0.595 0.167 290.4);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.595 0.167 290.4);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.653 0.181 41.9);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.844 0.142 119.687);
  --chart-1: oklch(0.844 0.142 119.687);
  --chart-2: oklch(0.595 0.167 290.4);
  --chart-3: oklch(0.595 0.167 290.4);
  --chart-4: oklch(0.628 0.153 291.333);
  --chart-5: oklch(0.851 0.148 119.825);
}