Millennium for shadcn/ui

Millennium is a shadcn/ui theme built around a light pink primary color (#ddb1c9) with muted light pink accents (#d1c1ca). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the light pink primary (#ddb1c9) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7fasnow
#000000black
Foreground
#0e0208black
#fbf9fasnow
Card
#fbf3f8lavenderblush
#030303black
Card foreground
#090106black
#fdfcfdwhite
Popover
#fdf7fasnow
#000000black
Popover foreground
#0e0208black
#fbf9fasnow
Primary
#ddb1c9thistle
#ddb1c9thistle
Primary foreground
#401c30darkslategray
#401c30darkslategray
Secondary
#dbd6d9gainsboro
#2d2a2bdarkslategray
Secondary foreground
#443b40darkslategray
#c6c3c5silver
Muted
#e0d7dcgainsboro
#281f24black
Muted foreground
#4e4b4ddarkslategray
#b4b1b3darkgray
Accent
#d1c1cathistle
#463940darkslategray
Accent foreground
#382931darkslategray
#ddd5d9gainsboro
Destructive
#942700saddlebrown
#f04000orangered
Destructive foreground
#ffd6c7bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ddb1c9thistle
#ddb1c9thistle

Contrast

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

Light mode
Text on background19.27:1AAA
Text on card18.97:1AAA
Primary button7.85:1AAA
Secondary button7.53:1AAA
Muted text6.11:1AA
Accent8.00:1AAA
Destructive6.14:1AA
Dark mode
Text on background20.03:1AAA
Text on card20.20:1AAA
Primary button7.85:1AAA
Secondary button8.13:1AAA
Muted text7.50:1AAA
Accent7.56:1AAA
Destructive3.87:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.007 342.791);
  --foreground: oklch(0.118 0.036 343.35);
  --muted: oklch(0.887 0.011 342.928);
  --muted-foreground: oklch(0.416 0.005 342.903);
  --popover: oklch(0.982 0.007 342.791);
  --popover-foreground: oklch(0.118 0.036 343.35);
  --card: oklch(0.973 0.01 342.88);
  --card-foreground: oklch(0.102 0.031 342.568);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.807 0.06 344.344);
  --primary-foreground: oklch(0.285 0.062 347.611);
  --secondary: oklch(0.881 0.007 342.814);
  --secondary-foreground: oklch(0.364 0.015 343.584);
  --accent: oklch(0.828 0.022 343.246);
  --accent-foreground: oklch(0.302 0.025 344.57);
  --destructive: oklch(0.443 0.15 36.529);
  --destructive-foreground: oklch(0.907 0.051 40.983);
  --ring: oklch(0.807 0.06 344.344);
  --chart-1: oklch(0.807 0.06 344.344);
  --chart-2: oklch(0.881 0.007 342.814);
  --chart-3: oklch(0.828 0.022 343.246);
  --chart-4: oklch(0.905 0.006 342.77);
  --chart-5: oklch(0.805 0.064 344.476);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.984 0.003 342.687);
  --muted: oklch(0.253 0.016 344.066);
  --muted-foreground: oklch(0.763 0.004 342.752);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.984 0.003 342.687);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.001 342.652);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.807 0.06 344.344);
  --primary-foreground: oklch(0.285 0.062 347.611);
  --secondary: oklch(0.289 0.005 343.001);
  --secondary-foreground: oklch(0.819 0.005 342.759);
  --accent: oklch(0.362 0.021 343.996);
  --accent-foreground: oklch(0.88 0.01 342.898);
  --destructive: oklch(0.63 0.219 35.333);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.807 0.06 344.344);
  --chart-1: oklch(0.807 0.06 344.344);
  --chart-2: oklch(0.289 0.005 343.001);
  --chart-3: oklch(0.362 0.021 343.996);
  --chart-4: oklch(0.319 0.005 343.015);
  --chart-5: oklch(0.805 0.064 344.476);
}