Boulevard is a shadcn/ui theme built around a vivid yellow primary color (#eff872) with vivid indigo accents (#7b72f8). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid yellow primary (#eff872) on a yellow-tinted background (#0b0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0b04black |
| Foreground | #131405black | #ffffffwhite |
| Card | #fcfcfcsnow | #0e0f06black |
| Card foreground | #101004black | #ffffffwhite |
| Popover | #ffffffwhite | #0b0b04black |
| Popover foreground | #131405black | #ffffffwhite |
| Primary | #eff872khaki | #eff872khaki |
| Primary foreground | #323503darkgreen | #323503darkgreen |
| Secondary | #7b72f8mediumslateblue | #7b72f8mediumslateblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #d1d0e7gainsboro | #19182fblack |
| Muted foreground | #515152darkslategray | #adadaedarkgray |
| Accent | #7b72f8mediumslateblue | #7b72f8mediumslateblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #a4390esaddlebrown | #ec5f27chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eff872khaki | #eff872khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.58:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 11.10:1 | AAA |
| Secondary button | 5.62:1 | AA |
| Muted text | 5.22:1 | AA |
| Accent | 5.62:1 | AA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.74:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 11.10:1 | AAA |
| Secondary button | 5.62:1 | AA |
| Muted text | 7.71:1 | AAA |
| Accent | 5.62:1 | AA |
| Destructive | 6.24:1 | AA |
Paste this into your globals.css to use Boulevard in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.187 0.029 112.106);
--muted: oklch(0.865 0.032 288.764);
--muted-foreground: oklch(0.435 0.003 289.364);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.187 0.029 112.106);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.169 0.026 111.834);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.945 0.156 112.496);
--primary-foreground: oklch(0.316 0.068 113.644);
--secondary: oklch(0.629 0.192 282.352);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.629 0.192 282.352);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.493 0.15 38.734);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.945 0.156 112.496);
--chart-1: oklch(0.945 0.156 112.496);
--chart-2: oklch(0.629 0.192 282.352);
--chart-3: oklch(0.629 0.192 282.352);
--chart-4: oklch(0.666 0.172 283.694);
--chart-5: oklch(0.951 0.16 112.56);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0.016 110.937);
--foreground: oklch(1 0 180);
--muted: oklch(0.224 0.045 285.167);
--muted-foreground: oklch(0.747 0.002 289.42);
--popover: oklch(0.146 0.016 110.937);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.163 0.019 111.33);
--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.945 0.156 112.496);
--primary-foreground: oklch(0.316 0.068 113.644);
--secondary: oklch(0.629 0.192 282.352);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.629 0.192 282.352);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.66 0.187 39.791);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.945 0.156 112.496);
--chart-1: oklch(0.945 0.156 112.496);
--chart-2: oklch(0.629 0.192 282.352);
--chart-3: oklch(0.629 0.192 282.352);
--chart-4: oklch(0.666 0.172 283.694);
--chart-5: oklch(0.951 0.16 112.56);
}