Eva Light Bold for shadcn/ui

Eva Light Bold is a shadcn/ui theme built around a neutral gray primary color (#77797e) with light blue accents (#b8c2db). The light mode uses a blue-tinted background (#ebeef5). Dark mode keeps the neutral gray primary (#77797e) on a blue-tinted background (#ebeef5).

Color palette

TokenLightDark
Background
#ebeef5lavender
#ebeef5lavender
Foreground
#5d5d5fdimgray
#5d5d5fdimgray
Card
#e4e8f1lavender
#e4e8f1lavender
Card foreground
#515152darkslategray
#515152darkslategray
Popover
#e0e5f0lavender
#e0e5f0lavender
Popover foreground
#444446darkslategray
#444446darkslategray
Primary
#77797egray
#77797egray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#bfbfbfsilver
#bfbfbfsilver
Secondary foreground
#262626darkslategray
#262626darkslategray
Muted
#e2e4e9gainsboro
#e2e4e9gainsboro
Muted foreground
#434956darkslategray
#434956darkslategray
Accent
#b8c2dblightsteelblue
#b8c2dblightsteelblue
Accent foreground
#202a40darkslategray
#202a40darkslategray
Destructive
#6f1206maroon
#6f1206maroon
Destructive foreground
#fbb6adlightpink
#fbb6adlightpink
Border
#dce0e9gainsboro
#dce0e9gainsboro
Input
#d3d8e4gainsboro
#d3d8e4gainsboro
Ring
#77797egray
#77797egray

Contrast

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

Light mode
Text on background5.64:1AA
Text on card6.45:1AA
Primary button4.36:1AA Large
Secondary button8.25:1AAA
Muted text7.11:1AAA
Accent8.05:1AAA
Destructive6.99:1AA
Dark mode
Text on background5.64:1AA
Text on card6.45:1AA
Primary button4.36:1AA Large
Secondary button8.25:1AAA
Muted text7.11:1AAA
Accent8.05:1AAA
Destructive6.99:1AA

CSS variables

Paste this into your globals.css to use Eva Light Bold in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.948 0.01 267.357);
  --foreground: oklch(0.48 0.003 286.287);
  --muted: oklch(0.92 0.006 267.381);
  --muted-foreground: oklch(0.405 0.023 267.001);
  --popover: oklch(0.922 0.015 267.318);
  --popover-foreground: oklch(0.388 0.002 286.292);
  --card: oklch(0.93 0.013 267.332);
  --card-foreground: oklch(0.435 0.003 286.289);
  --border: oklch(0.907 0.013 267.333);
  --input: oklch(0.882 0.017 267.302);
  --primary: oklch(0.575 0.008 268.684);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.815 0.037 267.099);
  --accent-foreground: oklch(0.287 0.043 265.989);
  --destructive: oklch(0.353 0.129 31.185);
  --destructive-foreground: oklch(0.837 0.082 27.397);
  --ring: oklch(0.575 0.008 268.684);
  --chart-1: oklch(0.575 0.008 268.684);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.815 0.037 267.099);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.57 0.017 268.559);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.948 0.01 267.357);
  --foreground: oklch(0.48 0.003 286.287);
  --muted: oklch(0.92 0.006 267.381);
  --muted-foreground: oklch(0.405 0.023 267.001);
  --popover: oklch(0.922 0.015 267.318);
  --popover-foreground: oklch(0.388 0.002 286.292);
  --card: oklch(0.93 0.013 267.332);
  --card-foreground: oklch(0.435 0.003 286.289);
  --border: oklch(0.907 0.013 267.333);
  --input: oklch(0.882 0.017 267.302);
  --primary: oklch(0.575 0.008 268.684);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.815 0.037 267.099);
  --accent-foreground: oklch(0.287 0.043 265.989);
  --destructive: oklch(0.353 0.129 31.185);
  --destructive-foreground: oklch(0.837 0.082 27.397);
  --ring: oklch(0.575 0.008 268.684);
  --chart-1: oklch(0.575 0.008 268.684);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.815 0.037 267.099);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.57 0.017 268.559);
}