Boysenberry is a shadcn/ui theme built around a neutral gray primary color (#c0bdb9) with neutral gray accents (#bdb9c0). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#c0bdb9) on an orange-tinted background (#0d0a07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0d0a07black |
| Foreground | #0e0802black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #110d09black |
| Card foreground | #090501black | #ffffffwhite |
| Popover | #ffffffwhite | #0d0a07black |
| Popover foreground | #0e0802black | #fdfcfcsnow |
| Primary | #c0bdb9silver | #c0bdb9silver |
| Primary foreground | #252422black | #252422black |
| Secondary | #b9c0bdsilver | #b9c0bdsilver |
| Secondary foreground | #222524darkslategray | #222524darkslategray |
| Muted | #dbebe3gainsboro | #14241cblack |
| Muted foreground | #646866dimgray | #979b99darkgray |
| Accent | #bdb9c0silver | #bdb9c0silver |
| Accent foreground | #242225black | #242225black |
| Destructive | #c6400cfirebrick | #f15213orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c0bdb9silver | #c0bdb9silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.91:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 8.35:1 | AAA |
| Muted text | 4.58:1 | AA |
| Accent | 8.18:1 | AAA |
| Destructive | 5.07:1 | AA |
| Text on background | 19.25:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 8.27:1 | AAA |
| Secondary button | 8.35:1 | AAA |
| Muted text | 5.72:1 | AA |
| Accent | 8.18:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Boysenberry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.138 0.022 77.687);
--muted: oklch(0.926 0.021 164.533);
--muted-foreground: oklch(0.513 0.006 164.836);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.138 0.022 77.687);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.12 0.019 79.132);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.799 0.006 67.74);
--primary-foreground: oklch(0.26 0.004 67.64);
--secondary: oklch(0.802 0.009 164.858);
--secondary-foreground: oklch(0.262 0.006 164.516);
--accent: oklch(0.792 0.01 308.321);
--accent-foreground: oklch(0.255 0.007 308.152);
--destructive: oklch(0.559 0.178 37.82);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.799 0.006 67.74);
--chart-1: oklch(0.799 0.006 67.74);
--chart-2: oklch(0.802 0.009 164.858);
--chart-3: oklch(0.792 0.01 308.321);
--chart-4: oklch(0.825 0.008 164.9);
--chart-5: oklch(0.8 0.01 67.69);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.149 0.009 69.66);
--foreground: oklch(0.993 0.001 67.806);
--muted: oklch(0.244 0.028 161.64);
--muted-foreground: oklch(0.686 0.006 164.93);
--popover: oklch(0.149 0.009 69.66);
--popover-foreground: oklch(0.993 0.001 67.806);
--card: oklch(0.161 0.011 67.273);
--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.799 0.006 67.74);
--primary-foreground: oklch(0.26 0.004 67.64);
--secondary: oklch(0.802 0.009 164.858);
--secondary-foreground: oklch(0.262 0.006 164.516);
--accent: oklch(0.792 0.01 308.321);
--accent-foreground: oklch(0.255 0.007 308.152);
--destructive: oklch(0.651 0.206 38.026);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.799 0.006 67.74);
--chart-1: oklch(0.799 0.006 67.74);
--chart-2: oklch(0.802 0.009 164.858);
--chart-3: oklch(0.792 0.01 308.321);
--chart-4: oklch(0.825 0.008 164.9);
--chart-5: oklch(0.8 0.01 67.69);
}