Female for shadcn/ui

Female is a shadcn/ui theme built around a blue primary color (#266592) with neutral gray accents (#dddedf). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#266592) on a blue-tinted background (#050b0f).

Color palette

TokenLightDark
Background
#ffffffwhite
#050b0fblack
Foreground
#020b12black
#ffffffwhite
Card
#ffffffwhite
#050b0fblack
Card foreground
#020b12black
#ffffffwhite
Popover
#ffffffwhite
#050b0fblack
Popover foreground
#020b12black
#ffffffwhite
Primary
#266592teal
#266592teal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dddedfgainsboro
#181a1bblack
Secondary foreground
#424548darkslategray
#adb3b8darkgray
Muted
#dfe7eclavender
#131b20black
Muted foreground
#57636bdimgray
#94a0a8darkgray
Accent
#dddedfgainsboro
#181a1bblack
Accent foreground
#424548darkslategray
#adb3b8darkgray
Destructive
#c15115chocolate
#ea7a3ecoral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#266592teal
#266592teal

Contrast

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

Light mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button6.26:1AA
Secondary button7.15:1AAA
Muted text4.91:1AA
Accent7.15:1AAA
Destructive4.70:1AA
Dark mode
Text on background19.77:1AAA
Text on card19.77:1AAA
Primary button6.26:1AA
Secondary button8.26:1AAA
Muted text6.53:1AA
Accent8.26:1AAA
Destructive7.34:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.145 0.022 234.464);
  --muted: oklch(0.922 0.012 238.542);
  --muted-foreground: oklch(0.491 0.019 238.935);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.145 0.022 234.464);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.145 0.022 234.464);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.487 0.097 243.501);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.9 0.002 238.398);
  --secondary-foreground: oklch(0.389 0.006 238.574);
  --accent: oklch(0.9 0.002 238.398);
  --accent-foreground: oklch(0.389 0.006 238.574);
  --destructive: oklch(0.573 0.158 43.74);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.487 0.097 243.501);
  --chart-1: oklch(0.487 0.097 243.501);
  --chart-2: oklch(0.9 0.002 238.398);
  --chart-3: oklch(0.9 0.002 238.398);
  --chart-4: oklch(0.923 0.002 238.389);
  --chart-5: oklch(0.489 0.101 243.902);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.145 0.015 235.973);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.215 0.016 239.588);
  --muted-foreground: oklch(0.698 0.018 238.725);
  --popover: oklch(0.145 0.015 235.973);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.145 0.015 235.973);
  --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.487 0.097 243.501);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.215 0.004 238.651);
  --secondary-foreground: oklch(0.764 0.009 238.539);
  --accent: oklch(0.215 0.004 238.651);
  --accent-foreground: oklch(0.764 0.009 238.539);
  --destructive: oklch(0.697 0.156 46.696);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.487 0.097 243.501);
  --chart-1: oklch(0.487 0.097 243.501);
  --chart-2: oklch(0.215 0.004 238.651);
  --chart-3: oklch(0.215 0.004 238.651);
  --chart-4: oklch(0.248 0.005 238.678);
  --chart-5: oklch(0.489 0.101 243.902);
}