Blueberry dark theme is a shadcn/ui theme built around a muted blue primary color (#a7adcd) with muted blue accents (#424b67). The light mode uses a blue-tinted background (#242938). Dark mode keeps the muted blue primary (#a7adcd) on a blue-tinted background (#242938).
| Token | Light | Dark |
|---|---|---|
| Background | #242938darkslategray | #242938darkslategray |
| Foreground | #a7adcdlightsteelblue | #a7adcdlightsteelblue |
| Card | #202432darkslategray | #202432darkslategray |
| Card foreground | #b7bcd7lightsteelblue | #b7bcd7lightsteelblue |
| Popover | #1e222fdarkslategray | #1e222fdarkslategray |
| Popover foreground | #c8cbe0lightgrey | #c8cbe0lightgrey |
| Primary | #a7adcdlightsteelblue | #a7adcdlightsteelblue |
| Primary foreground | #181b2ablack | #181b2ablack |
| Secondary | #34384bdarkslategray | #34384bdarkslategray |
| Secondary foreground | #d2d4e0lightgrey | #d2d4e0lightgrey |
| Muted | #31353fdarkslategray | #31353fdarkslategray |
| Muted foreground | #afb3c0silver | #afb3c0silver |
| Accent | #424b67darkslategray | #424b67darkslategray |
| Accent foreground | #e9ebf1lavender | #e9ebf1lavender |
| Destructive | #e53010orangered | #e53010orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #343742darkslategray | #343742darkslategray |
| Input | #3a3e4adarkslategray | #3a3e4adarkslategray |
| Ring | #a7adcdlightsteelblue | #a7adcdlightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.56:1 | AA |
| Text on card | 8.21:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 4.41:1 | AA Large |
| Text on background | 6.56:1 | AA |
| Text on card | 8.21:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Blueberry dark theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.282 0.029 270.186);
--foreground: oklch(0.753 0.047 277.322);
--muted: oklch(0.329 0.018 270.801);
--muted-foreground: oklch(0.768 0.019 271.166);
--popover: oklch(0.254 0.025 270.255);
--popover-foreground: oklch(0.846 0.029 277.801);
--card: oklch(0.263 0.026 270.23);
--card-foreground: oklch(0.8 0.038 277.584);
--border: oklch(0.338 0.019 270.795);
--input: oklch(0.366 0.021 270.778);
--primary: oklch(0.753 0.047 277.322);
--primary-foreground: oklch(0.226 0.031 275.943);
--secondary: oklch(0.345 0.034 276.662);
--secondary-foreground: oklch(0.872 0.016 278.043);
--accent: oklch(0.416 0.048 269.994);
--accent-foreground: oklch(0.941 0.008 271.327);
--destructive: oklch(0.598 0.219 31.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.047 277.322);
--chart-1: oklch(0.753 0.047 277.322);
--chart-2: oklch(0.345 0.034 276.662);
--chart-3: oklch(0.416 0.048 269.994);
--chart-4: oklch(0.371 0.038 276.622);
--chart-5: oklch(0.749 0.053 277.197);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.282 0.029 270.186);
--foreground: oklch(0.753 0.047 277.322);
--muted: oklch(0.329 0.018 270.801);
--muted-foreground: oklch(0.768 0.019 271.166);
--popover: oklch(0.254 0.025 270.255);
--popover-foreground: oklch(0.846 0.029 277.801);
--card: oklch(0.263 0.026 270.23);
--card-foreground: oklch(0.8 0.038 277.584);
--border: oklch(0.338 0.019 270.795);
--input: oklch(0.366 0.021 270.778);
--primary: oklch(0.753 0.047 277.322);
--primary-foreground: oklch(0.226 0.031 275.943);
--secondary: oklch(0.345 0.034 276.662);
--secondary-foreground: oklch(0.872 0.016 278.043);
--accent: oklch(0.416 0.048 269.994);
--accent-foreground: oklch(0.941 0.008 271.327);
--destructive: oklch(0.598 0.219 31.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.047 277.322);
--chart-1: oklch(0.753 0.047 277.322);
--chart-2: oklch(0.345 0.034 276.662);
--chart-3: oklch(0.416 0.048 269.994);
--chart-4: oklch(0.371 0.038 276.622);
--chart-5: oklch(0.749 0.053 277.197);
}