Parcel for shadcn/ui

Parcel is a shadcn/ui theme built around a light pink primary color (#eba8c0) with light red accents (#ebb1a8). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the light pink primary (#eba8c0) on a pink-tinted background (#0e0609).

Color palette

TokenLightDark
Background
#fdf7f9snow
#0e0609black
Foreground
#120308black
#fdfcfcsnow
Card
#fdf7f9snow
#0e0609black
Card foreground
#120308black
#fdfcfcsnow
Popover
#fdf7f9snow
#0e0609black
Popover foreground
#120308black
#fdfcfcsnow
Primary
#eba8c0lightpink
#eba8c0lightpink
Primary foreground
#4f1228maroon
#4f1228maroon
Secondary
#eba8e2plum
#eba8e2plum
Secondary foreground
#4f1247indigo
#4f1247indigo
Muted
#e9dde7gainsboro
#221620black
Muted foreground
#635f62dimgray
#a09ca0darkgray
Accent
#ebb1a8lightpink
#ebb1a8lightpink
Accent foreground
#4f1a12maroon
#4f1a12maroon
Destructive
#cf0602red
#fd3835tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eba8c0lightpink
#eba8c0lightpink

Contrast

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

Light mode
Text on background19.05:1AAA
Text on card19.05:1AAA
Primary button7.50:1AAA
Secondary button7.42:1AAA
Muted text4.77:1AA
Accent7.63:1AAA
Destructive5.70:1AA
Dark mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button7.50:1AAA
Secondary button7.42:1AAA
Muted text6.43:1AA
Accent7.63:1AAA
Destructive3.62:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 352.763);
  --foreground: oklch(0.131 0.034 354.386);
  --muted: oklch(0.91 0.018 329.922);
  --muted-foreground: oklch(0.49 0.007 329.863);
  --popover: oklch(0.981 0.006 352.763);
  --popover-foreground: oklch(0.131 0.034 354.386);
  --card: oklch(0.981 0.006 352.763);
  --card-foreground: oklch(0.131 0.034 354.386);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.802 0.085 355.455);
  --primary-foreground: oklch(0.294 0.093 2.464);
  --secondary: oklch(0.813 0.109 331.233);
  --secondary-foreground: oklch(0.309 0.112 333.863);
  --accent: oklch(0.811 0.07 28.622);
  --accent-foreground: oklch(0.3 0.082 31.119);
  --destructive: oklch(0.538 0.219 29.317);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.802 0.085 355.455);
  --chart-1: oklch(0.802 0.085 355.455);
  --chart-2: oklch(0.813 0.109 331.233);
  --chart-3: oklch(0.811 0.07 28.622);
  --chart-4: oklch(0.839 0.093 330.977);
  --chart-5: oklch(0.8 0.089 355.596);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.017 353.68);
  --foreground: oklch(0.992 0.001 352.604);
  --muted: oklch(0.221 0.025 331.013);
  --muted-foreground: oklch(0.698 0.007 329.799);
  --popover: oklch(0.138 0.017 353.68);
  --popover-foreground: oklch(0.992 0.001 352.604);
  --card: oklch(0.138 0.017 353.68);
  --card-foreground: oklch(0.992 0.001 352.604);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.802 0.085 355.455);
  --primary-foreground: oklch(0.294 0.093 2.464);
  --secondary: oklch(0.813 0.109 331.233);
  --secondary-foreground: oklch(0.309 0.112 333.863);
  --accent: oklch(0.811 0.07 28.622);
  --accent-foreground: oklch(0.3 0.082 31.119);
  --destructive: oklch(0.649 0.231 27.262);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.802 0.085 355.455);
  --chart-1: oklch(0.802 0.085 355.455);
  --chart-2: oklch(0.813 0.109 331.233);
  --chart-3: oklch(0.811 0.07 28.622);
  --chart-4: oklch(0.839 0.093 330.977);
  --chart-5: oklch(0.8 0.089 355.596);
}