Feminine for shadcn/ui

Feminine is a shadcn/ui theme built around a deep cyan primary color (#193a48) with deep green accents (#3a4819). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep cyan primary (#193a48) on a cyan-tinted background (#04090c).

Color palette

TokenLightDark
Background
#ffffffwhite
#04090cblack
Foreground
#04090cblack
#f6f8f8whitesmoke
Card
#ffffffwhite
#04090cblack
Card foreground
#04090cblack
#f6f8f8whitesmoke
Popover
#ffffffwhite
#04090cblack
Popover foreground
#04090cblack
#f6f8f8whitesmoke
Primary
#193a48darkslategray
#193a48darkslategray
Primary foreground
#afd4e4lightblue
#afd4e4lightblue
Secondary
#48193adarkslategray
#48193adarkslategray
Secondary foreground
#e4afd4plum
#e4afd4plum
Muted
#f1eaefwhitesmoke
#150e13black
Muted foreground
#50494edarkslategray
#b6afb4darkgray
Accent
#3a4819darkolivegreen
#3a4819darkolivegreen
Accent foreground
#d4e4afpalegoldenrod
#d4e4afpalegoldenrod
Destructive
#ab1c03firebrick
#fb3a18orangered
Destructive foreground
#ffe5e1mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#193a48darkslategray
#193a48darkslategray

Contrast

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

Light mode
Text on background20.00:1AAA
Text on card20.00:1AAA
Primary button7.68:1AAA
Secondary button7.71:1AAA
Muted text7.36:1AAA
Accent7.30:1AAA
Destructive6.06:1AA
Dark mode
Text on background18.76:1AAA
Text on card18.76:1AAA
Primary button7.68:1AAA
Secondary button7.71:1AAA
Muted text8.83:1AAA
Accent7.30:1AAA
Destructive3.65:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.135 0.013 220.308);
  --muted: oklch(0.943 0.01 336.06);
  --muted-foreground: oklch(0.415 0.011 336.346);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.135 0.013 220.308);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.135 0.013 220.308);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.33 0.046 228.538);
  --primary-foreground: oklch(0.848 0.045 225.731);
  --secondary: oklch(0.299 0.085 340.935);
  --secondary-foreground: oklch(0.813 0.077 337.569);
  --accent: oklch(0.378 0.073 123.892);
  --accent-foreground: oklch(0.893 0.071 121.413);
  --destructive: oklch(0.477 0.18 31.767);
  --destructive-foreground: oklch(0.942 0.028 29.6);
  --ring: oklch(0.33 0.046 228.538);
  --chart-1: oklch(0.33 0.046 228.538);
  --chart-2: oklch(0.299 0.085 340.935);
  --chart-3: oklch(0.378 0.073 123.892);
  --chart-4: oklch(0.328 0.096 341.085);
  --chart-5: oklch(0.332 0.048 228.875);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.013 220.391);
  --foreground: oklch(0.977 0.002 225.002);
  --muted: oklch(0.177 0.015 337.357);
  --muted-foreground: oklch(0.762 0.009 336.093);
  --popover: oklch(0.135 0.013 220.391);
  --popover-foreground: oklch(0.977 0.002 225.002);
  --card: oklch(0.135 0.013 220.391);
  --card-foreground: oklch(0.977 0.002 225.002);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.33 0.046 228.538);
  --primary-foreground: oklch(0.848 0.045 225.731);
  --secondary: oklch(0.299 0.085 340.935);
  --secondary-foreground: oklch(0.813 0.077 337.569);
  --accent: oklch(0.378 0.073 123.892);
  --accent-foreground: oklch(0.893 0.071 121.413);
  --destructive: oklch(0.646 0.232 32.065);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.33 0.046 228.538);
  --chart-1: oklch(0.33 0.046 228.538);
  --chart-2: oklch(0.299 0.085 340.935);
  --chart-3: oklch(0.378 0.073 123.892);
  --chart-4: oklch(0.328 0.096 341.085);
  --chart-5: oklch(0.332 0.048 228.875);
}