Brisk is a shadcn/ui theme built around an indigo primary color (#8983e2) with green accents (#83e289). The light mode uses a neutral background (#f7f6fd). Dark mode keeps the indigo primary (#8983e2) on a neutral background (#010104).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f6fdghostwhite | #010104black |
| Foreground | #060514black | #f5f4fawhitesmoke |
| Card | #f7f6fdghostwhite | #010104black |
| Card foreground | #060514black | #f5f4fawhitesmoke |
| Popover | #f7f6fdghostwhite | #010104black |
| Popover foreground | #060514black | #f5f4fawhitesmoke |
| Primary | #8983e2mediumpurple | #8983e2mediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #e28983lightcoral | #e28983lightcoral |
| Secondary foreground | #290c0ablack | #290c0ablack |
| Muted | #eae2e1gainsboro | #1e1615black |
| Muted foreground | #6f5452dimgray | #ad9290rosybrown |
| Accent | #83e289lightgreen | #83e289lightgreen |
| Accent foreground | #0a290cblack | #0a290cblack |
| Destructive | #71200amaroon | #eb4314orangered |
| Destructive foreground | #f8c3b4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8983e2mediumpurple | #8983e2mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.86:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 6.41:1 | AA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 5.35:1 | AA |
| Accent | 9.88:1 | AAA |
| Destructive | 7.05:1 | AAA |
| Text on background | 19.04:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 6.41:1 | AA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 9.88:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Brisk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.977 0.009 289.301);
--foreground: oklch(0.129 0.035 284.309);
--muted: oklch(0.918 0.009 22.324);
--muted-foreground: oklch(0.475 0.036 23.231);
--popover: oklch(0.977 0.009 289.301);
--popover-foreground: oklch(0.129 0.035 284.309);
--card: oklch(0.977 0.009 289.301);
--card-foreground: oklch(0.129 0.035 284.309);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.657 0.139 284.938);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.723 0.109 24.512);
--secondary-foreground: oklch(0.202 0.05 26.563);
--accent: oklch(0.832 0.152 145.5);
--accent-foreground: oklch(0.25 0.064 144.451);
--destructive: oklch(0.37 0.118 35.406);
--destructive-foreground: oklch(0.86 0.065 35.987);
--ring: oklch(0.657 0.139 284.938);
--chart-1: oklch(0.657 0.139 284.938);
--chart-2: oklch(0.723 0.109 24.512);
--chart-3: oklch(0.832 0.152 145.5);
--chart-4: oklch(0.749 0.097 24.112);
--chart-5: oklch(0.652 0.145 284.641);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.076 0.017 286.015);
--foreground: oklch(0.97 0.008 289.325);
--muted: oklch(0.209 0.013 23.032);
--muted-foreground: oklch(0.682 0.033 22.813);
--popover: oklch(0.076 0.017 286.015);
--popover-foreground: oklch(0.97 0.008 289.325);
--card: oklch(0.076 0.017 286.015);
--card-foreground: oklch(0.97 0.008 289.325);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.657 0.139 284.938);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.723 0.109 24.512);
--secondary-foreground: oklch(0.202 0.05 26.563);
--accent: oklch(0.832 0.152 145.5);
--accent-foreground: oklch(0.25 0.064 144.451);
--destructive: oklch(0.624 0.211 34.721);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.657 0.139 284.938);
--chart-1: oklch(0.657 0.139 284.938);
--chart-2: oklch(0.723 0.109 24.512);
--chart-3: oklch(0.832 0.152 145.5);
--chart-4: oklch(0.749 0.097 24.112);
--chart-5: oklch(0.652 0.145 284.641);
}