Black Russian Bonobo is a shadcn/ui theme built around a muted deep blue primary color (#22242b) with muted light blue accents (#d0d3dc). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the muted deep blue primary (#22242b) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #010204black |
| Foreground | #030611black | #fcfcfdwhite |
| Card | #f8f9fcghostwhite | #010204black |
| Card foreground | #030611black | #fcfcfdwhite |
| Popover | #f8f9fcghostwhite | #010204black |
| Popover foreground | #030611black | #fcfcfdwhite |
| Primary | #22242bdarkslategray | #22242bdarkslategray |
| Primary foreground | #b8bbc7silver | #b8bbc7silver |
| Secondary | #d0d3dclightgrey | #292d38darkslategray |
| Secondary foreground | #343846darkslategray | #c1c5d1silver |
| Muted | #ebecf0lavender | #0f1114black |
| Muted foreground | #3e414cdarkslategray | #b3b6c1silver |
| Accent | #d0d3dclightgrey | #292d38darkslategray |
| Accent foreground | #343846darkslategray | #c1c5d1silver |
| Destructive | #c6430cchocolate | #de4c0dchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ededeewhitesmoke | #19191ablack |
| Input | #ededeewhitesmoke | #19191ablack |
| Ring | #22242bdarkslategray | #22242bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 8.59:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 4.99:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 9.36:1 | AAA |
| Accent | 8.00:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Black Russian Bonobo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 272.611);
--foreground: oklch(0.127 0.027 264.179);
--muted: oklch(0.943 0.005 272.599);
--muted-foreground: oklch(0.377 0.019 272.086);
--popover: oklch(0.982 0.004 272.611);
--popover-foreground: oklch(0.127 0.027 264.179);
--card: oklch(0.982 0.004 272.611);
--card-foreground: oklch(0.127 0.027 264.179);
--border: oklch(0.946 0.001 272.648);
--input: oklch(0.946 0.001 272.648);
--primary: oklch(0.26 0.014 272.048);
--primary-foreground: oklch(0.793 0.017 272.426);
--secondary: oklch(0.867 0.013 272.494);
--secondary-foreground: oklch(0.344 0.025 271.753);
--accent: oklch(0.867 0.013 272.494);
--accent-foreground: oklch(0.344 0.025 271.753);
--destructive: oklch(0.562 0.176 38.817);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.26 0.014 272.048);
--chart-1: oklch(0.26 0.014 272.048);
--chart-2: oklch(0.867 0.013 272.494);
--chart-3: oklch(0.867 0.013 272.494);
--chart-4: oklch(0.892 0.011 272.531);
--chart-5: oklch(0.258 0.017 271.862);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.01 267.287);
--foreground: oklch(0.991 0.002 272.64);
--muted: oklch(0.176 0.008 272.124);
--muted-foreground: oklch(0.778 0.015 272.445);
--popover: oklch(0.084 0.01 267.287);
--popover-foreground: oklch(0.991 0.002 272.64);
--card: oklch(0.084 0.01 267.287);
--card-foreground: oklch(0.991 0.002 272.64);
--border: oklch(0.214 0.002 272.581);
--input: oklch(0.214 0.002 272.581);
--primary: oklch(0.26 0.014 272.048);
--primary-foreground: oklch(0.793 0.017 272.426);
--secondary: oklch(0.297 0.021 271.804);
--secondary-foreground: oklch(0.825 0.018 272.425);
--accent: oklch(0.297 0.021 271.804);
--accent-foreground: oklch(0.825 0.018 272.425);
--destructive: oklch(0.612 0.192 38.639);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.26 0.014 272.048);
--chart-1: oklch(0.26 0.014 272.048);
--chart-2: oklch(0.297 0.021 271.804);
--chart-3: oklch(0.297 0.021 271.804);
--chart-4: oklch(0.325 0.024 271.771);
--chart-5: oklch(0.258 0.017 271.862);
}