Bearded Theme Black & Diamond for shadcn/ui

Bearded Theme Black & Diamond is a shadcn/ui theme built around a vivid cyan primary color (#11b7d4) with muted deep blue accents (#313945). The light mode uses a blue-tinted background (#111418). Dark mode keeps the vivid cyan primary (#11b7d4) on a blue-tinted background (#111418).

Color palette

TokenLightDark
Background
#111418black
#111418black
Foreground
#c3c6cbsilver
#c3c6cbsilver
Card
#0d0f12black
#0d0f12black
Card foreground
#d1d3d7lightgrey
#d1d3d7lightgrey
Popover
#0b0c0fblack
#0b0c0fblack
Popover foreground
#dee0e3gainsboro
#dee0e3gainsboro
Primary
#11b7d4darkturquoise
#11b7d4darkturquoise
Primary foreground
#021418black
#021418black
Secondary
#2d4d53darkslategray
#2d4d53darkslategray
Secondary foreground
#cde1e4gainsboro
#cde1e4gainsboro
Muted
#22262bdarkslategray
#22262bdarkslategray
Muted foreground
#9ba4b0darkgray
#9ba4b0darkgray
Accent
#313945darkslategray
#313945darkslategray
Accent foreground
#ccd3dblightgrey
#ccd3dblightgrey
Destructive
#eb3d3dcrimson
#eb3d3dcrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#1f2123black
#1f2123black
Input
#26282cdarkslategray
#26282cdarkslategray
Ring
#11b7d4darkturquoise
#11b7d4darkturquoise

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background10.78:1AAA
Text on card12.81:1AAA
Primary button7.84:1AAA
Secondary button6.73:1AA
Muted text6.06:1AA
Accent7.70:1AAA
Destructive3.99:1AA Large
Dark mode
Text on background10.78:1AAA
Text on card12.81:1AAA
Primary button7.84:1AAA
Secondary button6.73:1AA
Muted text6.06:1AA
Accent7.70:1AAA
Destructive3.99:1AA Large

CSS variables

Paste this into your globals.css to use Bearded Theme Black & Diamond in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.19 0.009 255.164);
  --foreground: oklch(0.825 0.008 261.51);
  --muted: oklch(0.265 0.011 255.143);
  --muted-foreground: oklch(0.716 0.021 255.091);
  --popover: oklch(0.156 0.006 255.131);
  --popover-foreground: oklch(0.906 0.004 261.513);
  --card: oklch(0.167 0.007 255.144);
  --card-foreground: oklch(0.866 0.006 261.512);
  --border: oklch(0.246 0.006 255.07);
  --input: oklch(0.277 0.007 255.076);
  --primary: oklch(0.718 0.125 214.875);
  --primary-foreground: oklch(0.178 0.027 209.278);
  --secondary: oklch(0.398 0.039 209.934);
  --secondary-foreground: oklch(0.896 0.021 209.43);
  --accent: oklch(0.343 0.023 255.221);
  --accent-foreground: oklch(0.863 0.013 255.034);
  --destructive: oklch(0.622 0.21 25.78);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.718 0.125 214.875);
  --chart-1: oklch(0.718 0.125 214.875);
  --chart-2: oklch(0.398 0.039 209.934);
  --chart-3: oklch(0.343 0.023 255.221);
  --chart-4: oklch(0.43 0.043 209.959);
  --chart-5: oklch(0.725 0.127 215.21);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.19 0.009 255.164);
  --foreground: oklch(0.825 0.008 261.51);
  --muted: oklch(0.265 0.011 255.143);
  --muted-foreground: oklch(0.716 0.021 255.091);
  --popover: oklch(0.156 0.006 255.131);
  --popover-foreground: oklch(0.906 0.004 261.513);
  --card: oklch(0.167 0.007 255.144);
  --card-foreground: oklch(0.866 0.006 261.512);
  --border: oklch(0.246 0.006 255.07);
  --input: oklch(0.277 0.007 255.076);
  --primary: oklch(0.718 0.125 214.875);
  --primary-foreground: oklch(0.178 0.027 209.278);
  --secondary: oklch(0.398 0.039 209.934);
  --secondary-foreground: oklch(0.896 0.021 209.43);
  --accent: oklch(0.343 0.023 255.221);
  --accent-foreground: oklch(0.863 0.013 255.034);
  --destructive: oklch(0.622 0.21 25.78);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.718 0.125 214.875);
  --chart-1: oklch(0.718 0.125 214.875);
  --chart-2: oklch(0.398 0.039 209.934);
  --chart-3: oklch(0.343 0.023 255.221);
  --chart-4: oklch(0.43 0.043 209.959);
  --chart-5: oklch(0.725 0.127 215.21);
}