Bossy is a shadcn/ui theme built around a yellow primary color (#d8db80) with neutral gray accents (#e2e3de). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#d8db80) on a neutral background (#070703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070703black |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #ffffffwhite | #070703black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #ffffffwhite | #070703black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #d8db80khaki | #d8db80khaki |
| Primary foreground | #1f2009black | #1f2009black |
| Secondary | #e2e3degainsboro | #333428darkslategray |
| Secondary foreground | #4c4c42darkslategray | #cecec0silver |
| Muted | #dcdcd6gainsboro | #292923darkslategray |
| Muted foreground | #5a5b49darkolivegreen | #b6b6a4darkgray |
| Accent | #e2e3degainsboro | #333428darkslategray |
| Accent foreground | #4c4c42darkslategray | #cecec0silver |
| Destructive | #7a0f01maroon | #fe2c10orangered |
| Destructive foreground | #ffb7aelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d8db80khaki | #d8db80khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 11.32:1 | AAA |
| Secondary button | 6.71:1 | AA |
| Muted text | 5.02:1 | AA |
| Accent | 6.71:1 | AA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 11.32:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 7.09:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Bossy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.892 0.008 108.109);
--muted-foreground: oklch(0.464 0.028 109.014);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.87 0.115 110.223);
--primary-foreground: oklch(0.236 0.038 110.722);
--secondary: oklch(0.913 0.006 108.055);
--secondary-foreground: oklch(0.414 0.016 108.643);
--accent: oklch(0.913 0.006 108.055);
--accent-foreground: oklch(0.414 0.016 108.643);
--destructive: oklch(0.371 0.142 31.512);
--destructive-foreground: oklch(0.844 0.085 27.428);
--ring: oklch(0.87 0.115 110.223);
--chart-1: oklch(0.87 0.115 110.223);
--chart-2: oklch(0.913 0.006 108.055);
--chart-3: oklch(0.913 0.006 108.055);
--chart-4: oklch(0.935 0.004 108.024);
--chart-5: oklch(0.876 0.12 110.305);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.013 109.416);
--foreground: oklch(0.993 0.001 107.957);
--muted: oklch(0.28 0.011 108.643);
--muted-foreground: oklch(0.772 0.025 108.524);
--popover: oklch(0.127 0.013 109.416);
--popover-foreground: oklch(0.993 0.001 107.957);
--card: oklch(0.127 0.013 109.416);
--card-foreground: oklch(0.993 0.001 107.957);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.87 0.115 110.223);
--primary-foreground: oklch(0.236 0.038 110.722);
--secondary: oklch(0.32 0.02 109.07);
--secondary-foreground: oklch(0.848 0.02 108.365);
--accent: oklch(0.32 0.02 109.07);
--accent-foreground: oklch(0.848 0.02 108.365);
--destructive: oklch(0.64 0.243 30.864);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.87 0.115 110.223);
--chart-1: oklch(0.87 0.115 110.223);
--chart-2: oklch(0.32 0.02 109.07);
--chart-3: oklch(0.32 0.02 109.07);
--chart-4: oklch(0.353 0.023 109.104);
--chart-5: oklch(0.876 0.12 110.305);
}