Chief is a shadcn/ui theme built around a muted light orange primary color (#e7ded9) with muted light yellow accents (#e7e5d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light orange primary (#e7ded9) on an orange-tinted background (#0b0604).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0604black |
| Foreground | #0c0603black | #fbfaf9snow |
| Card | #fcfcfcsnow | #0f0806black |
| Card foreground | #080402black | #fdfcfcsnow |
| Popover | #fcfcfcsnow | #0f0806black |
| Popover foreground | #080402black | #fdfcfcsnow |
| Primary | #e7ded9gainsboro | #e7ded9gainsboro |
| Primary foreground | #584137darkolivegreen | #584137darkolivegreen |
| Secondary | #e7d9dcgainsboro | #e7d9dcgainsboro |
| Secondary foreground | #58373ddarkslategray | #58373ddarkslategray |
| Muted | #f4ebedlinen | #140b0cblack |
| Muted foreground | #4c383cdarkslategray | #c7b3b6silver |
| Accent | #e7e5d9gainsboro | #e7e5d9gainsboro |
| Accent foreground | #585237darkolivegreen | #585237darkolivegreen |
| Destructive | #89350bsaddlebrown | #e25812chocolate |
| Destructive foreground | #fbdbcbbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e7ded9gainsboro | #e7ded9gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 9.27:1 | AAA |
| Accent | 6.20:1 | AA |
| Destructive | 6.25:1 | AA |
| Text on background | 19.29:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 9.75:1 | AAA |
| Accent | 6.20:1 | AA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Chief in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.13 0.016 54.999);
--muted: oklch(0.948 0.01 4.585);
--muted-foreground: oklch(0.365 0.029 6.358);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.114 0.014 55.489);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.114 0.014 55.489);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.906 0.012 46.707);
--primary-foreground: oklch(0.398 0.036 46.026);
--secondary: oklch(0.898 0.016 4.776);
--secondary-foreground: oklch(0.378 0.048 7.617);
--accent: oklch(0.92 0.016 96.373);
--accent-foreground: oklch(0.436 0.042 97.021);
--destructive: oklch(0.441 0.125 42.336);
--destructive-foreground: oklch(0.914 0.041 48.245);
--ring: oklch(0.906 0.012 46.707);
--chart-1: oklch(0.906 0.012 46.707);
--chart-2: oklch(0.898 0.016 4.776);
--chart-3: oklch(0.92 0.016 96.373);
--chart-4: oklch(0.924 0.012 4.648);
--chart-5: oklch(0.906 0.014 46.688);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.012 53.101);
--foreground: oklch(0.985 0.002 46.837);
--muted: oklch(0.162 0.016 6.851);
--muted-foreground: oklch(0.784 0.023 5.091);
--popover: oklch(0.145 0.014 50.902);
--popover-foreground: oklch(0.992 0.001 46.847);
--card: oklch(0.145 0.014 50.902);
--card-foreground: oklch(0.992 0.001 46.847);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.906 0.012 46.707);
--primary-foreground: oklch(0.398 0.036 46.026);
--secondary: oklch(0.898 0.016 4.776);
--secondary-foreground: oklch(0.378 0.048 7.617);
--accent: oklch(0.92 0.016 96.373);
--accent-foreground: oklch(0.436 0.042 97.021);
--destructive: oklch(0.634 0.187 41.431);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.906 0.012 46.707);
--chart-1: oklch(0.906 0.012 46.707);
--chart-2: oklch(0.898 0.016 4.776);
--chart-3: oklch(0.92 0.016 96.373);
--chart-4: oklch(0.924 0.012 4.648);
--chart-5: oklch(0.906 0.014 46.688);
}