Bearded Theme Arc for shadcn/ui

Bearded Theme Arc is a shadcn/ui theme built around a muted blue primary color (#8296b5) with muted blue accents (#364663). The light mode uses a blue-tinted background (#1b2331). Dark mode keeps the muted blue primary (#8296b5) on a blue-tinted background (#1b2331).

Color palette

TokenLightDark
Background
#1b2331darkslategray
#1b2331darkslategray
Foreground
#d1d7e0gainsboro
#d1d7e0gainsboro
Card
#181e2bblack
#181e2bblack
Card foreground
#e1e4eagainsboro
#e1e4eagainsboro
Popover
#161c27black
#161c27black
Popover foreground
#f0f2f5whitesmoke
#f0f2f5whitesmoke
Primary
#8296b5lightslategray
#8296b5lightslategray
Primary foreground
#020203black
#020203black
Secondary
#363e4adarkslategray
#363e4adarkslategray
Secondary foreground
#d3d8dfgainsboro
#d3d8dfgainsboro
Muted
#2b2f36darkslategray
#2b2f36darkslategray
Muted foreground
#a6adb9darkgray
#a6adb9darkgray
Accent
#364663darkslategray
#364663darkslategray
Accent foreground
#dee3edlavender
#dee3edlavender
Destructive
#ef5739tomato
#ef5739tomato
Destructive foreground
#000000black
#000000black
Border
#29303ddarkslategray
#29303ddarkslategray
Input
#303746darkslategray
#303746darkslategray
Ring
#8296b5lightslategray
#8296b5lightslategray

Contrast

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

Light mode
Text on background10.89:1AAA
Text on card13.07:1AAA
Primary button6.91:1AA
Secondary button7.57:1AAA
Muted text5.97:1AA
Accent7.38:1AAA
Destructive6.09:1AA
Dark mode
Text on background10.89:1AAA
Text on card13.07:1AAA
Primary button6.91:1AA
Secondary button7.57:1AAA
Muted text5.97:1AA
Accent7.38:1AAA
Destructive6.09:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.255 0.03 262.504);
  --foreground: oklch(0.877 0.014 263.019);
  --muted: oklch(0.303 0.015 262.896);
  --muted-foreground: oklch(0.747 0.019 262.99);
  --popover: oklch(0.226 0.024 262.555);
  --popover-foreground: oklch(0.959 0.005 263.045);
  --card: oklch(0.236 0.026 262.536);
  --card-foreground: oklch(0.918 0.009 263.034);
  --border: oklch(0.309 0.025 262.732);
  --input: oklch(0.337 0.028 262.717);
  --primary: oklch(0.669 0.052 258.359);
  --primary-foreground: oklch(0.089 0.005 254.727);
  --secondary: oklch(0.36 0.024 258.367);
  --secondary-foreground: oklch(0.879 0.011 258.343);
  --accent: oklch(0.393 0.053 262.375);
  --accent-foreground: oklch(0.916 0.014 263.021);
  --destructive: oklch(0.656 0.193 33.207);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.669 0.052 258.359);
  --chart-1: oklch(0.669 0.052 258.359);
  --chart-2: oklch(0.36 0.024 258.367);
  --chart-3: oklch(0.393 0.053 262.375);
  --chart-4: oklch(0.388 0.026 258.366);
  --chart-5: oklch(0.667 0.058 258.35);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.255 0.03 262.504);
  --foreground: oklch(0.877 0.014 263.019);
  --muted: oklch(0.303 0.015 262.896);
  --muted-foreground: oklch(0.747 0.019 262.99);
  --popover: oklch(0.226 0.024 262.555);
  --popover-foreground: oklch(0.959 0.005 263.045);
  --card: oklch(0.236 0.026 262.536);
  --card-foreground: oklch(0.918 0.009 263.034);
  --border: oklch(0.309 0.025 262.732);
  --input: oklch(0.337 0.028 262.717);
  --primary: oklch(0.669 0.052 258.359);
  --primary-foreground: oklch(0.089 0.005 254.727);
  --secondary: oklch(0.36 0.024 258.367);
  --secondary-foreground: oklch(0.879 0.011 258.343);
  --accent: oklch(0.393 0.053 262.375);
  --accent-foreground: oklch(0.916 0.014 263.021);
  --destructive: oklch(0.656 0.193 33.207);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.669 0.052 258.359);
  --chart-1: oklch(0.669 0.052 258.359);
  --chart-2: oklch(0.36 0.024 258.367);
  --chart-3: oklch(0.393 0.053 262.375);
  --chart-4: oklch(0.388 0.026 258.366);
  --chart-5: oklch(0.667 0.058 258.35);
}