Bearded Theme Monokai Metallian is a shadcn/ui theme built around a muted blue primary color (#97a1b4) with muted deep blue accents (#3d4357). The light mode uses a blue-tinted background (#1d202a). Dark mode keeps the muted blue primary (#97a1b4) on a blue-tinted background (#1d202a).
| Token | Light | Dark |
|---|---|---|
| Background | #1d202ablack | #1d202ablack |
| Foreground | #d3d4d9lightgrey | #d3d4d9lightgrey |
| Card | #191c24black | #191c24black |
| Card foreground | #e1e2e5gainsboro | #e1e2e5gainsboro |
| Popover | #171921black | #171921black |
| Popover foreground | #efeff1whitesmoke | #efeff1whitesmoke |
| Primary | #97a1b4darkgray | #97a1b4darkgray |
| Primary foreground | #0b0c0fblack | #0b0c0fblack |
| Secondary | #3c3f44darkslategray | #3c3f44darkslategray |
| Secondary foreground | #d6d8dbgainsboro | #d6d8dbgainsboro |
| Muted | #282b33darkslategray | #282b33darkslategray |
| Muted foreground | #a4a8b7darkgray | #a4a8b7darkgray |
| Accent | #3d4357darkslategray | #3d4357darkslategray |
| Accent foreground | #dee0e8gainsboro | #dee0e8gainsboro |
| Destructive | #de2a12orangered | #de2a12orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2d2e34darkslategray | #2d2e34darkslategray |
| Input | #34363ddarkslategray | #34363ddarkslategray |
| Ring | #97a1b4darkgray | #97a1b4darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.94:1 | AAA |
| Text on card | 13.17:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 7.46:1 | AAA |
| Destructive | 4.73:1 | AA |
| Text on background | 10.94:1 | AAA |
| Text on card | 13.17:1 | AAA |
| Primary button | 7.55:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 7.46:1 | AAA |
| Destructive | 4.73:1 | AA |
Paste this into your globals.css to use Bearded Theme Monokai Metallian in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.246 0.019 271.686);
--foreground: oklch(0.871 0.008 277.14);
--muted: oklch(0.29 0.016 272.014);
--muted-foreground: oklch(0.733 0.022 272.321);
--popover: oklch(0.216 0.016 271.771);
--popover-foreground: oklch(0.952 0.002 277.225);
--card: oklch(0.226 0.017 271.74);
--card-foreground: oklch(0.912 0.004 277.192);
--border: oklch(0.303 0.011 272.25);
--input: oklch(0.332 0.012 272.235);
--primary: oklch(0.709 0.029 262.929);
--primary-foreground: oklch(0.155 0.006 262.937);
--secondary: oklch(0.365 0.009 262.991);
--secondary-foreground: oklch(0.882 0.004 263.045);
--accent: oklch(0.385 0.036 271.476);
--accent-foreground: oklch(0.908 0.011 272.532);
--destructive: oklch(0.581 0.216 30.964);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.709 0.029 262.929);
--chart-1: oklch(0.709 0.029 262.929);
--chart-2: oklch(0.365 0.009 262.991);
--chart-3: oklch(0.385 0.036 271.476);
--chart-4: oklch(0.394 0.01 262.989);
--chart-5: oklch(0.706 0.035 262.893);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.246 0.019 271.686);
--foreground: oklch(0.871 0.008 277.14);
--muted: oklch(0.29 0.016 272.014);
--muted-foreground: oklch(0.733 0.022 272.321);
--popover: oklch(0.216 0.016 271.771);
--popover-foreground: oklch(0.952 0.002 277.225);
--card: oklch(0.226 0.017 271.74);
--card-foreground: oklch(0.912 0.004 277.192);
--border: oklch(0.303 0.011 272.25);
--input: oklch(0.332 0.012 272.235);
--primary: oklch(0.709 0.029 262.929);
--primary-foreground: oklch(0.155 0.006 262.937);
--secondary: oklch(0.365 0.009 262.991);
--secondary-foreground: oklch(0.882 0.004 263.045);
--accent: oklch(0.385 0.036 271.476);
--accent-foreground: oklch(0.908 0.011 272.532);
--destructive: oklch(0.581 0.216 30.964);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.709 0.029 262.929);
--chart-1: oklch(0.709 0.029 262.929);
--chart-2: oklch(0.365 0.009 262.991);
--chart-3: oklch(0.385 0.036 271.476);
--chart-4: oklch(0.394 0.01 262.989);
--chart-5: oklch(0.706 0.035 262.893);
}