Brilliant is a shadcn/ui theme built around a vivid deep orange primary color (#402608) with vivid deep yellow accents (#3d4008). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the vivid deep orange primary (#402608) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf7snow | #000000black |
| Foreground | #090501black | #f9f8f6whitesmoke |
| Card | #fcf8f3floralwhite | #030303black |
| Card foreground | #040301black | #fbfaf9snow |
| Popover | #fcf8f3floralwhite | #030303black |
| Popover foreground | #040301black | #fbfaf9snow |
| Primary | #402608black | #402608black |
| Primary foreground | #f0c289burlywood | #f0c289burlywood |
| Secondary | #400b08black | #400b08black |
| Secondary foreground | #f08e89lightcoral | #f08e89lightcoral |
| Muted | #e3cfcelightgrey | #311d1cblack |
| Muted foreground | #534241darkslategray | #beadacdarkgray |
| Accent | #3d4008darkolivegreen | #3d4008darkolivegreen |
| Accent foreground | #dce52egreenyellow | #dce52egreenyellow |
| Destructive | #a52312firebrick | #ea523etomato |
| Destructive foreground | #fdefedseashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #402608black | #402608black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 8.51:1 | AAA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 6.34:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 19.78:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 8.51:1 | AAA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 7.40:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Brilliant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 73.177);
--foreground: oklch(0.122 0.018 83.012);
--muted: oklch(0.871 0.023 21.234);
--muted-foreground: oklch(0.396 0.023 21.719);
--popover: oklch(0.981 0.008 73.155);
--popover-foreground: oklch(0.097 0.014 83.012);
--card: oklch(0.981 0.008 73.155);
--card-foreground: oklch(0.097 0.014 83.012);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.296 0.057 67.144);
--primary-foreground: oklch(0.842 0.09 71.698);
--secondary: oklch(0.246 0.082 28.006);
--secondary-foreground: oklch(0.75 0.12 23.546);
--accent: oklch(0.356 0.073 112.545);
--accent-foreground: oklch(0.887 0.187 112.681);
--destructive: oklch(0.473 0.168 31.041);
--destructive-foreground: oklch(0.962 0.016 26.556);
--ring: oklch(0.296 0.057 67.144);
--chart-1: oklch(0.296 0.057 67.144);
--chart-2: oklch(0.246 0.082 28.006);
--chart-3: oklch(0.356 0.073 112.545);
--chart-4: oklch(0.278 0.095 28.212);
--chart-5: oklch(0.298 0.059 66.788);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.003 73.195);
--muted: oklch(0.255 0.032 22.883);
--muted-foreground: oklch(0.762 0.02 21.227);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.986 0.002 73.203);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.002 73.203);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.296 0.057 67.144);
--primary-foreground: oklch(0.842 0.09 71.698);
--secondary: oklch(0.246 0.082 28.006);
--secondary-foreground: oklch(0.75 0.12 23.546);
--accent: oklch(0.356 0.073 112.545);
--accent-foreground: oklch(0.887 0.187 112.681);
--destructive: oklch(0.642 0.191 30.491);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.296 0.057 67.144);
--chart-1: oklch(0.296 0.057 67.144);
--chart-2: oklch(0.246 0.082 28.006);
--chart-3: oklch(0.356 0.073 112.545);
--chart-4: oklch(0.278 0.095 28.212);
--chart-5: oklch(0.298 0.059 66.788);
}