Bold for shadcn/ui

Bold is a shadcn/ui theme built around a vivid light green primary color (#c6fbc1) with vivid light purple accents (#f6c1fb). The light mode uses a neutral background (#fbfefb). Dark mode keeps the vivid light green primary (#c6fbc1) on a green-tinted background (#070e07).

Color palette

TokenLightDark
Background
#fbfefbwhite
#070e07black
Foreground
#030802black
#f9fbf8mintcream
Card
#fbfefbwhite
#070e07black
Card foreground
#030802black
#f9fbf8mintcream
Popover
#fbfefbwhite
#070e07black
Popover foreground
#030802black
#f9fbf8mintcream
Primary
#c6fbc1lightgrey
#c6fbc1lightgrey
Primary foreground
#052102black
#052102black
Secondary
#f6c1fblavender
#f6c1fblavender
Secondary foreground
#770981purple
#770981purple
Muted
#f5eff6whitesmoke
#100910black
Muted foreground
#4b384cdarkslategray
#c5b3c7silver
Accent
#f6c1fblavender
#f6c1fblavender
Accent foreground
#770981purple
#770981purple
Destructive
#930801darkred
#fe342aorangered
Destructive foreground
#ffcac7pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c6fbc1lightgrey
#c6fbc1lightgrey

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.88:1AAA
Primary button14.63:1AAA
Secondary button6.50:1AA
Muted text9.40:1AAA
Accent6.50:1AA
Destructive6.37:1AA
Dark mode
Text on background18.80:1AAA
Text on card18.80:1AAA
Primary button14.63:1AAA
Secondary button6.50:1AA
Muted text9.95:1AAA
Accent6.50:1AA
Destructive3.65:1AA Large

CSS variables

Paste this into your globals.css to use Bold in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 143.111);
  --foreground: oklch(0.123 0.024 141.358);
  --muted: oklch(0.958 0.012 323.191);
  --muted-foreground: oklch(0.37 0.041 323.621);
  --popover: oklch(0.994 0.005 143.111);
  --popover-foreground: oklch(0.123 0.024 141.358);
  --card: oklch(0.994 0.005 143.111);
  --card-foreground: oklch(0.123 0.024 141.358);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.936 0.094 142.656);
  --primary-foreground: oklch(0.219 0.066 141.21);
  --secondary: oklch(0.876 0.096 323.615);
  --secondary-foreground: oklch(0.409 0.186 324.055);
  --accent: oklch(0.876 0.096 323.615);
  --accent-foreground: oklch(0.409 0.186 324.055);
  --destructive: oklch(0.42 0.168 29.936);
  --destructive-foreground: oklch(0.884 0.06 21.861);
  --ring: oklch(0.936 0.094 142.656);
  --chart-1: oklch(0.936 0.094 142.656);
  --chart-2: oklch(0.876 0.096 323.615);
  --chart-3: oklch(0.876 0.096 323.615);
  --chart-4: oklch(0.904 0.074 323.497);
  --chart-5: oklch(0.938 0.097 142.641);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.152 0.019 142.198);
  --foreground: oklch(0.986 0.005 143.111);
  --muted: oklch(0.153 0.018 323.664);
  --muted-foreground: oklch(0.787 0.034 323.332);
  --popover: oklch(0.152 0.019 142.198);
  --popover-foreground: oklch(0.986 0.005 143.111);
  --card: oklch(0.152 0.019 142.198);
  --card-foreground: oklch(0.986 0.005 143.111);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.936 0.094 142.656);
  --primary-foreground: oklch(0.219 0.066 141.21);
  --secondary: oklch(0.876 0.096 323.615);
  --secondary-foreground: oklch(0.409 0.186 324.055);
  --accent: oklch(0.876 0.096 323.615);
  --accent-foreground: oklch(0.409 0.186 324.055);
  --destructive: oklch(0.647 0.236 28.809);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.936 0.094 142.656);
  --chart-1: oklch(0.936 0.094 142.656);
  --chart-2: oklch(0.876 0.096 323.615);
  --chart-3: oklch(0.876 0.096 323.615);
  --chart-4: oklch(0.904 0.074 323.497);
  --chart-5: oklch(0.938 0.097 142.641);
}