Bossy for shadcn/ui

Bossy is a shadcn/ui theme built around a vivid light blue primary color (#b7cbf6) with vivid light green accents (#cbf6b7). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the vivid light blue primary (#b7cbf6) on a neutral background (#020408).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#020408black
Foreground
#040811black
#f5f6fawhitesmoke
Card
#f8f9fbghostwhite
#03060cblack
Card foreground
#03060dblack
#f8f9fcghostwhite
Popover
#fcfcfdwhite
#020408black
Popover foreground
#040811black
#f5f6fawhitesmoke
Primary
#b7cbf6lightblue
#b7cbf6lightblue
Primary foreground
#0e2c6cmidnightblue
#0e2c6cmidnightblue
Secondary
#f6b7cbpink
#f6b7cbpink
Secondary foreground
#6c0e2cmaroon
#6c0e2cmaroon
Muted
#ecdfe3gainsboro
#201317black
Muted foreground
#49363cdarkslategray
#c9b6bcsilver
Accent
#cbf6b7palegoldenrod
#cbf6b7palegoldenrod
Accent foreground
#071202black
#071202black
Destructive
#601506maroon
#f14522orangered
Destructive foreground
#f9ae9flightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b7cbf6lightblue
#b7cbf6lightblue

Contrast

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

Light mode
Text on background19.55:1AAA
Text on card19.30:1AAA
Primary button8.05:1AAA
Secondary button7.20:1AAA
Muted text8.63:1AAA
Accent15.82:1AAA
Destructive7.20:1AAA
Dark mode
Text on background18.98:1AAA
Text on card19.25:1AAA
Primary button8.05:1AAA
Secondary button7.20:1AAA
Muted text9.35:1AAA
Accent15.82:1AAA
Destructive3.74: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.991 0.002 266);
  --foreground: oklch(0.133 0.023 258.944);
  --muted: oklch(0.915 0.016 356.119);
  --muted-foreground: oklch(0.357 0.029 357.849);
  --popover: oklch(0.991 0.002 266);
  --popover-foreground: oklch(0.133 0.023 258.944);
  --card: oklch(0.983 0.003 265.993);
  --card-foreground: oklch(0.12 0.019 257.16);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.841 0.064 265.495);
  --primary-foreground: oklch(0.316 0.118 262.819);
  --secondary: oklch(0.842 0.077 358.126);
  --secondary-foreground: oklch(0.35 0.127 9.318);
  --accent: oklch(0.926 0.094 135.913);
  --accent-foreground: oklch(0.166 0.039 134.369);
  --destructive: oklch(0.324 0.11 33.171);
  --destructive-foreground: oklch(0.819 0.091 31.672);
  --ring: oklch(0.841 0.064 265.495);
  --chart-1: oklch(0.841 0.064 265.495);
  --chart-2: oklch(0.842 0.077 358.126);
  --chart-3: oklch(0.926 0.094 135.913);
  --chart-4: oklch(0.871 0.062 357.575);
  --chart-5: oklch(0.839 0.067 265.468);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.014 258.285);
  --foreground: oklch(0.974 0.005 265.983);
  --muted: oklch(0.205 0.024 358.823);
  --muted-foreground: oklch(0.793 0.023 356.448);
  --popover: oklch(0.106 0.014 258.285);
  --popover-foreground: oklch(0.974 0.005 265.983);
  --card: oklch(0.122 0.016 258.566);
  --card-foreground: oklch(0.983 0.003 265.991);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.841 0.064 265.495);
  --primary-foreground: oklch(0.316 0.118 262.819);
  --secondary: oklch(0.842 0.077 358.126);
  --secondary-foreground: oklch(0.35 0.127 9.318);
  --accent: oklch(0.926 0.094 135.913);
  --accent-foreground: oklch(0.166 0.039 134.369);
  --destructive: oklch(0.638 0.214 33.019);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.841 0.064 265.495);
  --chart-1: oklch(0.841 0.064 265.495);
  --chart-2: oklch(0.842 0.077 358.126);
  --chart-3: oklch(0.926 0.094 135.913);
  --chart-4: oklch(0.871 0.062 357.575);
  --chart-5: oklch(0.839 0.067 265.468);
}