Brave Light (rainglow) for shadcn/ui

Brave Light (rainglow) is a shadcn/ui theme built around a neutral gray primary color (#2b2c2c) with muted light teal accents (#cbd8d8). The light mode uses a teal-tinted background (#f6f8f8). Dark mode keeps the neutral gray primary (#2b2c2c) on a teal-tinted background (#f6f8f8).

Color palette

TokenLightDark
Background
#f6f8f8whitesmoke
#f6f8f8whitesmoke
Foreground
#2b2c2cdarkslategray
#2b2c2cdarkslategray
Card
#f0f4f4whitesmoke
#f0f4f4whitesmoke
Card foreground
#1e1f1fblack
#1e1f1fblack
Popover
#eef2f2whitesmoke
#eef2f2whitesmoke
Popover foreground
#121212black
#121212black
Primary
#2b2c2cdarkslategray
#2b2c2cdarkslategray
Primary foreground
#c4c5c5silver
#c4c5c5silver
Secondary
#bfbfbfsilver
#bfbfbfsilver
Secondary foreground
#262626darkslategray
#262626darkslategray
Muted
#e2e9e9lavender
#e2e9e9lavender
Muted foreground
#435656darkslategray
#435656darkslategray
Accent
#cbd8d8lightgrey
#cbd8d8lightgrey
Accent foreground
#304040darkslategray
#304040darkslategray
Destructive
#781a07maroon
#781a07maroon
Destructive foreground
#fbc2b7lightpink
#fbc2b7lightpink
Border
#eaebeblavender
#eaebeblavender
Input
#e2e4e4gainsboro
#e2e4e4gainsboro
Ring
#2b2c2cdarkslategray
#2b2c2cdarkslategray

Contrast

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

Light mode
Text on background13.18:1AAA
Text on card14.92:1AAA
Primary button8.11:1AAA
Secondary button8.25:1AAA
Muted text6.29:1AA
Accent7.39:1AAA
Destructive6.90:1AA
Dark mode
Text on background13.18:1AAA
Text on card14.92:1AAA
Primary button8.11:1AAA
Secondary button8.25:1AAA
Muted text6.29:1AA
Accent7.39:1AAA
Destructive6.90:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.979 0.002 197.12);
  --foreground: oklch(0.291 0.001 197.089);
  --muted: oklch(0.928 0.007 197.043);
  --muted-foreground: oklch(0.437 0.023 196.351);
  --popover: oklch(0.957 0.005 197.081);
  --popover-foreground: oklch(0.182 0.001 197.107);
  --card: oklch(0.965 0.004 197.094);
  --card-foreground: oklch(0.238 0.001 197.095);
  --border: oklch(0.94 0.002 197.128);
  --input: oklch(0.917 0.002 197.115);
  --primary: oklch(0.291 0.001 197.089);
  --primary-foreground: oklch(0.822 0.001 197.133);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.871 0.014 196.901);
  --accent-foreground: oklch(0.358 0.02 196.281);
  --destructive: oklch(0.378 0.132 32.862);
  --destructive-foreground: oklch(0.862 0.067 31.405);
  --ring: oklch(0.291 0.001 197.089);
  --chart-1: oklch(0.291 0.001 197.089);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.871 0.014 196.901);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.294 0.005 196.889);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.979 0.002 197.12);
  --foreground: oklch(0.291 0.001 197.089);
  --muted: oklch(0.928 0.007 197.043);
  --muted-foreground: oklch(0.437 0.023 196.351);
  --popover: oklch(0.957 0.005 197.081);
  --popover-foreground: oklch(0.182 0.001 197.107);
  --card: oklch(0.965 0.004 197.094);
  --card-foreground: oklch(0.238 0.001 197.095);
  --border: oklch(0.94 0.002 197.128);
  --input: oklch(0.917 0.002 197.115);
  --primary: oklch(0.291 0.001 197.089);
  --primary-foreground: oklch(0.822 0.001 197.133);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.871 0.014 196.901);
  --accent-foreground: oklch(0.358 0.02 196.281);
  --destructive: oklch(0.378 0.132 32.862);
  --destructive-foreground: oklch(0.862 0.067 31.405);
  --ring: oklch(0.291 0.001 197.089);
  --chart-1: oklch(0.291 0.001 197.089);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.871 0.014 196.901);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.294 0.005 196.889);
}