Lady for shadcn/ui

Lady is a shadcn/ui theme built around a green primary color (#83bc76) with green accents (#76bc8c). The light mode uses a neutral background (#fbfefb). Dark mode keeps the green primary (#83bc76) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefbwhite
#000000black
Foreground
#020401black
#fcfdfcwhite
Card
#f8fdf7mintcream
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfefbwhite
#000000black
Popover foreground
#020401black
#fcfdfcwhite
Primary
#83bc76darkseagreen
#83bc76darkseagreen
Primary foreground
#000000black
#000000black
Secondary
#a6bc76darkkhaki
#a6bc76darkkhaki
Secondary foreground
#000000black
#000000black
Muted
#e9ebe5linen
#181a14black
Muted foreground
#555a49darkolivegreen
#b0b6a5darkgray
Accent
#76bc8cdarkseagreen
#76bc8cdarkseagreen
Accent foreground
#000000black
#000000black
Destructive
#c92b13firebrick
#e03015orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#83bc76darkseagreen
#83bc76darkseagreen

Contrast

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

Light mode
Text on background20.27:1AAA
Text on card20.37:1AAA
Primary button9.39:1AAA
Secondary button10.04:1AAA
Muted text5.95:1AA
Accent9.32:1AAA
Destructive5.48:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.67:1AAA
Primary button9.39:1AAA
Secondary button10.04:1AAA
Muted text8.39:1AAA
Accent9.32:1AAA
Destructive4.56:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 139.987);
  --foreground: oklch(0.098 0.018 138.202);
  --muted: oklch(0.938 0.009 120.934);
  --muted-foreground: oklch(0.457 0.027 121.737);
  --popover: oklch(0.994 0.005 139.987);
  --popover-foreground: oklch(0.098 0.018 138.202);
  --card: oklch(0.988 0.009 139.982);
  --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.738 0.113 139.913);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.761 0.096 122.986);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.735 0.099 153.52);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.544 0.197 31.548);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.738 0.113 139.913);
  --chart-1: oklch(0.738 0.113 139.913);
  --chart-2: oklch(0.761 0.096 122.986);
  --chart-3: oklch(0.735 0.099 153.52);
  --chart-4: oklch(0.779 0.089 122.75);
  --chart-5: oklch(0.743 0.123 139.92);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 139.989);
  --muted: oklch(0.215 0.013 121.82);
  --muted-foreground: oklch(0.766 0.023 121.275);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 139.989);
  --card: oklch(0.092 0 180);
  --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.738 0.113 139.913);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.761 0.096 122.986);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.735 0.099 153.52);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.59 0.214 31.521);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.738 0.113 139.913);
  --chart-1: oklch(0.738 0.113 139.913);
  --chart-2: oklch(0.761 0.096 122.986);
  --chart-3: oklch(0.735 0.099 153.52);
  --chart-4: oklch(0.779 0.089 122.75);
  --chart-5: oklch(0.743 0.123 139.92);
}