Musty for shadcn/ui

Musty is a shadcn/ui theme built around a light pink primary color (#eea5d2) with muted pink accents (#c2aeba). The light mode uses a neutral background (#ffffff). Dark mode keeps the light pink primary (#eea5d2) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#ffffffwhite
#040103black
Foreground
#080206black
#fbf9fasnow
Card
#fcfcfcsnow
#080206black
Card foreground
#040103black
#fdfcfdwhite
Popover
#ffffffwhite
#040103black
Popover foreground
#080206black
#fbf9fasnow
Primary
#eea5d2plum
#eea5d2plum
Primary foreground
#511038maroon
#511038maroon
Secondary
#d0c8cdlightgrey
#242424darkslategray
Secondary foreground
#372f34darkslategray
#bdbdbdsilver
Muted
#e6d1degainsboro
#2e1919black
Muted foreground
#50494ddarkslategray
#b6afafdarkgray
Accent
#c2aebasilver
#363030darkslategray
Accent foreground
#231a20black
#cfc9c9lightgrey
Destructive
#ca4b07chocolate
#f87935coral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eea5d2plum
#eea5d2plum

Contrast

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

Light mode
Text on background20.55:1AAA
Text on card20.32:1AAA
Primary button7.39:1AAA
Secondary button7.92:1AAA
Muted text6.03:1AA
Accent8.07:1AAA
Destructive4.64:1AA
Dark mode
Text on background19.81:1AAA
Text on card20.06:1AAA
Primary button7.39:1AAA
Secondary button8.29:1AAA
Muted text7.66:1AAA
Accent7.92:1AAA
Destructive7.78:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.107 0.021 339.667);
  --muted: oklch(0.881 0.029 340.193);
  --muted-foreground: oklch(0.413 0.013 340.135);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.107 0.021 339.667);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.085 0.016 339.667);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.805 0.103 342.101);
  --primary-foreground: oklch(0.303 0.106 347.532);
  --secondary: oklch(0.841 0.011 339.765);
  --secondary-foreground: oklch(0.316 0.015 340.457);
  --accent: oklch(0.77 0.028 340.266);
  --accent-foreground: oklch(0.232 0.017 340.975);
  --destructive: oklch(0.579 0.173 41.466);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.805 0.103 342.101);
  --chart-1: oklch(0.805 0.103 342.101);
  --chart-2: oklch(0.841 0.011 339.765);
  --chart-3: oklch(0.77 0.028 340.266);
  --chart-4: oklch(0.865 0.01 339.712);
  --chart-5: oklch(0.804 0.107 342.215);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.017 339.679);
  --foreground: oklch(0.983 0.004 339.548);
  --muted: oklch(0.243 0.035 19.884);
  --muted-foreground: oklch(0.759 0.009 17.349);
  --popover: oklch(0.085 0.017 339.679);
  --popover-foreground: oklch(0.983 0.004 339.548);
  --card: oklch(0.107 0.022 339.679);
  --card-foreground: oklch(0.992 0.002 339.508);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.805 0.103 342.101);
  --primary-foreground: oklch(0.303 0.106 347.532);
  --secondary: oklch(0.259 0 167.471);
  --secondary-foreground: oklch(0.797 0 180);
  --accent: oklch(0.315 0.009 17.63);
  --accent-foreground: oklch(0.841 0.007 17.292);
  --destructive: oklch(0.714 0.174 45.784);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.805 0.103 342.101);
  --chart-1: oklch(0.805 0.103 342.101);
  --chart-2: oklch(0.259 0 167.471);
  --chart-3: oklch(0.315 0.009 17.63);
  --chart-4: oklch(0.29 0 180);
  --chart-5: oklch(0.804 0.107 342.215);
}