Brow is a shadcn/ui theme built around a vivid indigo primary color (#6970fc) with vivid green accents (#70fc69). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid indigo primary (#6970fc) on a neutral background (#020308).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020308black |
| Foreground | #000000black | #f5f5f9whitesmoke |
| Card | #ffffffwhite | #020308black |
| Card foreground | #000000black | #f5f5f9whitesmoke |
| Popover | #ffffffwhite | #020308black |
| Popover foreground | #000000black | #f5f5f9whitesmoke |
| Primary | #6970fcmediumslateblue | #6970fcmediumslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #fc6970salmon | #fc6970salmon |
| Secondary foreground | #320103black | #320103black |
| Muted | #e5d1d2gainsboro | #2e1a1bblack |
| Muted foreground | #4f4040darkslategray | #bfb0b1silver |
| Accent | #70fc69lightgreen | #70fc69lightgreen |
| Accent foreground | #033201black | #033201black |
| Destructive | #6c0909maroon | #eb1919crimson |
| Destructive foreground | #f8afaflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6970fcmediumslateblue | #6970fcmediumslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 3.93:1 | AA Large |
| Secondary button | 6.48:1 | AA |
| Muted text | 6.74:1 | AA |
| Accent | 10.82:1 | AAA |
| Destructive | 6.98:1 | AA |
| Text on background | 18.97:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 3.93:1 | AA Large |
| Secondary button | 6.48:1 | AA |
| Muted text | 7.88:1 | AAA |
| Accent | 10.82:1 | AAA |
| Destructive | 4.48:1 | AA Large |
Paste this into your globals.css to use Brow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.878 0.022 14.115);
--muted-foreground: oklch(0.387 0.022 14.757);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.616 0.204 276.329);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.706 0.18 19.946);
--secondary-foreground: oklch(0.202 0.079 24.596);
--accent: oklch(0.883 0.224 142.562);
--accent-foreground: oklch(0.276 0.091 141.865);
--destructive: oklch(0.34 0.13 27.833);
--destructive-foreground: oklch(0.824 0.086 19.062);
--ring: oklch(0.616 0.204 276.329);
--chart-1: oklch(0.616 0.204 276.329);
--chart-2: oklch(0.706 0.18 19.946);
--chart-3: oklch(0.883 0.224 142.562);
--chart-4: oklch(0.729 0.162 18.872);
--chart-5: oklch(0.612 0.21 275.984);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.019 278.697);
--foreground: oklch(0.973 0.005 283.878);
--muted: oklch(0.244 0.032 16.436);
--muted-foreground: oklch(0.77 0.018 14.076);
--popover: oklch(0.097 0.019 278.697);
--popover-foreground: oklch(0.973 0.005 283.878);
--card: oklch(0.097 0.019 278.697);
--card-foreground: oklch(0.973 0.005 283.878);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.616 0.204 276.329);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.706 0.18 19.946);
--secondary-foreground: oklch(0.202 0.079 24.596);
--accent: oklch(0.883 0.224 142.562);
--accent-foreground: oklch(0.276 0.091 141.865);
--destructive: oklch(0.597 0.235 28.331);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.616 0.204 276.329);
--chart-1: oklch(0.616 0.204 276.329);
--chart-2: oklch(0.706 0.18 19.946);
--chart-3: oklch(0.883 0.224 142.562);
--chart-4: oklch(0.729 0.162 18.872);
--chart-5: oklch(0.612 0.21 275.984);
}