Neurobiologist is a shadcn/ui theme built around a red primary color (#6b3633) with muted light red accents (#d6c3c2). The light mode uses a neutral background (#fbf9f8). Dark mode keeps the red primary (#6b3633) on a red-tinted background (#0e0707).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf9f8snow | #0e0707black |
| Foreground | #090201black | #f9f6f6whitesmoke |
| Card | #faf5f5whitesmoke | #110909black |
| Card foreground | #040101black | #fbf9f9snow |
| Popover | #faf5f5whitesmoke | #110909black |
| Popover foreground | #040101black | #fbf9f9snow |
| Primary | #6b3633saddlebrown | #6b3633saddlebrown |
| Primary foreground | #f0e1e0mistyrose | #f0e1e0mistyrose |
| Secondary | #ddd5d5gainsboro | #242323black |
| Secondary foreground | #473939darkslategray | #bebcbbsilver |
| Muted | #eeececlinen | #131111black |
| Muted foreground | #6c5b5adimgray | #a59393rosybrown |
| Accent | #d6c3c2silver | #372f2fdarkslategray |
| Accent foreground | #3d2a29darkslategray | #d0c8c8lightgrey |
| Destructive | #e43201orangered | #fe4816orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6b3633saddlebrown | #6b3633saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 7.52:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 5.44:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.39:1 | AA Large |
| Text on background | 18.57:1 | AAA |
| Text on card | 18.77:1 | AAA |
| Primary button | 7.52:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 6.45:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.41:1 | AA Large |
Paste this into your globals.css to use Neurobiologist in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.003 20.929);
--foreground: oklch(0.102 0.022 27.321);
--muted: oklch(0.945 0.002 20.919);
--muted-foreground: oklch(0.489 0.022 21.512);
--popover: oklch(0.974 0.005 20.95);
--popover-foreground: oklch(0.081 0.018 27.321);
--card: oklch(0.974 0.005 20.95);
--card-foreground: oklch(0.081 0.018 27.321);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.4 0.075 24.142);
--primary-foreground: oklch(0.921 0.017 21.125);
--secondary: oklch(0.879 0.009 21.017);
--secondary-foreground: oklch(0.36 0.019 21.617);
--accent: oklch(0.832 0.022 21.237);
--accent-foreground: oklch(0.307 0.029 22.308);
--destructive: oklch(0.599 0.218 33.417);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.4 0.075 24.142);
--chart-1: oklch(0.4 0.075 24.142);
--chart-2: oklch(0.879 0.009 21.017);
--chart-3: oklch(0.832 0.022 21.237);
--chart-4: oklch(0.904 0.007 20.988);
--chart-5: oklch(0.4 0.082 24.515);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.012 22.807);
--foreground: oklch(0.975 0.003 20.93);
--muted: oklch(0.18 0.003 21.133);
--muted-foreground: oklch(0.68 0.02 21.286);
--popover: oklch(0.151 0.014 22.585);
--popover-foreground: oklch(0.984 0.002 20.916);
--card: oklch(0.151 0.014 22.585);
--card-foreground: oklch(0.984 0.002 20.916);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.4 0.075 24.142);
--primary-foreground: oklch(0.921 0.017 21.125);
--secondary: oklch(0.258 0.002 20.99);
--secondary-foreground: oklch(0.796 0.003 20.934);
--accent: oklch(0.315 0.011 21.37);
--accent-foreground: oklch(0.84 0.009 21.021);
--destructive: oklch(0.661 0.225 34.631);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.4 0.075 24.142);
--chart-1: oklch(0.4 0.075 24.142);
--chart-2: oklch(0.258 0.002 20.99);
--chart-3: oklch(0.315 0.011 21.37);
--chart-4: oklch(0.289 0.002 20.995);
--chart-5: oklch(0.4 0.082 24.515);
}