Brief is a shadcn/ui theme built around a vivid blue primary color (#497ff3) with vivid green accents (#7ff349). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid blue primary (#497ff3) on a neutral background (#030407).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #030407black |
| Foreground | #050a15black | #f6f7f9whitesmoke |
| Card | #fbfcfewhite | #030407black |
| Card foreground | #050a15black | #f6f7f9whitesmoke |
| Popover | #fbfcfewhite | #030407black |
| Popover foreground | #050a15black | #f6f7f9whitesmoke |
| Primary | #497ff3royalblue | #497ff3royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #f3497fpalevioletred | #f3497fpalevioletred |
| Secondary foreground | #000000black | #000000black |
| Muted | #f4e6eblinen | #190b0fblack |
| Muted foreground | #60575adimgray | #a89fa2darkgray |
| Accent | #7ff349yellowgreen | #7ff349yellowgreen |
| Accent foreground | #030a01black | #030a01black |
| Destructive | #651306maroon | #f03114orangered |
| Destructive foreground | #f9afa4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #497ff3royalblue | #497ff3royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.28:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 3.74:1 | AA Large |
| Secondary button | 6.07:1 | AA |
| Muted text | 5.77:1 | AA |
| Accent | 14.18:1 | AAA |
| Destructive | 7.10:1 | AAA |
| Text on background | 19.09:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 3.74:1 | AA Large |
| Secondary button | 6.07:1 | AA |
| Muted text | 7.43:1 | AAA |
| Accent | 14.18:1 | AAA |
| Destructive | 4.06:1 | AA Large |
Paste this into your globals.css to use Brief in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 265.995);
--foreground: oklch(0.144 0.026 261.235);
--muted: oklch(0.938 0.016 356.109);
--muted-foreground: oklch(0.467 0.013 356.39);
--popover: oklch(0.991 0.003 265.995);
--popover-foreground: oklch(0.144 0.026 261.235);
--card: oklch(0.991 0.003 265.995);
--card-foreground: oklch(0.144 0.026 261.235);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.62 0.184 263.327);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.209 5.904);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.864 0.23 137.623);
--accent-foreground: oklch(0.13 0.032 132.969);
--destructive: oklch(0.332 0.117 31.779);
--destructive-foreground: oklch(0.822 0.089 28.865);
--ring: oklch(0.62 0.184 263.327);
--chart-1: oklch(0.62 0.184 263.327);
--chart-2: oklch(0.66 0.209 5.904);
--chart-3: oklch(0.864 0.23 137.623);
--chart-4: oklch(0.679 0.195 4.47);
--chart-5: oklch(0.619 0.19 263.242);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.01 260.684);
--foreground: oklch(0.975 0.004 265.99);
--muted: oklch(0.172 0.025 359.691);
--muted-foreground: oklch(0.71 0.011 356.077);
--popover: oklch(0.109 0.01 260.684);
--popover-foreground: oklch(0.975 0.004 265.99);
--card: oklch(0.109 0.01 260.684);
--card-foreground: oklch(0.975 0.004 265.99);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.62 0.184 263.327);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.209 5.904);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.864 0.23 137.623);
--accent-foreground: oklch(0.13 0.032 132.969);
--destructive: oklch(0.619 0.228 31.456);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.62 0.184 263.327);
--chart-1: oklch(0.62 0.184 263.327);
--chart-2: oklch(0.66 0.209 5.904);
--chart-3: oklch(0.864 0.23 137.623);
--chart-4: oklch(0.679 0.195 4.47);
--chart-5: oklch(0.619 0.19 263.242);
}