Bossy for shadcn/ui

Bossy is a shadcn/ui theme built around a muted green primary color (#84876e) with muted purple accents (#876e84). The light mode uses a neutral background (#fdfefb). Dark mode keeps the muted green primary (#84876e) on a neutral background (#070703).

Color palette

TokenLightDark
Background
#fdfefbwhite
#070703black
Foreground
#0c0e02black
#f9f9f5whitesmoke
Card
#fcfcf7snow
#0a0b05black
Card foreground
#080901black
#fbfbf9snow
Popover
#fcfcf7snow
#0a0b05black
Popover foreground
#080901black
#fbfbf9snow
Primary
#84876egray
#84876egray
Primary foreground
#000000black
#000000black
Secondary
#6e8487slategray
#6e8487slategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d6e8ebgainsboro
#142729black
Muted foreground
#3f494adarkslategray
#b5bec0silver
Accent
#876e84gray
#876e84gray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#650d06maroon
#f01e0fred
Destructive foreground
#f9aaa4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#84876egray
#84876egray

Contrast

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

Light mode
Text on background19.19:1AAA
Text on card19.47:1AAA
Primary button5.64:1AA
Secondary button3.96:1AA Large
Muted text7.35:1AAA
Accent4.57:1AA
Destructive7.03:1AAA
Dark mode
Text on background19.10:1AAA
Text on card19.08:1AAA
Primary button5.64:1AA
Secondary button3.96:1AA Large
Muted text8.23:1AAA
Accent4.57:1AA
Destructive4.29:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.003 111.84);
  --foreground: oklch(0.155 0.028 113.881);
  --muted: oklch(0.919 0.02 206.327);
  --muted-foreground: oklch(0.397 0.013 206.289);
  --popover: oklch(0.99 0.006 111.902);
  --popover-foreground: oklch(0.135 0.024 113.321);
  --card: oklch(0.99 0.006 111.902);
  --card-foreground: oklch(0.135 0.024 113.321);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.613 0.036 112.863);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.596 0.025 206.265);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.57 0.044 330);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.327 0.121 29.67);
  --destructive-foreground: oklch(0.812 0.095 23.883);
  --ring: oklch(0.613 0.036 112.863);
  --chart-1: oklch(0.613 0.036 112.863);
  --chart-2: oklch(0.596 0.025 206.265);
  --chart-3: oklch(0.57 0.044 330);
  --chart-4: oklch(0.622 0.026 206.267);
  --chart-5: oklch(0.623 0.046 113.148);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.013 112.72);
  --foreground: oklch(0.982 0.005 111.884);
  --muted: oklch(0.256 0.025 206.428);
  --muted-foreground: oklch(0.795 0.011 206.363);
  --popover: oklch(0.145 0.015 112.802);
  --popover-foreground: oklch(0.988 0.004 111.849);
  --card: oklch(0.145 0.015 112.802);
  --card-foreground: oklch(0.988 0.004 111.849);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.613 0.036 112.863);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.596 0.025 206.265);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.57 0.044 330);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.608 0.238 29.752);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.613 0.036 112.863);
  --chart-1: oklch(0.613 0.036 112.863);
  --chart-2: oklch(0.596 0.025 206.265);
  --chart-3: oklch(0.57 0.044 330);
  --chart-4: oklch(0.622 0.026 206.267);
  --chart-5: oklch(0.623 0.046 113.148);
}