Lady for shadcn/ui

Lady is a shadcn/ui theme built around a teal primary color (#208373) with blue accents (#206283). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the teal primary (#208373) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#000000black
Foreground
#010404black
#f9fbfamintcream
Card
#f4faf9mintcream
#030303black
Card foreground
#000000black
#fcfdfdwhite
Popover
#f4faf9mintcream
#030303black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#208373seagreen
#208373seagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#208341seagreen
#208341seagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d7e4dcgainsboro
#1b281fblack
Muted foreground
#47524bdarkslategray
#adb8b1darkgray
Accent
#206283teal
#206283teal
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#e11305red
#eb1405red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#208373seagreen
#208373seagreen

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.94:1AAA
Primary button4.59:1AA
Secondary button4.76:1AA
Muted text6.23:1AA
Accent6.67:1AA
Destructive4.88:1AA
Dark mode
Text on background20.20:1AAA
Text on card20.29:1AAA
Primary button4.59:1AA
Secondary button4.76:1AA
Muted text7.51:1AAA
Accent6.67:1AA
Destructive4.53:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 185.336);
  --foreground: oklch(0.099 0.011 185.12);
  --muted: oklch(0.908 0.018 156.846);
  --muted-foreground: oklch(0.426 0.018 156.38);
  --popover: oklch(0.981 0.006 185.278);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.006 185.278);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.552 0.092 178.772);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.54 0.135 149.82);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.471 0.084 234.671);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.576 0.23 29.787);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.092 178.772);
  --chart-1: oklch(0.552 0.092 178.772);
  --chart-2: oklch(0.54 0.135 149.82);
  --chart-3: oklch(0.471 0.084 234.671);
  --chart-4: oklch(0.576 0.145 149.738);
  --chart-5: oklch(0.558 0.095 178.477);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 185.405);
  --muted: oklch(0.261 0.025 155.157);
  --muted-foreground: oklch(0.772 0.016 156.85);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.993 0.001 185.427);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 185.427);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.552 0.092 178.772);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.54 0.135 149.82);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.471 0.084 234.671);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.595 0.238 29.772);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.092 178.772);
  --chart-1: oklch(0.552 0.092 178.772);
  --chart-2: oklch(0.54 0.135 149.82);
  --chart-3: oklch(0.471 0.084 234.671);
  --chart-4: oklch(0.576 0.145 149.738);
  --chart-5: oklch(0.558 0.095 178.477);
}