Many for shadcn/ui

Many is a shadcn/ui theme built around a deep green primary color (#3e7114) with deep green accents (#147119). The light mode uses a neutral background (#fafdf7). Dark mode keeps the deep green primary (#3e7114) on a green-tinted background (#0a1004).

Color palette

TokenLightDark
Background
#fafdf7mintcream
#0a1004black
Foreground
#050902black
#f7f9f6whitesmoke
Card
#f7fcf2whitesmoke
#0c1406black
Card foreground
#020401black
#fafbf9snow
Popover
#f7fcf2whitesmoke
#0c1406black
Popover foreground
#020401black
#fafbf9snow
Primary
#3e7114darkolivegreen
#3e7114darkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#6c7114olive
#6c7114olive
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ddddd4gainsboro
#2a2b22darkslategray
Muted foreground
#6f7057dimgray
#a7a88fdarkgray
Accent
#147119forestgreen
#147119forestgreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d12d10firebrick
#ee3f20orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3e7114darkolivegreen
#3e7114darkolivegreen

Contrast

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

Light mode
Text on background19.55:1AAA
Text on card19.79:1AAA
Primary button5.89:1AA
Secondary button5.25:1AA
Muted text3.72:1AA Large
Accent6.19:1AA
Destructive5.14:1AA
Dark mode
Text on background18.23:1AAA
Text on card18.10:1AAA
Primary button5.89:1AA
Secondary button5.25:1AA
Muted text5.89:1AA
Accent6.19:1AA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.01 130.528);
  --foreground: oklch(0.128 0.024 128.908);
  --muted: oklch(0.896 0.012 108.964);
  --muted-foreground: oklch(0.538 0.039 109.997);
  --popover: oklch(0.985 0.014 130.574);
  --popover-foreground: oklch(0.102 0.019 128.908);
  --card: oklch(0.985 0.014 130.574);
  --card-foreground: oklch(0.102 0.019 128.908);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.493 0.132 134.753);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.527 0.11 112.602);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.478 0.148 143.342);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.56 0.203 31.993);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.493 0.132 134.753);
  --chart-1: oklch(0.493 0.132 134.753);
  --chart-2: oklch(0.527 0.11 112.602);
  --chart-3: oklch(0.478 0.148 143.342);
  --chart-4: oklch(0.569 0.119 112.636);
  --chart-5: oklch(0.498 0.136 134.956);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.162 0.027 130.425);
  --foreground: oklch(0.98 0.005 130.484);
  --muted: oklch(0.285 0.016 109.736);
  --muted-foreground: oklch(0.725 0.036 109.614);
  --popover: oklch(0.178 0.031 131.538);
  --popover-foreground: oklch(0.987 0.003 130.468);
  --card: oklch(0.178 0.031 131.538);
  --card-foreground: oklch(0.987 0.003 130.468);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.493 0.132 134.753);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.527 0.11 112.602);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.478 0.148 143.342);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.628 0.216 32.286);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.493 0.132 134.753);
  --chart-1: oklch(0.493 0.132 134.753);
  --chart-2: oklch(0.527 0.11 112.602);
  --chart-3: oklch(0.478 0.148 143.342);
  --chart-4: oklch(0.569 0.119 112.636);
  --chart-5: oklch(0.498 0.136 134.956);
}