New-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).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #17202bblack |
| Foreground | #0f172ablack | #fafcf8snow |
| Card | #f9fafbghostwhite | #202a37darkslategray |
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.85:1 | AAA |
| Text on card | 17.08:1 | AAA |
| Primary button | 2.85:1 | Fail |
| Secondary button | 14.41:1 | AAA |
| Muted text | 6.88:1 | AA |
| Accent | 12.11:1 | AAA |
| Destructive | 3.62:1 | AA Large |
| Text on background | 15.92:1 | AAA |
| Text on card | 14.05:1 | AAA |
| Primary button | 3.64:1 | AA Large |
| Secondary button | 14.05:1 | AAA |
| Muted text | 9.14:1 | AAA |
| Accent | 17.18:1 | AAA |
| Destructive | 5.03:1 | AA |
Paste this into your globals.css to use New-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.282 0.028 255.171);
--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);
}