Bureau is a shadcn/ui theme built around a muted purple primary color (#986fa5) with neutral gray accents (#dcdadd). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the muted purple primary (#986fa5) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fcghostwhite | #030104black |
| Foreground | #110515black | #fdfcfdwhite |
| Card | #f9f5faghostwhite | #060307black |
| Card foreground | #0e0411black | #ffffffwhite |
| Popover | #fbf8fcghostwhite | #030104black |
| Popover foreground | #110515black | #fdfcfdwhite |
| Primary | #986fa5lightslategray | #986fa5lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #dcdaddgainsboro | #252126darkslategray |
| Secondary foreground | #443f46darkslategray | #bfb8c1silver |
| Muted | #f4eff5whitesmoke | #0e0a10black |
| Muted foreground | #423c44darkslategray | #c1bbc3silver |
| Accent | #dcdaddgainsboro | #252126darkslategray |
| Accent foreground | #443f46darkslategray | #bfb8c1silver |
| Destructive | #8b3009saddlebrown | #f16427chocolate |
| Destructive foreground | #fcd9cabisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #986fa5lightslategray | #986fa5lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.87:1 | AAA |
| Text on card | 18.60:1 | AAA |
| Primary button | 5.13:1 | AA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 9.44:1 | AAA |
| Accent | 7.37:1 | AAA |
| Destructive | 6.30:1 | AA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 5.13:1 | AA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 10.44:1 | AAA |
| Accent | 8.17:1 | AAA |
| Destructive | 6.59:1 | AA |
Paste this into your globals.css to use Bureau in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 318.325);
--foreground: oklch(0.145 0.041 318.536);
--muted: oklch(0.958 0.01 318.32);
--muted-foreground: oklch(0.365 0.015 318.289);
--popover: oklch(0.983 0.006 318.325);
--popover-foreground: oklch(0.145 0.041 318.536);
--card: oklch(0.974 0.008 318.322);
--card-foreground: oklch(0.132 0.036 319.128);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.602 0.093 318.149);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.89 0.006 318.324);
--secondary-foreground: oklch(0.375 0.013 318.296);
--accent: oklch(0.89 0.006 318.324);
--accent-foreground: oklch(0.375 0.013 318.296);
--destructive: oklch(0.438 0.132 39.586);
--destructive-foreground: oklch(0.911 0.044 44.561);
--ring: oklch(0.602 0.093 318.149);
--chart-1: oklch(0.602 0.093 318.149);
--chart-2: oklch(0.89 0.006 318.324);
--chart-3: oklch(0.89 0.006 318.324);
--chart-4: oklch(0.914 0.004 318.325);
--chart-5: oklch(0.599 0.104 318.113);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.015 319.806);
--foreground: oklch(0.991 0.003 318.327);
--muted: oklch(0.152 0.016 318.228);
--muted-foreground: oklch(0.8 0.012 318.315);
--popover: oklch(0.086 0.015 319.806);
--popover-foreground: oklch(0.991 0.003 318.327);
--card: oklch(0.108 0.018 319.806);
--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.602 0.093 318.149);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.255 0.011 318.288);
--secondary-foreground: oklch(0.791 0.015 318.311);
--accent: oklch(0.255 0.011 318.288);
--accent-foreground: oklch(0.791 0.015 318.311);
--destructive: oklch(0.674 0.188 40.887);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.602 0.093 318.149);
--chart-1: oklch(0.602 0.093 318.149);
--chart-2: oklch(0.255 0.011 318.288);
--chart-3: oklch(0.255 0.011 318.288);
--chart-4: oklch(0.286 0.013 318.286);
--chart-5: oklch(0.599 0.104 318.113);
}