Male for shadcn/ui

Male is a shadcn/ui theme built around a pink primary color (#ee90ca) with red accents (#ee909b). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the pink primary (#ee90ca) on a neutral background (#030203).

Color palette

TokenLightDark
Background
#fcf8fasnow
#030203black
Foreground
#11030cblack
#fbf9fasnow
Card
#fcf8fasnow
#030203black
Card foreground
#11030cblack
#fbf9fasnow
Popover
#fcf8fasnow
#030203black
Popover foreground
#11030cblack
#fbf9fasnow
Primary
#ee90caplum
#ee90caplum
Primary foreground
#430a2dmaroon
#430a2dmaroon
Secondary
#e390eeviolet
#e390eeviolet
Secondary foreground
#3c0a43midnightblue
#3c0a43midnightblue
Muted
#e4d6e6gainsboro
#271929black
Muted foreground
#675e68dimgray
#9f97a1darkgray
Accent
#ee909blightcoral
#ee909blightcoral
Accent foreground
#430a11maroon
#430a11maroon
Destructive
#c51616firebrick
#dc1818crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ee90caplum
#ee90caplum

Contrast

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

Light mode
Text on background19.15:1AAA
Text on card19.15:1AAA
Primary button7.19:1AAA
Secondary button7.22:1AAA
Muted text4.45:1AA Large
Accent7.06:1AAA
Destructive5.98:1AA
Dark mode
Text on background19.77:1AAA
Text on card19.77:1AAA
Primary button7.19:1AAA
Secondary button7.22:1AAA
Muted text5.88:1AA
Accent7.06:1AAA
Destructive4.99:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 339.57);
  --foreground: oklch(0.134 0.035 342.063);
  --muted: oklch(0.892 0.026 322.212);
  --muted-foreground: oklch(0.495 0.019 322.242);
  --popover: oklch(0.983 0.004 339.57);
  --popover-foreground: oklch(0.134 0.035 342.063);
  --card: oklch(0.983 0.004 339.57);
  --card-foreground: oklch(0.134 0.035 342.063);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.769 0.134 343.027);
  --primary-foreground: oklch(0.263 0.094 347.75);
  --secondary: oklch(0.771 0.157 322.706);
  --secondary-foreground: oklch(0.265 0.107 322.724);
  --accent: oklch(0.755 0.115 12.651);
  --accent-foreground: oklch(0.253 0.085 19.738);
  --destructive: oklch(0.525 0.205 28.156);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.769 0.134 343.027);
  --chart-1: oklch(0.769 0.134 343.027);
  --chart-2: oklch(0.771 0.157 322.706);
  --chart-3: oklch(0.755 0.115 12.651);
  --chart-4: oklch(0.797 0.138 322.637);
  --chart-5: oklch(0.768 0.139 343.169);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.009 339.582);
  --foreground: oklch(0.984 0.003 339.53);
  --muted: oklch(0.239 0.036 322.578);
  --muted-foreground: oklch(0.686 0.018 322.199);
  --popover: oklch(0.088 0.009 339.582);
  --popover-foreground: oklch(0.984 0.003 339.53);
  --card: oklch(0.088 0.009 339.582);
  --card-foreground: oklch(0.984 0.003 339.53);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.769 0.134 343.027);
  --primary-foreground: oklch(0.263 0.094 347.75);
  --secondary: oklch(0.771 0.157 322.706);
  --secondary-foreground: oklch(0.265 0.107 322.724);
  --accent: oklch(0.755 0.115 12.651);
  --accent-foreground: oklch(0.253 0.085 19.738);
  --destructive: oklch(0.57 0.223 28.235);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.769 0.134 343.027);
  --chart-1: oklch(0.769 0.134 343.027);
  --chart-2: oklch(0.771 0.157 322.706);
  --chart-3: oklch(0.755 0.115 12.651);
  --chart-4: oklch(0.797 0.138 322.637);
  --chart-5: oklch(0.768 0.139 343.169);
}