Base16 Dark Bespin is a shadcn/ui theme built around a neutral gray primary color (#8a8885) with muted deep orange accents (#54453b). The light mode uses an orange-tinted background (#27201b). Dark mode keeps the neutral gray primary (#8a8885) on an orange-tinted background (#27201b).
| Token | Light | Dark |
|---|---|---|
| Background | #27201bblack | #27201bblack |
| Foreground | #c7b8aesilver | #c7b8aesilver |
| Card | #211b17black | #211b17black |
| Card foreground | #d1c5bdsilver | #d1c5bdsilver |
| Popover | #1e1915black | #1e1915black |
| Popover foreground | #dbd2cclightgrey | #dbd2cclightgrey |
| Primary | #8a8885gray | #8a8885gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #312a26darkslategray | #312a26darkslategray |
| Muted foreground | #b5a9a1darkgray | #b5a9a1darkgray |
| Accent | #54453bdarkolivegreen | #54453bdarkolivegreen |
| Accent foreground | #e6dfdbgainsboro | #e6dfdbgainsboro |
| Destructive | #fd0808red | #fd0808red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #322d2adarkslategray | #322d2adarkslategray |
| Input | #3a3531darkslategray | #3a3531darkslategray |
| Ring | #8a8885gray | #8a8885gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.31:1 | AAA |
| Text on card | 10.05:1 | AAA |
| Primary button | 5.95:1 | AA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.12:1 | AA |
| Accent | 6.93:1 | AA |
| Destructive | 4.04:1 | AA Large |
| Text on background | 8.31:1 | AAA |
| Text on card | 10.05:1 | AAA |
| Primary button | 5.95:1 | AA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.12:1 | AA |
| Accent | 6.93:1 | AA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Base16 Dark Bespin in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.25 0.014 57.565);
--foreground: oklch(0.792 0.022 57.977);
--muted: oklch(0.292 0.012 57.797);
--muted-foreground: oklch(0.743 0.018 58.023);
--popover: oklch(0.217 0.011 57.633);
--popover-foreground: oklch(0.87 0.013 58.147);
--card: oklch(0.228 0.012 57.608);
--card-foreground: oklch(0.831 0.018 58.067);
--border: oklch(0.302 0.008 57.981);
--input: oklch(0.332 0.009 57.968);
--primary: oklch(0.628 0.005 91.485);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.404 0.027 57.404);
--accent-foreground: oklch(0.909 0.009 58.218);
--destructive: oklch(0.625 0.254 29.042);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.628 0.005 91.485);
--chart-1: oklch(0.628 0.005 91.485);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.404 0.027 57.404);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.634 0.014 91.585);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.25 0.014 57.565);
--foreground: oklch(0.792 0.022 57.977);
--muted: oklch(0.292 0.012 57.797);
--muted-foreground: oklch(0.743 0.018 58.023);
--popover: oklch(0.217 0.011 57.633);
--popover-foreground: oklch(0.87 0.013 58.147);
--card: oklch(0.228 0.012 57.608);
--card-foreground: oklch(0.831 0.018 58.067);
--border: oklch(0.302 0.008 57.981);
--input: oklch(0.332 0.009 57.968);
--primary: oklch(0.628 0.005 91.485);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.404 0.027 57.404);
--accent-foreground: oklch(0.909 0.009 58.218);
--destructive: oklch(0.625 0.254 29.042);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.628 0.005 91.485);
--chart-1: oklch(0.628 0.005 91.485);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.404 0.027 57.404);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.634 0.014 91.585);
}