Boulevard for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background18.58:1AAA
Text on card18.71:1AAA
Primary button11.10:1AAA
Secondary button5.62:1AA
Muted text5.22:1AA
Accent5.62:1AA
Destructive6.62:1AA
Dark mode
Text on background19.74:1AAA
Text on card19.30:1AAA
Primary button11.10:1AAA
Secondary button5.62:1AA
Muted text7.71:1AAA
Accent5.62:1AA
Destructive6.24:1AA

CSS variables

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);
}