latest braindao for shadcn/ui

latest braindao is a shadcn/ui theme built around a vivid pink primary color (#ff5caa) with muted light blue accents (#d1d5db). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#ff1a88) on a blue-tinted background (#17202b).

Color palette

TokenLightDark
Background
#ffffffwhite
#17202bblack
Foreground
#0f172ablack
#fafcf8snow
Card
#f9fafbghostwhite
#1b2430darkslategray
Card foreground
#0f172ablack
#fafcf8snow
Popover
#f8f7f7whitesmoke
#202a37darkslategray
Popover foreground
#0f172ablack
#fafcf8snow
Primary
#ff5caahotpink
#ff1a88deeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e5e7eblavender
#202a37darkslategray
Secondary foreground
#0f172ablack
#fafcf8snow
Muted
#f3f4f6whitesmoke
#272d38darkslategray
Muted foreground
#475569darkslategray
#d2d2d2lightgrey
Accent
#d1d5dblightgrey
#111827black
Accent foreground
#0f172ablack
#fafcf8snow
Destructive
#ef4343tomato
#c04723sienna
Destructive foreground
#fafafasnow
#ffffffwhite
Border
#e4e7eblavender
#39414bdarkslategray
Input
#d1d5dblightgrey
#4f565fdimgray
Ring
#ff99calightpink
#ff5cabhotpink

Contrast

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

Light mode
Text on background17.85:1AAA
Text on card17.08:1AAA
Primary button2.85:1Fail
Secondary button14.41:1AAA
Muted text6.88:1AA
Accent12.11:1AAA
Destructive3.62:1AA Large
Dark mode
Text on background15.92:1AAA
Text on card15.16:1AAA
Primary button3.64:1AA Large
Secondary button14.05:1AAA
Muted text9.14:1AAA
Accent17.18:1AAA
Destructive5.03:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.208 0.04 265.752);
  --muted: oklch(0.967 0.003 264.542);
  --muted-foreground: oklch(0.446 0.037 257.275);
  --popover: oklch(0.977 0.001 17.176);
  --popover-foreground: oklch(0.208 0.04 265.752);
  --card: oklch(0.985 0.002 247.839);
  --card-foreground: oklch(0.208 0.04 265.752);
  --border: oklch(0.926 0.007 264.527);
  --input: oklch(0.872 0.009 258.338);
  --primary: oklch(0.71 0.21 354.204);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.928 0.006 264.531);
  --secondary-foreground: oklch(0.208 0.04 265.752);
  --accent: oklch(0.872 0.009 258.338);
  --accent-foreground: oklch(0.208 0.04 265.752);
  --destructive: oklch(0.636 0.209 25.412);
  --destructive-foreground: oklch(0.985 0 170.538);
  --ring: oklch(0.802 0.134 350.329);
  --chart-1: oklch(0.71 0.21 354.204);
  --chart-2: oklch(0.928 0.006 264.531);
  --chart-3: oklch(0.872 0.009 258.338);
  --chart-4: oklch(0.952 0.004 264.539);
  --chart-5: oklch(0.711 0.215 354.462);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.24 0.025 253.769);
  --foreground: oklch(0.988 0.006 128.524);
  --muted: oklch(0.296 0.022 262.513);
  --muted-foreground: oklch(0.864 0 171.254);
  --popover: oklch(0.282 0.028 255.171);
  --popover-foreground: oklch(0.988 0.006 128.524);
  --card: oklch(0.257 0.026 255.764);
  --card-foreground: oklch(0.988 0.006 128.524);
  --border: oklch(0.371 0.02 254.766);
  --input: oklch(0.45 0.017 254.711);
  --primary: oklch(0.653 0.255 0.605);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.282 0.028 255.171);
  --secondary-foreground: oklch(0.988 0.006 128.524);
  --accent: oklch(0.21 0.032 264.665);
  --accent-foreground: oklch(0.988 0.006 128.524);
  --destructive: oklch(0.559 0.163 36.64);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.71 0.211 353.924);
  --chart-1: oklch(0.653 0.255 0.605);
  --chart-2: oklch(0.282 0.028 255.171);
  --chart-3: oklch(0.21 0.032 264.665);
  --chart-4: oklch(0.311 0.032 255.183);
  --chart-5: oklch(0.658 0.259 1.108);
}