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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 7.26:1 | AAA |
| Accent | 7.76:1 | AAA |
| Destructive | 5.37:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 8.03:1 | AAA |
| Accent | 7.76:1 | AAA |
| Destructive | 6.27:1 | AA |
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);
}