Bossy for shadcn/ui

Bossy is a shadcn/ui theme built around a muted purple primary color (#a479a0) with muted pink accents (#a4798b). The light mode uses a neutral background (#fdf6fd). Dark mode keeps the muted purple primary (#a479a0) on a purple-tinted background (#0a050a).

Color palette

TokenLightDark
Background
#fdf6fdsnow
#0a050ablack
Foreground
#120310black
#f9f6f8whitesmoke
Card
#fdf2fclavenderblush
#0d070dblack
Card foreground
#0d020cblack
#fbf9fbsnow
Popover
#fdf2fclavenderblush
#0d070dblack
Popover foreground
#0d020cblack
#fbf9fbsnow
Primary
#a479a0rosybrown
#a479a0rosybrown
Primary foreground
#000000black
#000000black
Secondary
#9379a4lightslategray
#9379a4lightslategray
Secondary foreground
#000000black
#000000black
Muted
#ece6f0lavender
#150f1ablack
Muted foreground
#454446darkslategray
#bab9bbsilver
Accent
#a4798brosybrown
#a4798brosybrown
Accent foreground
#000000black
#000000black
Destructive
#642407maroon
#d74e0fchocolate
Destructive foreground
#f9bfa4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a479a0rosybrown
#a479a0rosybrown

Contrast

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

Light mode
Text on background18.95:1AAA
Text on card18.68:1AAA
Primary button5.84:1AA
Secondary button5.53:1AA
Muted text7.87:1AAA
Accent5.70:1AA
Destructive7.21:1AAA
Dark mode
Text on background18.81:1AAA
Text on card19.02:1AAA
Primary button5.84:1AA
Secondary button5.53:1AA
Muted text9.61:1AAA
Accent5.70:1AA
Destructive4.21: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.981 0.011 328.72);
  --foreground: oklch(0.136 0.044 331.126);
  --muted: oklch(0.931 0.015 312.237);
  --muted-foreground: oklch(0.389 0.003 312.309);
  --popover: oklch(0.972 0.017 328.785);
  --popover-foreground: oklch(0.121 0.038 330.678);
  --card: oklch(0.972 0.017 328.785);
  --card-foreground: oklch(0.121 0.038 330.678);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.633 0.075 329.832);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.617 0.069 311.519);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.625 0.058 353.104);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.353 0.1 41.656);
  --destructive-foreground: oklch(0.85 0.076 46.031);
  --ring: oklch(0.633 0.075 329.832);
  --chart-1: oklch(0.633 0.075 329.832);
  --chart-2: oklch(0.617 0.069 311.519);
  --chart-3: oklch(0.625 0.058 353.104);
  --chart-4: oklch(0.644 0.064 311.618);
  --chart-5: oklch(0.631 0.087 330.016);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.015 329.31);
  --foreground: oklch(0.976 0.004 328.642);
  --muted: oklch(0.183 0.022 311.437);
  --muted-foreground: oklch(0.788 0.002 312.338);
  --popover: oklch(0.141 0.018 329.717);
  --popover-foreground: oklch(0.984 0.003 328.626);
  --card: oklch(0.141 0.018 329.717);
  --card-foreground: oklch(0.984 0.003 328.626);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.633 0.075 329.832);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.617 0.069 311.519);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.625 0.058 353.104);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.603 0.183 40.052);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.633 0.075 329.832);
  --chart-1: oklch(0.633 0.075 329.832);
  --chart-2: oklch(0.617 0.069 311.519);
  --chart-3: oklch(0.625 0.058 353.104);
  --chart-4: oklch(0.644 0.064 311.618);
  --chart-5: oklch(0.631 0.087 330.016);
}