Blueberry Banana is a shadcn/ui theme built around a purple primary color (#ae68b6) with muted deep violet accents (#39324e). The light mode uses a violet-tinted background (#17141f). Dark mode keeps the purple primary (#ae68b6) on a violet-tinted background (#17141f).
| Token | Light | Dark |
|---|---|---|
| Background | #17141fblack | #17141fblack |
| Foreground | #cccccclightgrey | #cccccclightgrey |
| Card | #121019black | #121019black |
| Card foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Popover | #100e16black | #100e16black |
| Popover foreground | #e6e6e6gainsboro | #e6e6e6gainsboro |
| Primary | #ae68b6mediumorchid | #ae68b6mediumorchid |
| Primary foreground | #000000black | #000000black |
| Secondary | #4d3050darkslategray | #4d3050darkslategray |
| Secondary foreground | #e0cfe2gainsboro | #e0cfe2gainsboro |
| Muted | #24222bdarkslategray | #24222bdarkslategray |
| Muted foreground | #a19bb0darkgray | #a19bb0darkgray |
| Accent | #39324edarkslategray | #39324edarkslategray |
| Accent foreground | #d5d0e1lightgrey | #d5d0e1lightgrey |
| Destructive | #fb3c32tomato | #fb3c32tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #24222bdarkslategray | #24222bdarkslategray |
| Input | #2b2833darkslategray | #2b2833darkslategray |
| Ring | #ae68b6mediumorchid | #ae68b6mediumorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.31:1 | AAA |
| Text on card | 13.35:1 | AAA |
| Primary button | 5.44:1 | AA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 3.62:1 | AA Large |
| Text on background | 11.31:1 | AAA |
| Text on card | 13.35:1 | AAA |
| Primary button | 5.44:1 | AA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Blueberry Banana in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.2 0.023 296.541);
--foreground: oklch(0.845 0 164.055);
--muted: oklch(0.257 0.017 297.375);
--muted-foreground: oklch(0.701 0.032 297.778);
--popover: oklch(0.17 0.016 296.839);
--popover-foreground: oklch(0.923 0 153.435);
--card: oklch(0.18 0.019 296.726);
--card-foreground: oklch(0.885 0 180);
--border: oklch(0.257 0.017 297.375);
--input: oklch(0.286 0.02 297.314);
--primary: oklch(0.622 0.138 323.386);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.356 0.065 323.28);
--secondary-foreground: oklch(0.875 0.032 322.772);
--accent: oklch(0.337 0.049 295.895);
--accent-foreground: oklch(0.867 0.023 298.093);
--destructive: oklch(0.648 0.227 28.42);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.622 0.138 323.386);
--chart-1: oklch(0.622 0.138 323.386);
--chart-2: oklch(0.356 0.065 323.28);
--chart-3: oklch(0.337 0.049 295.895);
--chart-4: oklch(0.384 0.072 323.29);
--chart-5: oklch(0.622 0.149 323.429);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.2 0.023 296.541);
--foreground: oklch(0.845 0 164.055);
--muted: oklch(0.257 0.017 297.375);
--muted-foreground: oklch(0.701 0.032 297.778);
--popover: oklch(0.17 0.016 296.839);
--popover-foreground: oklch(0.923 0 153.435);
--card: oklch(0.18 0.019 296.726);
--card-foreground: oklch(0.885 0 180);
--border: oklch(0.257 0.017 297.375);
--input: oklch(0.286 0.02 297.314);
--primary: oklch(0.622 0.138 323.386);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.356 0.065 323.28);
--secondary-foreground: oklch(0.875 0.032 322.772);
--accent: oklch(0.337 0.049 295.895);
--accent-foreground: oklch(0.867 0.023 298.093);
--destructive: oklch(0.648 0.227 28.42);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.622 0.138 323.386);
--chart-1: oklch(0.622 0.138 323.386);
--chart-2: oklch(0.356 0.065 323.28);
--chart-3: oklch(0.337 0.049 295.895);
--chart-4: oklch(0.384 0.072 323.29);
--chart-5: oklch(0.622 0.149 323.429);
}