Mincemeat for shadcn/ui

Mincemeat is a shadcn/ui theme built around a red primary color (#b3515b) with muted light red accents (#e1d5d6). The light mode uses a neutral background (#fefbfb). Dark mode keeps the red primary (#b3515b) on a neutral background (#080203).

Color palette

TokenLightDark
Background
#fefbfbsnow
#080203black
Foreground
#090102black
#fbf9f9snow
Card
#fdf7f7snow
#0c0304black
Card foreground
#050101black
#fdfcfcsnow
Popover
#fefbfbsnow
#080203black
Popover foreground
#090102black
#fbf9f9snow
Primary
#b3515bindianred
#b3515bindianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e1d5d6gainsboro
#332e2fdarkslategray
Secondary foreground
#4e3739darkslategray
#ccc7c7silver
Muted
#f1e9ealinen
#160e0fblack
Muted foreground
#5c4d4edimgray
#b2a3a5darkgray
Accent
#e1d5d6gainsboro
#332e2fdarkslategray
Accent foreground
#4e3739darkslategray
#ccc7c7silver
Destructive
#e00700red
#ff170fred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b3515bindianred
#b3515bindianred

Contrast

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

Light mode
Text on background20.05:1AAA
Text on card19.57:1AAA
Primary button4.94:1AA
Secondary button7.63:1AAA
Muted text6.70:1AA
Accent7.63:1AAA
Destructive4.98:1AA
Dark mode
Text on background19.61:1AAA
Text on card19.88:1AAA
Primary button4.94:1AA
Secondary button7.99:1AAA
Muted text7.86:1AAA
Accent7.99:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 10.157);
  --foreground: oklch(0.098 0.028 12.698);
  --muted: oklch(0.941 0.009 10.285);
  --muted-foreground: oklch(0.435 0.02 11.153);
  --popover: oklch(0.99 0.003 10.157);
  --popover-foreground: oklch(0.098 0.028 12.698);
  --card: oklch(0.98 0.007 10.238);
  --card-foreground: oklch(0.078 0.022 12.698);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.561 0.127 15.944);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.884 0.013 10.425);
  --secondary-foreground: oklch(0.363 0.032 12.141);
  --accent: oklch(0.884 0.013 10.425);
  --accent-foreground: oklch(0.363 0.032 12.141);
  --destructive: oklch(0.572 0.232 29.538);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.561 0.127 15.944);
  --chart-1: oklch(0.561 0.127 15.944);
  --chart-2: oklch(0.884 0.013 10.425);
  --chart-3: oklch(0.884 0.013 10.425);
  --chart-4: oklch(0.909 0.011 10.34);
  --chart-5: oklch(0.561 0.136 16.52);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.104 0.019 11.609);
  --foreground: oklch(0.984 0.002 10.123);
  --muted: oklch(0.174 0.014 11.863);
  --muted-foreground: oklch(0.73 0.018 10.632);
  --popover: oklch(0.104 0.019 11.609);
  --popover-foreground: oklch(0.984 0.002 10.123);
  --card: oklch(0.119 0.022 11.741);
  --card-foreground: oklch(0.992 0.001 10.1);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.561 0.127 15.944);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.307 0.007 10.601);
  --secondary-foreground: oklch(0.833 0.006 10.242);
  --accent: oklch(0.307 0.007 10.601);
  --accent-foreground: oklch(0.833 0.006 10.242);
  --destructive: oklch(0.633 0.252 29.23);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.561 0.127 15.944);
  --chart-1: oklch(0.561 0.127 15.944);
  --chart-2: oklch(0.307 0.007 10.601);
  --chart-3: oklch(0.307 0.007 10.601);
  --chart-4: oklch(0.336 0.008 10.618);
  --chart-5: oklch(0.561 0.136 16.52);
}