Brief is a shadcn/ui theme built around a deep orange primary color (#1e150a) with muted orange accents (#cdc1b2). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the deep orange primary (#1e150a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #000000black |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #faf8f4whitesmoke | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #faf8f4whitesmoke | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #1e150ablack | #1e150ablack |
| Primary foreground | #d5b185tan | #d5b185tan |
| Secondary | #d4cfc9lightgrey | #2c2721darkslategray |
| Secondary foreground | #3c362fdarkslategray | #c8c0b6silver |
| Muted | #efebe6linen | #191510black |
| Muted foreground | #616161dimgray | #9e9e9edarkgray |
| Accent | #cdc1b2silver | #473c2edarkslategray |
| Accent foreground | #2e271edarkslategray | #ddd5cblightgrey |
| Destructive | #a00d08darkred | #e9140cred |
| Destructive foreground | #fddeddmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1e150ablack | #1e150ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 8.92:1 | AAA |
| Secondary button | 7.71:1 | AAA |
| Muted text | 5.22:1 | AA |
| Accent | 8.29:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.92:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 6.78:1 | AA |
| Accent | 7.40:1 | AAA |
| Destructive | 4.61:1 | AA |
Paste this into your globals.css to use Brief in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.004 73.193);
--foreground: oklch(0 0 0);
--muted: oklch(0.942 0.008 73.157);
--muted-foreground: oklch(0.492 0 180);
--popover: oklch(0.979 0.005 73.179);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.979 0.005 73.179);
--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.206 0.025 71.342);
--primary-foreground: oklch(0.783 0.072 72.066);
--secondary: oklch(0.857 0.011 73.126);
--secondary-foreground: oklch(0.337 0.015 72.83);
--accent: oklch(0.815 0.024 72.97);
--accent-foreground: oklch(0.278 0.019 72.498);
--destructive: oklch(0.448 0.177 29.134);
--destructive-foreground: oklch(0.926 0.035 20.153);
--ring: oklch(0.206 0.025 71.342);
--chart-1: oklch(0.206 0.025 71.342);
--chart-2: oklch(0.857 0.011 73.126);
--chart-3: oklch(0.815 0.024 72.97);
--chart-4: oklch(0.88 0.009 73.144);
--chart-5: oklch(0.206 0.026 71.143);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 73.212);
--muted: oklch(0.198 0.012 72.64);
--muted-foreground: oklch(0.7 0 180);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.206 0.025 71.342);
--primary-foreground: oklch(0.783 0.072 72.066);
--secondary: oklch(0.275 0.013 72.793);
--secondary-foreground: oklch(0.812 0.016 73.061);
--accent: oklch(0.363 0.027 72.393);
--accent-foreground: oklch(0.875 0.016 73.073);
--destructive: oklch(0.59 0.236 29.241);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.206 0.025 71.342);
--chart-1: oklch(0.206 0.025 71.342);
--chart-2: oklch(0.275 0.013 72.793);
--chart-3: oklch(0.363 0.027 72.393);
--chart-4: oklch(0.307 0.015 72.768);
--chart-5: oklch(0.206 0.026 71.143);
}