Brow is a shadcn/ui theme built around a muted purple primary color (#b9a7b5) with muted pink accents (#b9a7ac). The light mode uses a neutral background (#fdf7fb). Dark mode keeps the muted purple primary (#b9a7b5) on a purple-tinted background (#0a0509).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fbsnow | #0a0509black |
| Foreground | #080207black | #faf5f9whitesmoke |
| Card | #fcf3falavenderblush | #0e070cblack |
| Card foreground | #040103black | #fcf8fbsnow |
| Popover | #fcf3falavenderblush | #0e070cblack |
| Popover foreground | #040103black | #fcf8fbsnow |
| Primary | #b9a7b5darkgray | #b9a7b5darkgray |
| Primary foreground | #191418black | #191418black |
| Secondary | #b4a7b9darkgray | #b4a7b9darkgray |
| Secondary foreground | #181419black | #181419black |
| Muted | #ebe1eflavender | #1a101eblack |
| Muted foreground | #493b4edarkslategray | #bfb1c4silver |
| Accent | #b9a7acdarkgray | #b9a7acdarkgray |
| Accent foreground | #191416black | #191416black |
| Destructive | #a14612saddlebrown | #e76a23chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b9a7b5darkgray | #b9a7b5darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 8.20:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.17:1 | AA |
| Text on background | 18.76:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 9.05:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.48:1 | AA |
Paste this into your globals.css to use Brow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.008 333.375);
--foreground: oklch(0.108 0.022 333.984);
--muted: oklch(0.922 0.021 317.137);
--muted-foreground: oklch(0.376 0.037 316.96);
--popover: oklch(0.973 0.012 333.445);
--popover-foreground: oklch(0.086 0.017 333.984);
--card: oklch(0.973 0.012 333.445);
--card-foreground: oklch(0.086 0.017 333.984);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.748 0.027 333.818);
--primary-foreground: oklch(0.201 0.011 334.099);
--secondary: oklch(0.745 0.028 317.103);
--secondary-foreground: oklch(0.2 0.011 317.059);
--accent: oklch(0.745 0.021 359.578);
--accent-foreground: oklch(0.2 0.009 359.977);
--destructive: oklch(0.506 0.134 45.398);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.748 0.027 333.818);
--chart-1: oklch(0.748 0.027 333.818);
--chart-2: oklch(0.745 0.028 317.103);
--chart-3: oklch(0.745 0.021 359.578);
--chart-4: oklch(0.771 0.025 317.114);
--chart-5: oklch(0.746 0.035 333.974);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.016 333.747);
--foreground: oklch(0.975 0.007 333.359);
--muted: oklch(0.194 0.031 316.794);
--muted-foreground: oklch(0.777 0.031 317.098);
--popover: oklch(0.14 0.019 334.697);
--popover-foreground: oklch(0.983 0.005 333.319);
--card: oklch(0.14 0.019 334.697);
--card-foreground: oklch(0.983 0.005 333.319);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.748 0.027 333.818);
--primary-foreground: oklch(0.201 0.011 334.099);
--secondary: oklch(0.745 0.028 317.103);
--secondary-foreground: oklch(0.2 0.011 317.059);
--accent: oklch(0.745 0.021 359.578);
--accent-foreground: oklch(0.2 0.009 359.977);
--destructive: oklch(0.666 0.173 45.86);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.748 0.027 333.818);
--chart-1: oklch(0.748 0.027 333.818);
--chart-2: oklch(0.745 0.028 317.103);
--chart-3: oklch(0.745 0.021 359.578);
--chart-4: oklch(0.771 0.025 317.114);
--chart-5: oklch(0.746 0.035 333.974);
}