Principal Meadow Mist for shadcn/ui

Principal Meadow Mist is a shadcn/ui theme built around a muted light green primary color (#ccd6b8) with muted light violet accents (#c2b8d6). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the muted light green primary (#ccd6b8) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#000000black
Foreground
#090c04black
#fafbf9snow
Card
#fdfdfcwhite
#000000black
Card foreground
#090c04black
#fafbf9snow
Popover
#fdfdfcwhite
#000000black
Popover foreground
#090c04black
#fafbf9snow
Primary
#ccd6b8silver
#ccd6b8silver
Primary foreground
#323a22darkslategray
#323a22darkslategray
Secondary
#c2b8d6lightsteelblue
#c2b8d6lightsteelblue
Secondary foreground
#2a223adarkslategray
#2a223adarkslategray
Muted
#f1eef7whitesmoke
#0b0811black
Muted foreground
#5a506ddimgray
#9c92afdarkgray
Accent
#c2b8d6lightsteelblue
#c2b8d6lightsteelblue
Accent foreground
#2a223adarkslategray
#2a223adarkslategray
Destructive
#6e260csaddlebrown
#e9683atomato
Destructive foreground
#f7c7b6peachpuff
#000000black
Border
#ebebealinen
#1a1b18black
Input
#ebebealinen
#1a1b18black
Ring
#ccd6b8silver
#ccd6b8silver

Contrast

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

Light mode
Text on background19.37:1AAA
Text on card19.37:1AAA
Primary button7.86:1AAA
Secondary button7.99:1AAA
Muted text6.50:1AA
Accent7.99:1AAA
Destructive7.06:1AAA
Dark mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button7.86:1AAA
Secondary button7.99:1AAA
Muted text6.75:1AA
Accent7.99:1AAA
Destructive6.52:1AA

CSS variables

Paste this into your globals.css to use Principal Meadow Mist in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 121.528);
  --foreground: oklch(0.146 0.021 121.42);
  --muted: oklch(0.953 0.013 301.274);
  --muted-foreground: oklch(0.452 0.047 299.8);
  --popover: oklch(0.994 0.002 121.528);
  --popover-foreground: oklch(0.146 0.021 121.42);
  --card: oklch(0.994 0.002 121.528);
  --card-foreground: oklch(0.146 0.021 121.42);
  --border: oklch(0.94 0.002 121.531);
  --input: oklch(0.94 0.002 121.531);
  --primary: oklch(0.86 0.042 122.293);
  --primary-foreground: oklch(0.335 0.042 123.674);
  --secondary: oklch(0.8 0.044 300.613);
  --secondary-foreground: oklch(0.272 0.046 298.628);
  --accent: oklch(0.8 0.044 300.613);
  --accent-foreground: oklch(0.272 0.046 298.628);
  --destructive: oklch(0.374 0.108 38.662);
  --destructive-foreground: oklch(0.867 0.06 40.937);
  --ring: oklch(0.86 0.042 122.293);
  --chart-1: oklch(0.86 0.042 122.293);
  --chart-2: oklch(0.8 0.044 300.613);
  --chart-3: oklch(0.8 0.044 300.613);
  --chart-4: oklch(0.828 0.037 300.766);
  --chart-5: oklch(0.864 0.047 122.378);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.002 121.534);
  --muted: oklch(0.144 0.021 299.49);
  --muted-foreground: oklch(0.679 0.042 300.484);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.987 0.002 121.534);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.987 0.002 121.534);
  --border: oklch(0.218 0.004 121.791);
  --input: oklch(0.218 0.004 121.791);
  --primary: oklch(0.86 0.042 122.293);
  --primary-foreground: oklch(0.335 0.042 123.674);
  --secondary: oklch(0.8 0.044 300.613);
  --secondary-foreground: oklch(0.272 0.046 298.628);
  --accent: oklch(0.8 0.044 300.613);
  --accent-foreground: oklch(0.272 0.046 298.628);
  --destructive: oklch(0.669 0.171 39.632);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.86 0.042 122.293);
  --chart-1: oklch(0.86 0.042 122.293);
  --chart-2: oklch(0.8 0.044 300.613);
  --chart-3: oklch(0.8 0.044 300.613);
  --chart-4: oklch(0.828 0.037 300.766);
  --chart-5: oklch(0.864 0.047 122.378);
}