Brisk is a shadcn/ui theme built around a neutral gray primary color (#a8a3a7) with neutral gray accents (#a3a7a8). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the neutral gray primary (#a8a3a7) on a purple-tinted background (#10040d).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #10040dblack |
| Foreground | #000000black | #fdfbfdsnow |
| Card | #faf5f9whitesmoke | #140511black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #faf5f9whitesmoke | #140511black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #a8a3a7darkgray | #a8a3a7darkgray |
| Primary foreground | #0d0c0dblack | #0d0c0dblack |
| Secondary | #a7a8a3darkgray | #a7a8a3darkgray |
| Secondary foreground | #0d0d0cblack | #0d0d0cblack |
| Muted | #e3e9cegainsboro | #2b3116darkslategray |
| Muted foreground | #5b6048darkolivegreen | #b2b79fdarkgray |
| Accent | #a3a7a8darkgray | #a3a7a8darkgray |
| Accent foreground | #0c0d0dblack | #0c0d0dblack |
| Destructive | #d51710firebrick | #ef2c25crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a8a3a7darkgray | #a8a3a7darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.96:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 5.21:1 | AA |
| Accent | 8.03:1 | AAA |
| Destructive | 5.29:1 | AA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 6.54:1 | AA |
| Accent | 8.03:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Brisk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 332.7);
--foreground: oklch(0 0 0);
--muted: oklch(0.921 0.036 117.033);
--muted-foreground: oklch(0.477 0.037 117.746);
--popover: oklch(0.974 0.008 332.743);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.008 332.743);
--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.721 0.009 332.8);
--primary-foreground: oklch(0.157 0.002 332.792);
--secondary: oklch(0.73 0.008 116.522);
--secondary-foreground: oklch(0.159 0.002 116.514);
--accent: oklch(0.726 0.005 216.041);
--accent-foreground: oklch(0.158 0.001 216.04);
--destructive: oklch(0.556 0.219 29.102);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.721 0.009 332.8);
--chart-1: oklch(0.721 0.009 332.8);
--chart-2: oklch(0.73 0.008 116.522);
--chart-3: oklch(0.726 0.005 216.041);
--chart-4: oklch(0.754 0.007 116.499);
--chart-5: oklch(0.719 0.017 332.982);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.031 334.82);
--foreground: oklch(0.991 0.003 332.661);
--muted: oklch(0.3 0.044 119.172);
--muted-foreground: oklch(0.768 0.033 117.116);
--popover: oklch(0.15 0.035 335.466);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.15 0.035 335.466);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.721 0.009 332.8);
--primary-foreground: oklch(0.157 0.002 332.792);
--secondary: oklch(0.73 0.008 116.522);
--secondary-foreground: oklch(0.159 0.002 116.514);
--accent: oklch(0.726 0.005 216.041);
--accent-foreground: oklch(0.158 0.001 216.04);
--destructive: oklch(0.614 0.228 28.448);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.721 0.009 332.8);
--chart-1: oklch(0.721 0.009 332.8);
--chart-2: oklch(0.73 0.008 116.522);
--chart-3: oklch(0.726 0.005 216.041);
--chart-4: oklch(0.754 0.007 116.499);
--chart-5: oklch(0.719 0.017 332.982);
}