Silver Mistral Hummingbird for shadcn/ui

Silver Mistral Hummingbird is a shadcn/ui theme built around a neutral gray primary color (#b2b8b6) with muted light teal accents (#cddbd6). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#b2b8b6) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010403black
#f6f8f8whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#010403black
#f6f8f8whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#010403black
#f6f8f8whitesmoke
Primary
#b2b8b6silver
#b2b8b6silver
Primary foreground
#1b1d1cblack
#1b1d1cblack
Secondary
#e6eae9lavender
#2b312fdarkslategray
Secondary foreground
#495551darkslategray
#c3cbc8silver
Muted
#ebf5f1whitesmoke
#0a1411black
Muted foreground
#536a62dimgray
#95aca4darkgray
Accent
#cddbd6lightgrey
#374843darkslategray
Accent foreground
#31443edarkslategray
#d4dedagainsboro
Destructive
#c20a0afirebrick
#e40c0cred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9eceblavender
#232a27darkslategray
Input
#e9eceblavender
#232a27darkslategray
Ring
#b2b8b6silver
#b2b8b6silver

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button8.41:1AAA
Secondary button6.40:1AA
Muted text5.21:1AA
Accent7.22:1AAA
Destructive6.29:1AA
Dark mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button8.41:1AAA
Secondary button8.01:1AAA
Muted text7.76:1AAA
Accent7.02:1AAA
Destructive4.83:1AA

CSS variables

Paste this into your globals.css to use Silver Mistral Hummingbird in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.012 174.826);
  --muted: oklch(0.961 0.011 174.244);
  --muted-foreground: oklch(0.502 0.03 172.744);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.012 174.826);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.099 0.012 174.826);
  --border: oklch(0.941 0.004 174.456);
  --input: oklch(0.941 0.004 174.456);
  --primary: oklch(0.777 0.007 174.317);
  --primary-foreground: oklch(0.229 0.004 174.113);
  --secondary: oklch(0.934 0.004 174.454);
  --secondary-foreground: oklch(0.438 0.017 173.384);
  --accent: oklch(0.878 0.016 174.041);
  --accent-foreground: oklch(0.369 0.026 172.314);
  --destructive: oklch(0.514 0.207 28.776);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.777 0.007 174.317);
  --chart-1: oklch(0.777 0.007 174.317);
  --chart-2: oklch(0.934 0.004 174.454);
  --chart-3: oklch(0.878 0.016 174.041);
  --chart-4: oklch(0.956 0.003 174.501);
  --chart-5: oklch(0.781 0.012 174.115);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.002 174.525);
  --muted: oklch(0.181 0.016 171.656);
  --muted-foreground: oklch(0.725 0.027 173.439);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.002 174.525);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.978 0.002 174.525);
  --border: oklch(0.276 0.011 173.421);
  --input: oklch(0.276 0.011 173.421);
  --primary: oklch(0.777 0.007 174.317);
  --primary-foreground: oklch(0.229 0.004 174.113);
  --secondary: oklch(0.307 0.01 173.637);
  --secondary-foreground: oklch(0.835 0.009 174.259);
  --accent: oklch(0.386 0.023 172.708);
  --accent-foreground: oklch(0.891 0.012 174.204);
  --destructive: oklch(0.579 0.234 28.854);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.777 0.007 174.317);
  --chart-1: oklch(0.777 0.007 174.317);
  --chart-2: oklch(0.307 0.01 173.637);
  --chart-3: oklch(0.386 0.023 172.708);
  --chart-4: oklch(0.338 0.011 173.604);
  --chart-5: oklch(0.781 0.012 174.115);
}