Brisk is a shadcn/ui theme built around a deep indigo primary color (#1f1a60) with deep green accents (#1a601f). The light mode uses a neutral background (#fcfbfd). Dark mode keeps the deep indigo primary (#1f1a60) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfdsnow | #020203black |
| Foreground | #010104black | #f6f6f8whitesmoke |
| Card | #f8f8fcghostwhite | #040307black |
| Card foreground | #000000black | #f9f9fbghostwhite |
| Popover | #f8f8fcghostwhite | #040307black |
| Popover foreground | #000000black | #f9f9fbghostwhite |
| Primary | #1f1a60midnightblue | #1f1a60midnightblue |
| Primary foreground | #c2bfedlightsteelblue | #c2bfedlightsteelblue |
| Secondary | #601f1amaroon | #601f1amaroon |
| Secondary foreground | #edc2bflightpink | #edc2bflightpink |
| Muted | #eceaealinen | #151413black |
| Muted foreground | #4d3e3ddarkslategray | #c2b3b2silver |
| Accent | #1a601fdarkgreen | #1a601fdarkgreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c31609firebrick | #f64437tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1f1a60midnightblue | #1f1a60midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 8.68:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 8.43:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 6.12:1 | AA |
| Text on background | 19.23:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 8.68:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 9.11:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Brisk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 289.426);
--foreground: oklch(0.073 0.02 285.135);
--muted: oklch(0.938 0.002 22.239);
--muted-foreground: oklch(0.379 0.022 22.943);
--popover: oklch(0.98 0.006 289.372);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.98 0.006 289.372);
--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.277 0.119 278.287);
--primary-foreground: oklch(0.822 0.065 287.935);
--secondary: oklch(0.34 0.096 27.407);
--secondary-foreground: oklch(0.851 0.05 22.963);
--accent: oklch(0.431 0.12 144.091);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.52 0.204 29.757);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.277 0.119 278.287);
--chart-1: oklch(0.277 0.119 278.287);
--chart-2: oklch(0.34 0.096 27.407);
--chart-3: oklch(0.431 0.12 144.091);
--chart-4: oklch(0.367 0.106 27.531);
--chart-5: oklch(0.275 0.124 277.401);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.009 287.884);
--foreground: oklch(0.975 0.003 289.424);
--muted: oklch(0.191 0.003 22.401);
--muted-foreground: oklch(0.779 0.018 22.481);
--popover: oklch(0.105 0.012 287.884);
--popover-foreground: oklch(0.983 0.002 289.442);
--card: oklch(0.105 0.012 287.884);
--card-foreground: oklch(0.983 0.002 289.442);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.277 0.119 278.287);
--primary-foreground: oklch(0.822 0.065 287.935);
--secondary: oklch(0.34 0.096 27.407);
--secondary-foreground: oklch(0.851 0.05 22.963);
--accent: oklch(0.431 0.12 144.091);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.646 0.216 28.7);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.277 0.119 278.287);
--chart-1: oklch(0.277 0.119 278.287);
--chart-2: oklch(0.34 0.096 27.407);
--chart-3: oklch(0.431 0.12 144.091);
--chart-4: oklch(0.367 0.106 27.531);
--chart-5: oklch(0.275 0.124 277.401);
}