Bearded Theme Solarized Light for shadcn/ui

Bearded Theme Solarized Light is a shadcn/ui theme built around a teal primary color (#2aa298) with vivid light yellow accents (#f8df9b). The light mode uses a yellow-tinted background (#fdf6e2). Dark mode keeps the teal primary (#2aa298) on a yellow-tinted background (#fdf6e2).

Color palette

TokenLightDark
Background
#fdf6e2oldlace
#fdf6e2oldlace
Foreground
#000000black
#000000black
Card
#fcf3d9papayawhip
#fcf3d9papayawhip
Card foreground
#000000black
#000000black
Popover
#fcf1d4papayawhip
#fcf1d4papayawhip
Popover foreground
#000000black
#000000black
Primary
#2aa298lightseagreen
#2aa298lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#acd2cflightsteelblue
#acd2cflightsteelblue
Secondary foreground
#1b3230darkslategray
#1b3230darkslategray
Muted
#e9e7e2gainsboro
#e9e7e2gainsboro
Muted foreground
#565143darkolivegreen
#565143darkolivegreen
Accent
#f8df9bkhaki
#f8df9bkhaki
Accent foreground
#5b4406saddlebrown
#5b4406saddlebrown
Destructive
#a01f0efirebrick
#a01f0efirebrick
Destructive foreground
#fde6e3mistyrose
#fde6e3mistyrose
Border
#f9edcdblanchedalmond
#f9edcdblanchedalmond
Input
#f7e8c0bisque
#f7e8c0bisque
Ring
#2aa298lightseagreen
#2aa298lightseagreen

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card18.95:1AAA
Primary button3.11:1AA Large
Secondary button8.35:1AAA
Muted text6.39:1AA
Accent7.05:1AAA
Destructive6.55:1AA
Dark mode
Text on background19.45:1AAA
Text on card18.95:1AAA
Primary button3.11:1AA Large
Secondary button8.35:1AAA
Muted text6.39:1AA
Accent7.05:1AAA
Destructive6.55:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.973 0.027 90.306);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.928 0.006 90.172);
  --muted-foreground: oklch(0.435 0.022 90.405);
  --popover: oklch(0.96 0.04 90.373);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.964 0.036 90.353);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.947 0.043 90.388);
  --input: oklch(0.933 0.055 90.422);
  --primary: oklch(0.647 0.103 186.606);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.836 0.041 190.171);
  --secondary-foreground: oklch(0.296 0.029 188.935);
  --accent: oklch(0.909 0.091 90.341);
  --accent-foreground: oklch(0.401 0.079 86.024);
  --destructive: oklch(0.458 0.166 31.028);
  --destructive-foreground: oklch(0.942 0.025 26.639);
  --ring: oklch(0.647 0.103 186.606);
  --chart-1: oklch(0.647 0.103 186.606);
  --chart-2: oklch(0.836 0.041 190.171);
  --chart-3: oklch(0.909 0.091 90.341);
  --chart-4: oklch(0.856 0.036 190.324);
  --chart-5: oklch(0.655 0.106 186.424);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.973 0.027 90.306);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.928 0.006 90.172);
  --muted-foreground: oklch(0.435 0.022 90.405);
  --popover: oklch(0.96 0.04 90.373);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.964 0.036 90.353);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.947 0.043 90.388);
  --input: oklch(0.933 0.055 90.422);
  --primary: oklch(0.647 0.103 186.606);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.836 0.041 190.171);
  --secondary-foreground: oklch(0.296 0.029 188.935);
  --accent: oklch(0.909 0.091 90.341);
  --accent-foreground: oklch(0.401 0.079 86.024);
  --destructive: oklch(0.458 0.166 31.028);
  --destructive-foreground: oklch(0.942 0.025 26.639);
  --ring: oklch(0.647 0.103 186.606);
  --chart-1: oklch(0.647 0.103 186.606);
  --chart-2: oklch(0.836 0.041 190.171);
  --chart-3: oklch(0.909 0.091 90.341);
  --chart-4: oklch(0.856 0.036 190.324);
  --chart-5: oklch(0.655 0.106 186.424);
}