Bossy for shadcn/ui

Bossy is a shadcn/ui theme built around a near-black primary color (#050505) with near-black accents (#050505). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the near-black primary (#050505) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#f7fdfamintcream
#010403black
Foreground
#010906black
#fcfdfdwhite
Card
#f3fbf8mintcream
#020806black
Card foreground
#010503black
#ffffffwhite
Popover
#f3fbf8mintcream
#020806black
Popover foreground
#010503black
#ffffffwhite
Primary
#050505black
#050505black
Primary foreground
#9ba19edarkgray
#9ba19edarkgray
Secondary
#050505black
#050505black
Secondary foreground
#9ba19cdarkgray
#9ba19cdarkgray
Muted
#dae7dbgainsboro
#182519black
Muted foreground
#474747darkslategray
#b8b8b8silver
Accent
#050505black
#050505black
Accent foreground
#9ba1a1darkgray
#9ba1a1darkgray
Destructive
#b54812sienna
#e96320chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#050505black
#050505black

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.54:1AAA
Primary button7.74:1AAA
Secondary button7.72:1AAA
Muted text7.26:1AAA
Accent7.76:1AAA
Destructive5.37:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.18:1AAA
Primary button7.74:1AAA
Secondary button7.72:1AAA
Muted text8.03:1AAA
Accent7.76:1AAA
Destructive6.27:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.006 168.55);
  --foreground: oklch(0.127 0.021 169.06);
  --muted: oklch(0.914 0.021 147.315);
  --muted-foreground: oklch(0.399 0 180);
  --popover: oklch(0.982 0.01 168.455);
  --popover-foreground: oklch(0.101 0.017 169.06);
  --card: oklch(0.982 0.01 168.455);
  --card-foreground: oklch(0.101 0.017 169.06);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.116 0.001 168.748);
  --primary-foreground: oklch(0.704 0.008 168.43);
  --secondary: oklch(0.116 0.001 147.473);
  --secondary-foreground: oklch(0.703 0.01 147.401);
  --accent: oklch(0.116 0.001 202.056);
  --accent-foreground: oklch(0.703 0.006 202.12);
  --destructive: oklch(0.542 0.154 42.26);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.116 0.001 168.748);
  --chart-1: oklch(0.116 0.001 168.748);
  --chart-2: oklch(0.116 0.001 147.473);
  --chart-3: oklch(0.116 0.001 202.056);
  --chart-4: oklch(0.158 0.002 147.424);
  --chart-5: oklch(0.117 0.002 168.763);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.013 168.992);
  --foreground: oklch(0.993 0.001 168.694);
  --muted: oklch(0.248 0.029 146.319);
  --muted-foreground: oklch(0.781 0 180);
  --popover: oklch(0.124 0.017 168.992);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.017 168.992);
  --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.116 0.001 168.748);
  --primary-foreground: oklch(0.704 0.008 168.43);
  --secondary: oklch(0.116 0.001 147.473);
  --secondary-foreground: oklch(0.703 0.01 147.401);
  --accent: oklch(0.116 0.001 202.056);
  --accent-foreground: oklch(0.703 0.006 202.12);
  --destructive: oklch(0.66 0.182 42.872);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.116 0.001 168.748);
  --chart-1: oklch(0.116 0.001 168.748);
  --chart-2: oklch(0.116 0.001 147.473);
  --chart-3: oklch(0.116 0.001 202.056);
  --chart-4: oklch(0.158 0.002 147.424);
  --chart-5: oklch(0.117 0.002 168.763);
}