Esteemed for shadcn/ui

Esteemed is a shadcn/ui theme built around a light blue primary color (#e4e8f1) with light green accents (#e8f1e4). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the light blue primary (#e4e8f1) on a blue-tinted background (#04060c).

Color palette

TokenLightDark
Background
#f7f8fdghostwhite
#04060cblack
Foreground
#03060cblack
#f8f9fcghostwhite
Card
#f2f5fcaliceblue
#05080fblack
Card foreground
#020408black
#fcfcfdwhite
Popover
#f2f5fcaliceblue
#05080fblack
Popover foreground
#020408black
#fcfcfdwhite
Primary
#e4e8f1lavender
#e4e8f1lavender
Primary foreground
#38466bdarkslategray
#38466bdarkslategray
Secondary
#f1e4e8linen
#f1e4e8linen
Secondary foreground
#6b3846darkolivegreen
#6b3846darkolivegreen
Muted
#e8e3e4gainsboro
#1c1718black
Muted foreground
#534b4ddarkslategray
#b4acaedarkgray
Accent
#e8f1e4beige
#e8f1e4beige
Accent foreground
#1a2815black
#1a2815black
Destructive
#95120edarkred
#e01c15crimson
Destructive foreground
#fcdbdamistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4e8f1lavender
#e4e8f1lavender

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card18.82:1AAA
Primary button7.56:1AAA
Secondary button7.47:1AAA
Muted text6.67:1AA
Accent13.33:1AAA
Destructive6.84:1AA
Dark mode
Text on background19.26:1AAA
Text on card19.55:1AAA
Primary button7.56:1AAA
Secondary button7.47:1AAA
Muted text7.96:1AAA
Accent13.33:1AAA
Destructive4.83:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.007 270.065);
  --foreground: oklch(0.12 0.018 262.625);
  --muted: oklch(0.92 0.005 358.946);
  --muted-foreground: oklch(0.422 0.011 359.52);
  --popover: oklch(0.97 0.01 270.035);
  --popover-foreground: oklch(0.104 0.015 262.385);
  --card: oklch(0.97 0.01 270.035);
  --card-foreground: oklch(0.104 0.015 262.385);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.93 0.013 270.002);
  --primary-foreground: oklch(0.399 0.065 268.146);
  --secondary: oklch(0.931 0.014 359.223);
  --secondary-foreground: oklch(0.41 0.073 3.759);
  --accent: oklch(0.947 0.019 137.238);
  --accent-foreground: oklch(0.258 0.039 137.661);
  --destructive: oklch(0.43 0.164 28.785);
  --destructive-foreground: oklch(0.918 0.037 20.192);
  --ring: oklch(0.93 0.013 270.002);
  --chart-1: oklch(0.93 0.013 270.002);
  --chart-2: oklch(0.931 0.014 359.223);
  --chart-3: oklch(0.947 0.019 137.238);
  --chart-4: oklch(0.957 0.009 359.049);
  --chart-5: oklch(0.929 0.014 269.99);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.016 263.555);
  --foreground: oklch(0.982 0.004 270.091);
  --muted: oklch(0.211 0.008 359.795);
  --muted-foreground: oklch(0.752 0.01 359.142);
  --popover: oklch(0.134 0.018 264.803);
  --popover-foreground: oklch(0.991 0.002 270.106);
  --card: oklch(0.134 0.018 264.803);
  --card-foreground: oklch(0.991 0.002 270.106);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.93 0.013 270.002);
  --primary-foreground: oklch(0.399 0.065 268.146);
  --secondary: oklch(0.931 0.014 359.223);
  --secondary-foreground: oklch(0.41 0.073 3.759);
  --accent: oklch(0.947 0.019 137.238);
  --accent-foreground: oklch(0.258 0.039 137.661);
  --destructive: oklch(0.578 0.225 29.001);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.93 0.013 270.002);
  --chart-1: oklch(0.93 0.013 270.002);
  --chart-2: oklch(0.931 0.014 359.223);
  --chart-3: oklch(0.947 0.019 137.238);
  --chart-4: oklch(0.957 0.009 359.049);
  --chart-5: oklch(0.929 0.014 269.99);
}