Evaluation for shadcn/ui

Evaluation is a shadcn/ui theme built around a muted indigo primary color (#636597) with muted green accents (#659763). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the muted indigo primary (#636597) on a neutral background (#030307).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#030307black
Foreground
#04040bblack
#f9f9fbghostwhite
Card
#f8f8fcghostwhite
#030307black
Card foreground
#04040bblack
#f9f9fbghostwhite
Popover
#f8f8fcghostwhite
#030307black
Popover foreground
#04040bblack
#f9f9fbghostwhite
Primary
#636597slategray
#636597slategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#976365gray
#976365gray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f4f0f1whitesmoke
#0f0b0bblack
Muted foreground
#4c3e3fdarkslategray
#c1b3b4silver
Accent
#659763gray
#659763gray
Accent foreground
#000000black
#000000black
Destructive
#640907maroon
#ee2420crimson
Destructive foreground
#f8a6a5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#636597slategray
#636597slategray

Contrast

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

Light mode
Text on background19.28:1AAA
Text on card19.28:1AAA
Primary button5.45:1AA
Secondary button4.90:1AA
Muted text9.00:1AAA
Accent6.17:1AA
Destructive6.95:1AA
Dark mode
Text on background19.58:1AAA
Text on card19.58:1AAA
Primary button5.45:1AA
Secondary button4.90:1AA
Muted text9.67:1AAA
Accent6.17:1AA
Destructive4.27:1AA Large

CSS variables

Paste this into your globals.css to use Evaluation in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.005 283.876);
  --foreground: oklch(0.113 0.02 279.411);
  --muted: oklch(0.959 0.004 13.687);
  --muted-foreground: oklch(0.378 0.019 14.636);
  --popover: oklch(0.98 0.005 283.876);
  --popover-foreground: oklch(0.113 0.02 279.411);
  --card: oklch(0.98 0.005 283.876);
  --card-foreground: oklch(0.113 0.02 279.411);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.527 0.078 281.036);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.556 0.068 16.231);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.628 0.094 143.209);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.322 0.123 28.279);
  --destructive-foreground: oklch(0.806 0.097 20.504);
  --ring: oklch(0.527 0.078 281.036);
  --chart-1: oklch(0.527 0.078 281.036);
  --chart-2: oklch(0.556 0.068 16.231);
  --chart-3: oklch(0.628 0.094 143.209);
  --chart-4: oklch(0.582 0.066 16.008);
  --chart-5: oklch(0.518 0.09 280.484);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.101 0.016 279.936);
  --foreground: oklch(0.982 0.003 283.91);
  --muted: oklch(0.154 0.006 14.418);
  --muted-foreground: oklch(0.779 0.016 14.011);
  --popover: oklch(0.101 0.016 279.936);
  --popover-foreground: oklch(0.982 0.003 283.91);
  --card: oklch(0.101 0.016 279.936);
  --card-foreground: oklch(0.982 0.003 283.91);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.527 0.078 281.036);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.556 0.068 16.231);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.628 0.094 143.209);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.608 0.233 28.299);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.527 0.078 281.036);
  --chart-1: oklch(0.527 0.078 281.036);
  --chart-2: oklch(0.556 0.068 16.231);
  --chart-3: oklch(0.628 0.094 143.209);
  --chart-4: oklch(0.582 0.066 16.008);
  --chart-5: oklch(0.518 0.09 280.484);
}