Brave Double Jeopardy is a shadcn/ui theme built around a muted teal primary color (#52796f) with muted light green accents (#cad2c5). The light mode uses a neutral background (#fcfcfc). Dark mode switches to a muted deep teal primary (#344e41) on a green-tinted background (#041207).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfcsnow | #041207black |
| Foreground | #132a13black | #f8f9faghostwhite |
| Card | #f8f9faghostwhite | #0d1d15black |
| Card foreground | #343a40darkslategray | #fcfdfdwhite |
| Popover | #f8f9faghostwhite | #000000black |
| Popover foreground | #343a40darkslategray | #fcfdfdwhite |
| Primary | #52796fdimgray | #344e41darkslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #84a98cdarkseagreen | #222a27darkslategray |
| Secondary foreground | #f8f9faghostwhite | #b9c6c0silver |
| Muted | #cad2c5lightgrey | #0c0e0dblack |
| Muted foreground | #2f3e46darkslategray | #92aaa0darkgray |
| Accent | #cad2c5lightgrey | #293d34darkslategray |
| Accent foreground | #2f3e46darkslategray | #c2d6cdlightgrey |
| Destructive | #d00000red | #e63946crimson |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #cad2c5lightgrey | #565656dimgray |
| Input | #cad2c5lightgrey | #202221black |
| Ring | #2f3e46darkslategray | #84a98cdarkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.95:1 | AAA |
| Text on card | 10.91:1 | AAA |
| Primary button | 4.85:1 | AA |
| Secondary button | 2.47:1 | Fail |
| Muted text | 7.12:1 | AAA |
| Accent | 7.12:1 | AAA |
| Destructive | 5.70:1 | AA |
| Text on background | 18.24:1 | AAA |
| Text on card | 17.07:1 | AAA |
| Primary button | 9.08:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 7.84:1 | AAA |
| Accent | 7.63:1 | AAA |
| Destructive | 5.03:1 | AA |
Paste this into your globals.css to use Brave Double Jeopardy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0 180);
--foreground: oklch(0.259 0.051 143.926);
--muted: oklch(0.854 0.02 133.097);
--muted-foreground: oklch(0.354 0.024 231.56);
--popover: oklch(0.982 0.002 247.839);
--popover-foreground: oklch(0.345 0.013 248.212);
--card: oklch(0.982 0.002 247.839);
--card-foreground: oklch(0.345 0.013 248.212);
--border: oklch(0.854 0.02 133.097);
--input: oklch(0.854 0.02 133.097);
--primary: oklch(0.544 0.047 176.685);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.699 0.058 151.206);
--secondary-foreground: oklch(0.982 0.002 247.839);
--accent: oklch(0.854 0.02 133.097);
--accent-foreground: oklch(0.354 0.024 231.56);
--destructive: oklch(0.538 0.221 29.234);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.354 0.024 231.56);
--chart-1: oklch(0.544 0.047 176.685);
--chart-2: oklch(0.699 0.058 151.206);
--chart-3: oklch(0.854 0.02 133.097);
--chart-4: oklch(0.722 0.054 151.366);
--chart-5: oklch(0.55 0.053 176.266);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.163 0.031 152.412);
--foreground: oklch(0.982 0.002 247.839);
--muted: oklch(0.159 0.003 168.221);
--muted-foreground: oklch(0.716 0.03 167.522);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 168.679);
--card: oklch(0.214 0.029 160.916);
--card-foreground: oklch(0.993 0.002 168.679);
--border: oklch(0.454 0 180);
--input: oklch(0.251 0.004 168.229);
--primary: oklch(0.399 0.039 162.261);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.276 0.013 170.702);
--secondary-foreground: oklch(0.814 0.016 168.176);
--accent: oklch(0.339 0.029 166.064);
--accent-foreground: oklch(0.858 0.024 167.936);
--destructive: oklch(0.612 0.208 22.242);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.699 0.058 151.206);
--chart-1: oklch(0.399 0.039 162.261);
--chart-2: oklch(0.276 0.013 170.702);
--chart-3: oklch(0.339 0.029 166.064);
--chart-4: oklch(0.309 0.015 170.638);
--chart-5: oklch(0.403 0.044 161.829);
}