Brake is a shadcn/ui theme built around a vivid light purple primary color (#edbdfa) with vivid light green accents (#cafabd). The light mode uses a neutral background (#fbf7fc). Dark mode keeps the vivid light purple primary (#edbdfa) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf7fcghostwhite | #000000black |
| Foreground | #110614black | #fdfcfdwhite |
| Card | #fbf7fcghostwhite | #000000black |
| Card foreground | #110614black | #fdfcfdwhite |
| Popover | #fbf7fcghostwhite | #000000black |
| Popover foreground | #110614black | #fdfcfdwhite |
| Primary | #edbdfathistle | #edbdfathistle |
| Primary foreground | #63097bindigo | #63097bindigo |
| Secondary | #cafabdpalegoldenrod | #cafabdpalegoldenrod |
| Secondary foreground | #081c02black | #081c02black |
| Muted | #e8eee7linen | #121811black |
| Muted foreground | #444e41darkslategray | #b4beb1silver |
| Accent | #cafabdpalegoldenrod | #cafabdpalegoldenrod |
| Accent foreground | #081c02black | #081c02black |
| Destructive | #ca4207chocolate | #f65713orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #edbdfathistle | #edbdfathistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.75:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 15.21:1 | AAA |
| Muted text | 7.41:1 | AAA |
| Accent | 15.21:1 | AAA |
| Destructive | 4.90:1 | AA |
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 15.21:1 | AAA |
| Muted text | 9.37:1 | AAA |
| Accent | 15.21:1 | AAA |
| Destructive | 3.32:1 | AA Large |
Paste this into your globals.css to use Brake in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.008 318.888);
--foreground: oklch(0.147 0.035 319.104);
--muted: oklch(0.944 0.012 138.895);
--muted-foreground: oklch(0.41 0.025 138.919);
--popover: oklch(0.982 0.008 318.888);
--popover-foreground: oklch(0.147 0.035 319.104);
--card: oklch(0.982 0.008 318.888);
--card-foreground: oklch(0.147 0.035 319.104);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.859 0.098 318.84);
--primary-foreground: oklch(0.373 0.174 316.695);
--secondary: oklch(0.936 0.095 138.954);
--secondary-foreground: oklch(0.204 0.057 138.173);
--accent: oklch(0.936 0.095 138.954);
--accent-foreground: oklch(0.204 0.057 138.173);
--destructive: oklch(0.567 0.181 38.215);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.859 0.098 318.84);
--chart-1: oklch(0.859 0.098 318.84);
--chart-2: oklch(0.936 0.095 138.954);
--chart-3: oklch(0.936 0.095 138.954);
--chart-4: oklch(0.949 0.075 138.932);
--chart-5: oklch(0.858 0.101 318.837);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.002 318.89);
--muted: oklch(0.201 0.018 138.94);
--muted-foreground: oklch(0.79 0.021 138.901);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.002 318.89);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.002 318.89);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.859 0.098 318.84);
--primary-foreground: oklch(0.373 0.174 316.695);
--secondary: oklch(0.936 0.095 138.954);
--secondary-foreground: oklch(0.204 0.057 138.173);
--accent: oklch(0.936 0.095 138.954);
--accent-foreground: oklch(0.204 0.057 138.173);
--destructive: oklch(0.665 0.206 38.962);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.859 0.098 318.84);
--chart-1: oklch(0.859 0.098 318.84);
--chart-2: oklch(0.936 0.095 138.954);
--chart-3: oklch(0.936 0.095 138.954);
--chart-4: oklch(0.949 0.075 138.932);
--chart-5: oklch(0.858 0.101 318.837);
}