Appropriation for shadcn/ui

Appropriation is a shadcn/ui theme built around a deep green primary color (#20380a) with muted green accents (#bfc9b6). The light mode uses a neutral background (#fafcf8). Dark mode keeps the deep green primary (#20380a) on a green-tinted background (#080a05).

Color palette

TokenLightDark
Background
#fafcf8snow
#080a05black
Foreground
#050802black
#ffffffwhite
Card
#f7fbf4whitesmoke
#0a0e07black
Card foreground
#020401black
#ffffffwhite
Popover
#f7fbf4whitesmoke
#0a0e07black
Popover foreground
#020401black
#ffffffwhite
Primary
#20380adarkgreen
#20380adarkgreen
Primary foreground
#84db33yellowgreen
#84db33yellowgreen
Secondary
#ced3calightgrey
#1c2117black
Secondary foreground
#353b30darkslategray
#b5c2a8silver
Muted
#eaf1e4beige
#141b0eblack
Muted foreground
#545c4ddarkolivegreen
#abb2a3darkgray
Accent
#bfc9b6silver
#333e28darkslategray
Accent foreground
#262c21darkslategray
#ccd7c1lightgrey
Destructive
#6e1007maroon
#f24a3atomato
Destructive foreground
#fab4aelightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#20380adarkgreen
#20380adarkgreen

Contrast

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

Light mode
Text on background19.51:1AAA
Text on card19.61:1AAA
Primary button7.41:1AAA
Secondary button7.60:1AAA
Muted text6.03:1AA
Accent8.34:1AAA
Destructive7.00:1AAA
Dark mode
Text on background19.87:1AAA
Text on card19.49:1AAA
Primary button7.41:1AAA
Secondary button8.80:1AAA
Muted text8.09:1AAA
Accent7.54:1AAA
Destructive3.60:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 129.191);
  --foreground: oklch(0.127 0.021 127.839);
  --muted: oklch(0.949 0.018 129.323);
  --muted-foreground: oklch(0.462 0.026 129.734);
  --popover: oklch(0.983 0.009 129.224);
  --popover-foreground: oklch(0.101 0.017 127.839);
  --card: oklch(0.983 0.009 129.224);
  --card-foreground: oklch(0.101 0.017 127.839);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.311 0.076 133.03);
  --primary-foreground: oklch(0.806 0.211 133.628);
  --secondary: oklch(0.861 0.014 129.302);
  --secondary-foreground: oklch(0.343 0.02 129.75);
  --accent: oklch(0.822 0.028 129.496);
  --accent-foreground: oklch(0.283 0.022 129.986);
  --destructive: oklch(0.349 0.129 30.106);
  --destructive-foreground: oklch(0.833 0.083 24.826);
  --ring: oklch(0.311 0.076 133.03);
  --chart-1: oklch(0.311 0.076 133.03);
  --chart-2: oklch(0.861 0.014 129.302);
  --chart-3: oklch(0.822 0.028 129.496);
  --chart-4: oklch(0.884 0.012 129.269);
  --chart-5: oklch(0.314 0.079 133.201);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.014 128.367);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.209 0.025 130.508);
  --muted-foreground: oklch(0.754 0.023 129.452);
  --popover: oklch(0.155 0.016 129.307);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.155 0.016 129.307);
  --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.311 0.076 133.03);
  --primary-foreground: oklch(0.806 0.211 133.628);
  --secondary: oklch(0.239 0.019 130.013);
  --secondary-foreground: oklch(0.796 0.038 129.635);
  --accent: oklch(0.347 0.04 130.468);
  --accent-foreground: oklch(0.865 0.033 129.534);
  --destructive: oklch(0.647 0.208 29.192);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.311 0.076 133.03);
  --chart-1: oklch(0.311 0.076 133.03);
  --chart-2: oklch(0.239 0.019 130.013);
  --chart-3: oklch(0.347 0.04 130.468);
  --chart-4: oklch(0.274 0.023 130.08);
  --chart-5: oklch(0.314 0.079 133.201);
}