Bold (rainglow) for shadcn/ui

Bold (rainglow) is a shadcn/ui theme built around a near-white primary color (#ffffff) with neutral gray accents (#534b4b). The light mode uses a neutral background (#2b2727). Dark mode keeps the near-white primary (#ffffff) on a neutral background (#2b2727).

Color palette

TokenLightDark
Background
#2b2727darkslategray
#2b2727darkslategray
Foreground
#ffffffwhite
#ffffffwhite
Card
#252222black
#252222black
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#231f1fblack
#231f1fblack
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#ffffffwhite
#ffffffwhite
Primary foreground
#333333darkslategray
#333333darkslategray
Secondary
#404040darkslategray
#404040darkslategray
Secondary foreground
#d9d9d9gainsboro
#d9d9d9gainsboro
Muted
#392d2ddarkslategray
#392d2ddarkslategray
Muted foreground
#bca9a9darkgray
#bca9a9darkgray
Accent
#534b4bdarkslategray
#534b4bdarkslategray
Accent foreground
#e9e7e7linen
#e9e7e7linen
Destructive
#fc0703red
#fc0703red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#363636darkslategray
#363636darkslategray
Input
#3d3d3ddarkslategray
#3d3d3ddarkslategray
Ring
#ffffffwhite
#ffffffwhite

Contrast

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

Light mode
Text on background14.80:1AAA
Text on card15.77:1AAA
Primary button12.63:1AAA
Secondary button7.37:1AAA
Muted text5.91:1AA
Accent6.87:1AA
Destructive4.04:1AA Large
Dark mode
Text on background14.80:1AAA
Text on card15.77:1AAA
Primary button12.63:1AAA
Secondary button7.37:1AAA
Muted text5.91:1AA
Accent6.87:1AA
Destructive4.04:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.276 0.006 17.526);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.31 0.018 18.169);
  --muted-foreground: oklch(0.752 0.021 17.636);
  --popover: oklch(0.245 0.005 17.504);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.256 0.005 17.512);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.331 0 180);
  --input: oklch(0.361 0 180);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.421 0.011 17.581);
  --accent-foreground: oklch(0.929 0.002 17.202);
  --destructive: oklch(0.624 0.255 29.299);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.421 0.011 17.581);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(1 0 180);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.276 0.006 17.526);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.31 0.018 18.169);
  --muted-foreground: oklch(0.752 0.021 17.636);
  --popover: oklch(0.245 0.005 17.504);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.256 0.005 17.512);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.331 0 180);
  --input: oklch(0.361 0 180);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.421 0.011 17.581);
  --accent-foreground: oklch(0.929 0.002 17.202);
  --destructive: oklch(0.624 0.255 29.299);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.421 0.011 17.581);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(1 0 180);
}