Female for shadcn/ui

Female is a shadcn/ui theme built around a deep green primary color (#262d15) with deep violet accents (#1c152d). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the deep green primary (#262d15) on a green-tinted background (#090b05).

Color palette

TokenLightDark
Background
#fbfdf7snow
#090b05black
Foreground
#090c04black
#fafbf9snow
Card
#fbfdf7snow
#090b05black
Card foreground
#090c04black
#fafbf9snow
Popover
#fbfdf7snow
#090b05black
Popover foreground
#090c04black
#fafbf9snow
Primary
#262d15black
#262d15black
Primary foreground
#99b35bdarkkhaki
#99b35bdarkkhaki
Secondary
#1c152dblack
#1c152dblack
Secondary foreground
#b0a1d4lightsteelblue
#b0a1d4lightsteelblue
Muted
#dfd9edgainsboro
#181226black
Muted foreground
#494455darkslategray
#afaabbdarkgray
Accent
#1c152dblack
#1c152dblack
Accent foreground
#b0a1d4lightsteelblue
#b0a1d4lightsteelblue
Destructive
#942a0asaddlebrown
#ee4411orangered
Destructive foreground
#fcddd4antiquewhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#262d15black
#262d15black

Contrast

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

Light mode
Text on background19.21:1AAA
Text on card19.21:1AAA
Primary button6.06:1AA
Secondary button7.44:1AAA
Muted text6.79:1AA
Accent7.44:1AAA
Destructive6.32:1AA
Dark mode
Text on background19.09:1AAA
Text on card19.09:1AAA
Primary button6.06:1AA
Secondary button7.44:1AAA
Muted text8.06:1AAA
Accent7.44:1AAA
Destructive3.82:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.008 120.176);
  --foreground: oklch(0.147 0.02 120.172);
  --muted: oklch(0.895 0.029 299.495);
  --muted-foreground: oklch(0.399 0.029 298.817);
  --popover: oklch(0.991 0.008 120.176);
  --popover-foreground: oklch(0.147 0.02 120.172);
  --card: oklch(0.991 0.008 120.176);
  --card-foreground: oklch(0.147 0.02 120.172);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.285 0.042 122.784);
  --primary-foreground: oklch(0.728 0.12 123.134);
  --secondary: oklch(0.218 0.048 296.048);
  --secondary-foreground: oklch(0.739 0.074 298.316);
  --accent: oklch(0.218 0.048 296.048);
  --accent-foreground: oklch(0.739 0.074 298.316);
  --destructive: oklch(0.447 0.146 35.728);
  --destructive-foreground: oklch(0.922 0.036 37.611);
  --ring: oklch(0.285 0.042 122.784);
  --chart-1: oklch(0.285 0.042 122.784);
  --chart-2: oklch(0.218 0.048 296.048);
  --chart-3: oklch(0.218 0.048 296.048);
  --chart-4: oklch(0.244 0.057 295.746);
  --chart-5: oklch(0.288 0.045 122.983);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.015 119.971);
  --foreground: oklch(0.987 0.004 120.099);
  --muted: oklch(0.2 0.041 296.302);
  --muted-foreground: oklch(0.748 0.024 299.486);
  --popover: oklch(0.143 0.015 119.971);
  --popover-foreground: oklch(0.987 0.004 120.099);
  --card: oklch(0.143 0.015 119.971);
  --card-foreground: oklch(0.987 0.004 120.099);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.285 0.042 122.784);
  --primary-foreground: oklch(0.728 0.12 123.134);
  --secondary: oklch(0.218 0.048 296.048);
  --secondary-foreground: oklch(0.739 0.074 298.316);
  --accent: oklch(0.218 0.048 296.048);
  --accent-foreground: oklch(0.739 0.074 298.316);
  --destructive: oklch(0.632 0.214 35.197);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.285 0.042 122.784);
  --chart-1: oklch(0.285 0.042 122.784);
  --chart-2: oklch(0.218 0.048 296.048);
  --chart-3: oklch(0.218 0.048 296.048);
  --chart-4: oklch(0.244 0.057 295.746);
  --chart-5: oklch(0.288 0.045 122.983);
}