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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 5.84:1 | AA |
| Secondary button | 5.53:1 | AA |
| Muted text | 7.87:1 | AAA |
| Accent | 5.70:1 | AA |
| Destructive | 7.21:1 | AAA |
| Text on background | 18.81:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 5.84:1 | AA |
| Secondary button | 5.53:1 | AA |
| Muted text | 9.61:1 | AAA |
| Accent | 5.70:1 | AA |
| Destructive | 4.21:1 | AA Large |
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);
}