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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.55:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 8.63:1 | AAA |
| Accent | 15.82:1 | AAA |
| Destructive | 7.20:1 | AAA |
| Text on background | 18.98:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 9.35:1 | AAA |
| Accent | 15.82:1 | AAA |
| Destructive | 3.74:1 | AA Large |
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);
}