Bearded Theme Black & Emerald Soft for shadcn/ui

Bearded Theme Black & Emerald Soft is a shadcn/ui theme built around a teal primary color (#38c7bd) with muted deep cyan accents (#324e57). The light mode uses a cyan-tinted background (#162327). Dark mode keeps the teal primary (#38c7bd) on a cyan-tinted background (#162327).

Color palette

TokenLightDark
Background
#162327black
#162327black
Foreground
#cad5d8lightgrey
#cad5d8lightgrey
Card
#131d20black
#131d20black
Card foreground
#d9e0e3gainsboro
#d9e0e3gainsboro
Popover
#111a1dblack
#111a1dblack
Popover foreground
#e7eceelavender
#e7eceelavender
Primary
#38c7bdmediumturquoise
#38c7bdmediumturquoise
Primary foreground
#0b2826black
#0b2826black
Secondary
#2d5350darkslategray
#2d5350darkslategray
Secondary foreground
#cde4e3gainsboro
#cde4e3gainsboro
Muted
#242b2edarkslategray
#242b2edarkslategray
Muted foreground
#9eaeb3darkgray
#9eaeb3darkgray
Accent
#324e57darkslategray
#324e57darkslategray
Accent foreground
#d5e2e7gainsboro
#d5e2e7gainsboro
Destructive
#df1916crimson
#df1916crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#242f33darkslategray
#242f33darkslategray
Input
#2a373cdarkslategray
#2a373cdarkslategray
Ring
#38c7bdmediumturquoise
#38c7bdmediumturquoise

Contrast

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

Light mode
Text on background10.77:1AAA
Text on card12.85:1AAA
Primary button7.48:1AAA
Secondary button6.42:1AA
Muted text6.26:1AA
Accent6.69:1AA
Destructive4.90:1AA
Dark mode
Text on background10.77:1AAA
Text on card12.85:1AAA
Primary button7.48:1AAA
Secondary button6.42:1AA
Muted text6.26:1AA
Accent6.69:1AA
Destructive4.90:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.245 0.019 220.526);
  --foreground: oklch(0.864 0.013 221.442);
  --muted: oklch(0.284 0.011 219.888);
  --muted-foreground: oklch(0.739 0.019 219.728);
  --popover: oklch(0.21 0.015 220.39);
  --popover-foreground: oklch(0.94 0.006 221.357);
  --card: oklch(0.222 0.016 220.44);
  --card-foreground: oklch(0.903 0.009 221.396);
  --border: oklch(0.297 0.016 220.118);
  --input: oklch(0.328 0.019 220.15);
  --primary: oklch(0.754 0.118 188.328);
  --primary-foreground: oklch(0.254 0.034 189.231);
  --secondary: oklch(0.413 0.044 190.065);
  --secondary-foreground: oklch(0.902 0.024 191.862);
  --accent: oklch(0.406 0.037 220.859);
  --accent-foreground: oklch(0.905 0.016 219.646);
  --destructive: oklch(0.575 0.225 28.655);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.754 0.118 188.328);
  --chart-1: oklch(0.754 0.118 188.328);
  --chart-2: oklch(0.413 0.044 190.065);
  --chart-3: oklch(0.406 0.037 220.859);
  --chart-4: oklch(0.446 0.048 190.028);
  --chart-5: oklch(0.764 0.122 188.169);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.245 0.019 220.526);
  --foreground: oklch(0.864 0.013 221.442);
  --muted: oklch(0.284 0.011 219.888);
  --muted-foreground: oklch(0.739 0.019 219.728);
  --popover: oklch(0.21 0.015 220.39);
  --popover-foreground: oklch(0.94 0.006 221.357);
  --card: oklch(0.222 0.016 220.44);
  --card-foreground: oklch(0.903 0.009 221.396);
  --border: oklch(0.297 0.016 220.118);
  --input: oklch(0.328 0.019 220.15);
  --primary: oklch(0.754 0.118 188.328);
  --primary-foreground: oklch(0.254 0.034 189.231);
  --secondary: oklch(0.413 0.044 190.065);
  --secondary-foreground: oklch(0.902 0.024 191.862);
  --accent: oklch(0.406 0.037 220.859);
  --accent-foreground: oklch(0.905 0.016 219.646);
  --destructive: oklch(0.575 0.225 28.655);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.754 0.118 188.328);
  --chart-1: oklch(0.754 0.118 188.328);
  --chart-2: oklch(0.413 0.044 190.065);
  --chart-3: oklch(0.406 0.037 220.859);
  --chart-4: oklch(0.446 0.048 190.028);
  --chart-5: oklch(0.764 0.122 188.169);
}