P. \ Mist for shadcn/ui

P. \ Mist is a shadcn/ui theme built around a muted light orange primary color (#d3bbb1) with muted teal accents (#5e6e6e). The light mode uses a teal-tinted background (#3b4545). Dark mode keeps the muted light orange primary (#d3bbb1) on a teal-tinted background (#3b4545).

Color palette

TokenLightDark
Background
#3b4545darkslategray
#3b4545darkslategray
Foreground
#ffe3ccbisque
#ffe3ccbisque
Card
#363f3fdarkslategray
#363f3fdarkslategray
Card foreground
#fff1e6oldlace
#fff1e6oldlace
Popover
#343d3ddarkslategray
#343d3ddarkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#d3bbb1silver
#d3bbb1silver
Primary foreground
#34241ddarkslategray
#34241ddarkslategray
Secondary
#4b3b34darkslategray
#4b3b34darkslategray
Secondary foreground
#e0d6d2gainsboro
#e0d6d2gainsboro
Muted
#415353darkslategray
#415353darkslategray
Muted foreground
#c3d0d0lightgrey
#c3d0d0lightgrey
Accent
#5e6e6edimgray
#5e6e6edimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#ec1313red
#ec1313red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#4d4d4ddarkslategray
#4d4d4ddarkslategray
Input
#545454dimgray
#545454dimgray
Ring
#d3bbb1silver
#d3bbb1silver

Contrast

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

Light mode
Text on background8.08:1AAA
Text on card9.74:1AAA
Primary button8.12:1AAA
Secondary button7.43:1AAA
Muted text5.13:1AA
Accent5.33:1AA
Destructive4.50:1AA
Dark mode
Text on background8.08:1AAA
Text on card9.74:1AAA
Primary button8.12:1AAA
Secondary button7.43:1AAA
Muted text5.13:1AA
Accent5.33:1AA
Destructive4.50:1AA

CSS variables

Paste this into your globals.css to use P. \ Mist in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.381 0.013 196.606);
  --foreground: oklch(0.933 0.043 61.548);
  --muted: oklch(0.427 0.022 196.354);
  --muted-foreground: oklch(0.847 0.014 196.893);
  --popover: oklch(0.35 0.012 196.618);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.36 0.012 196.614);
  --card-foreground: oklch(0.966 0.022 61.895);
  --border: oklch(0.418 0 173.29);
  --input: oklch(0.446 0 180);
  --primary: oklch(0.809 0.031 44.633);
  --primary-foreground: oklch(0.278 0.027 44.221);
  --secondary: oklch(0.368 0.026 44.412);
  --secondary-foreground: oklch(0.883 0.012 44.845);
  --accent: oklch(0.525 0.02 196.57);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.597 0.238 28.618);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.809 0.031 44.633);
  --chart-1: oklch(0.809 0.031 44.633);
  --chart-2: oklch(0.368 0.026 44.412);
  --chart-3: oklch(0.525 0.02 196.57);
  --chart-4: oklch(0.397 0.028 44.402);
  --chart-5: oklch(0.809 0.034 44.601);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.381 0.013 196.606);
  --foreground: oklch(0.933 0.043 61.548);
  --muted: oklch(0.427 0.022 196.354);
  --muted-foreground: oklch(0.847 0.014 196.893);
  --popover: oklch(0.35 0.012 196.618);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.36 0.012 196.614);
  --card-foreground: oklch(0.966 0.022 61.895);
  --border: oklch(0.418 0 173.29);
  --input: oklch(0.446 0 180);
  --primary: oklch(0.809 0.031 44.633);
  --primary-foreground: oklch(0.278 0.027 44.221);
  --secondary: oklch(0.368 0.026 44.412);
  --secondary-foreground: oklch(0.883 0.012 44.845);
  --accent: oklch(0.525 0.02 196.57);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.597 0.238 28.618);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.809 0.031 44.633);
  --chart-1: oklch(0.809 0.031 44.633);
  --chart-2: oklch(0.368 0.026 44.412);
  --chart-3: oklch(0.525 0.02 196.57);
  --chart-4: oklch(0.397 0.028 44.402);
  --chart-5: oklch(0.809 0.034 44.601);
}