Recruit for shadcn/ui

Recruit is a shadcn/ui theme built around a light pink primary color (#f0bcd1) with light red accents (#f0c2bc). The light mode uses a neutral background (#ffffff). Dark mode keeps the light pink primary (#f0bcd1) on a neutral background (#080305).

Color palette

TokenLightDark
Background
#ffffffwhite
#080305black
Foreground
#0d0307black
#fcf8fasnow
Card
#fcfcfcsnow
#0b0407black
Card foreground
#080204black
#fdfcfcsnow
Popover
#ffffffwhite
#080305black
Popover foreground
#0d0307black
#fcf8fasnow
Primary
#f0bcd1pink
#f0bcd1pink
Primary foreground
#641735maroon
#641735maroon
Secondary
#f0bcebthistle
#f0bcebthistle
Secondary foreground
#64175cindigo
#64175cindigo
Muted
#e4d7e3gainsboro
#281b26black
Muted foreground
#70576edimgray
#a88fa6darkgray
Accent
#f0c2bclightpink
#f0c2bclightpink
Accent foreground
#641e17maroon
#641e17maroon
Destructive
#c84209chocolate
#e54c0borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f0bcd1pink
#f0bcd1pink

Contrast

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

Light mode
Text on background20.32:1AAA
Text on card20.13:1AAA
Primary button7.49:1AAA
Secondary button7.22:1AAA
Muted text4.62:1AA
Accent7.53:1AAA
Destructive4.95:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.81:1AAA
Primary button7.49:1AAA
Secondary button7.22:1AAA
Muted text5.62:1AA
Accent7.53:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.119 0.027 350.612);
  --muted: oklch(0.894 0.022 328.856);
  --muted-foreground: oklch(0.49 0.049 329.638);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.119 0.027 350.612);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.104 0.023 350.172);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.848 0.064 352.673);
  --primary-foreground: oklch(0.344 0.112 0.85);
  --secondary: oklch(0.857 0.084 329.627);
  --secondary-foreground: oklch(0.362 0.137 332.45);
  --accent: oklch(0.852 0.054 25.629);
  --accent-foreground: oklch(0.345 0.102 29.548);
  --destructive: oklch(0.565 0.179 38.51);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.848 0.064 352.673);
  --chart-1: oklch(0.848 0.064 352.673);
  --chart-2: oklch(0.857 0.084 329.627);
  --chart-3: oklch(0.852 0.054 25.629);
  --chart-4: oklch(0.883 0.068 329.411);
  --chart-5: oklch(0.847 0.068 352.772);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.016 350.311);
  --foreground: oklch(0.983 0.004 350.735);
  --muted: oklch(0.242 0.03 329.872);
  --muted-foreground: oklch(0.68 0.045 329.3);
  --popover: oklch(0.107 0.016 350.311);
  --popover-foreground: oklch(0.983 0.004 350.735);
  --card: oklch(0.123 0.019 350.456);
  --card-foreground: oklch(0.991 0.002 350.678);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.848 0.064 352.673);
  --primary-foreground: oklch(0.344 0.112 0.85);
  --secondary: oklch(0.857 0.084 329.627);
  --secondary-foreground: oklch(0.362 0.137 332.45);
  --accent: oklch(0.852 0.054 25.629);
  --accent-foreground: oklch(0.345 0.102 29.548);
  --destructive: oklch(0.624 0.199 38.291);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.848 0.064 352.673);
  --chart-1: oklch(0.848 0.064 352.673);
  --chart-2: oklch(0.857 0.084 329.627);
  --chart-3: oklch(0.852 0.054 25.629);
  --chart-4: oklch(0.883 0.068 329.411);
  --chart-5: oklch(0.847 0.068 352.772);
}