Bearded Theme Vivid Light for shadcn/ui

Bearded Theme Vivid Light is a shadcn/ui theme built around a neutral gray primary color (#7d7d7d) with neutral gray accents (#cfcfcf). The light mode uses a neutral background (#f5f5f5). Dark mode keeps the neutral gray primary (#7d7d7d) on a neutral background (#f5f5f5).

Color palette

TokenLightDark
Background
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Foreground
#171717black
#171717black
Card
#f0f0f0whitesmoke
#f0f0f0whitesmoke
Card foreground
#0a0a0ablack
#0a0a0ablack
Popover
#edededwhitesmoke
#edededwhitesmoke
Popover foreground
#000000black
#000000black
Primary
#7d7d7dgray
#7d7d7dgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#bfbfbfsilver
#bfbfbfsilver
Secondary foreground
#262626darkslategray
#262626darkslategray
Muted
#e9e2e2gainsboro
#e9e2e2gainsboro
Muted foreground
#564343darkslategray
#564343darkslategray
Accent
#cfcfcflightgrey
#cfcfcflightgrey
Accent foreground
#363636darkslategray
#363636darkslategray
Destructive
#d31d09firebrick
#d31d09firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8e8e8lavender
#e8e8e8lavender
Input
#e0e0e0gainsboro
#e0e0e0gainsboro
Ring
#7d7d7dgray
#7d7d7dgray

Contrast

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

Light mode
Text on background16.41:1AAA
Text on card17.32:1AAA
Primary button4.11:1AA Large
Secondary button8.25:1AAA
Muted text7.22:1AAA
Accent7.72:1AAA
Destructive5.33:1AA
Dark mode
Text on background16.41:1AAA
Text on card17.32:1AAA
Primary button4.11:1AA Large
Secondary button8.25:1AAA
Muted text7.22:1AAA
Accent7.72:1AAA
Destructive5.33:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.97 0 180);
  --foreground: oklch(0.204 0 180);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.947 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.954 0 180);
  --card-foreground: oklch(0.146 0 180);
  --border: oklch(0.931 0 180);
  --input: oklch(0.908 0 180);
  --primary: oklch(0.59 0 164.055);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.853 0 168.69);
  --accent-foreground: oklch(0.331 0 180);
  --destructive: oklch(0.553 0.214 30.408);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.59 0 164.055);
  --chart-1: oklch(0.59 0 164.055);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.853 0 168.69);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.583 0.009 17.421);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.97 0 180);
  --foreground: oklch(0.204 0 180);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.947 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.954 0 180);
  --card-foreground: oklch(0.146 0 180);
  --border: oklch(0.931 0 180);
  --input: oklch(0.908 0 180);
  --primary: oklch(0.59 0 164.055);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.853 0 168.69);
  --accent-foreground: oklch(0.331 0 180);
  --destructive: oklch(0.553 0.214 30.408);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.59 0 164.055);
  --chart-1: oklch(0.59 0 164.055);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.853 0 168.69);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.583 0.009 17.421);
}