Black Market Boar is a shadcn/ui theme built around a deep indigo primary color (#201f3d) with deep green accents (#1f3d20). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the deep indigo primary (#201f3d) on an indigo-tinted background (#050510).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f7fdghostwhite | #050510black |
| Foreground | #03020dblack | #f9f8fbghostwhite |
| Card | #f4f3fbwhitesmoke | #070614black |
| Card foreground | #020109black | #fcfcfdwhite |
| Popover | #f8f7fdghostwhite | #050510black |
| Popover foreground | #03020dblack | #f9f8fbghostwhite |
| Primary | #201f3dmidnightblue | #201f3dmidnightblue |
| Primary foreground | #b6b4d9lightsteelblue | #b6b4d9lightsteelblue |
| Secondary | #3d201fdarkslategray | #3d201fdarkslategray |
| Secondary foreground | #d9b6b4silver | #d9b6b4silver |
| Muted | #f3e8e8linen | #170d0cblack |
| Muted foreground | #6a5958dimgray | #a79695rosybrown |
| Accent | #1f3d20darkslategray | #1f3d20darkslategray |
| Accent foreground | #b4d9b6silver | #b4d9b6silver |
| Destructive | #720b04maroon | #df1507red |
| Destructive foreground | #fcb0ablightpink | #ffffffwhite |
| Border | #ececeewhitesmoke | #18181bblack |
| Input | #ececeewhitesmoke | #18181bblack |
| Ring | #201f3dmidnightblue | #201f3dmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.37:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 5.50:1 | AA |
| Accent | 7.75:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.17:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 6.76:1 | AA |
| Accent | 7.75:1 | AAA |
| Destructive | 4.95:1 | AA |
Paste this into your globals.css to use Black Market Boar in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 288.578);
--foreground: oklch(0.1 0.034 282.447);
--muted: oklch(0.94 0.011 21.04);
--muted-foreground: oklch(0.48 0.022 21.51);
--popover: oklch(0.979 0.007 288.578);
--popover-foreground: oklch(0.1 0.034 282.447);
--card: oklch(0.968 0.01 288.509);
--card-foreground: oklch(0.087 0.029 282.652);
--border: oklch(0.944 0.002 288.662);
--input: oklch(0.944 0.002 288.662);
--primary: oklch(0.257 0.056 283.991);
--primary-foreground: oklch(0.785 0.052 287.421);
--secondary: oklch(0.283 0.045 23.514);
--secondary-foreground: oklch(0.807 0.041 21.587);
--accent: oklch(0.328 0.062 145.062);
--accent-foreground: oklch(0.85 0.062 146.331);
--destructive: oklch(0.353 0.136 30.089);
--destructive-foreground: oklch(0.829 0.09 23.742);
--ring: oklch(0.257 0.056 283.991);
--chart-1: oklch(0.257 0.056 283.991);
--chart-2: oklch(0.283 0.045 23.514);
--chart-3: oklch(0.328 0.062 145.062);
--chart-4: oklch(0.311 0.051 23.635);
--chart-5: oklch(0.253 0.061 283.398);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.027 284.824);
--foreground: oklch(0.981 0.004 288.635);
--muted: oklch(0.173 0.018 22.436);
--muted-foreground: oklch(0.688 0.02 21.269);
--popover: oklch(0.122 0.027 284.824);
--popover-foreground: oklch(0.981 0.004 288.635);
--card: oklch(0.133 0.031 284.231);
--card-foreground: oklch(0.991 0.002 288.673);
--border: oklch(0.211 0.005 288.266);
--input: oklch(0.211 0.005 288.266);
--primary: oklch(0.257 0.056 283.991);
--primary-foreground: oklch(0.785 0.052 287.421);
--secondary: oklch(0.283 0.045 23.514);
--secondary-foreground: oklch(0.807 0.041 21.587);
--accent: oklch(0.328 0.062 145.062);
--accent-foreground: oklch(0.85 0.062 146.331);
--destructive: oklch(0.572 0.227 29.766);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.257 0.056 283.991);
--chart-1: oklch(0.257 0.056 283.991);
--chart-2: oklch(0.283 0.045 23.514);
--chart-3: oklch(0.328 0.062 145.062);
--chart-4: oklch(0.311 0.051 23.635);
--chart-5: oklch(0.253 0.061 283.398);
}