Well-documented for shadcn/ui

Well-documented is a shadcn/ui theme built around a pink primary color (#a14a7b) with muted light pink accents (#dcc1d0). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the pink primary (#a14a7b) on a pink-tinted background (#0c0408).

Color palette

TokenLightDark
Background
#fdfcfdwhite
#0c0408black
Foreground
#000000black
#ffffffwhite
Card
#fcf8fasnow
#10050bblack
Card foreground
#000000black
#ffffffwhite
Popover
#fdfcfdwhite
#0c0408black
Popover foreground
#000000black
#ffffffwhite
Primary
#a14a7bindianred
#a14a7bindianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ede3e9linen
#31212adarkslategray
Secondary foreground
#5f3f51dimgray
#ceb6c3silver
Muted
#ebd6e2gainsboro
#291420black
Muted foreground
#614c58dimgray
#b39eaadarkgray
Accent
#dcc1d0thistle
#4d2d3fdarkslategray
Accent foreground
#452738darkslategray
#e1ccd8thistle
Destructive
#c01802firebrick
#fd4830tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a14a7bindianred
#a14a7bindianred

Contrast

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

Light mode
Text on background20.46:1AAA
Text on card19.94:1AAA
Primary button5.56:1AA
Secondary button7.25:1AAA
Muted text5.68:1AA
Accent7.86:1AAA
Destructive6.23:1AA
Dark mode
Text on background20.29:1AAA
Text on card20.05:1AAA
Primary button5.56:1AA
Secondary button8.06:1AAA
Muted text6.89:1AA
Accent7.81:1AAA
Destructive3.42:1AA Large

CSS variables

Paste this into your globals.css to use Well-documented in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 341.867);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.896 0.028 342.532);
  --muted-foreground: oklch(0.443 0.033 343.516);
  --popover: oklch(0.991 0.002 341.867);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.983 0.005 341.927);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.534 0.129 347.228);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.926 0.012 342.118);
  --secondary-foreground: oklch(0.411 0.051 344.606);
  --accent: oklch(0.838 0.037 342.828);
  --accent-foreground: oklch(0.316 0.052 345.454);
  --destructive: oklch(0.515 0.201 30.798);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.534 0.129 347.228);
  --chart-1: oklch(0.534 0.129 347.228);
  --chart-2: oklch(0.926 0.012 342.118);
  --chart-3: oklch(0.838 0.037 342.828);
  --chart-4: oklch(0.951 0.008 342.008);
  --chart-5: oklch(0.535 0.138 347.669);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.022 342.063);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.226 0.039 345.637);
  --muted-foreground: oklch(0.721 0.029 342.754);
  --popover: oklch(0.123 0.022 342.063);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.136 0.025 343.791);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.534 0.129 347.228);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.27 0.03 344.262);
  --secondary-foreground: oklch(0.8 0.034 342.785);
  --accent: oklch(0.344 0.054 345.285);
  --accent-foreground: oklch(0.865 0.029 342.579);
  --destructive: oklch(0.661 0.221 30.933);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.534 0.129 347.228);
  --chart-1: oklch(0.534 0.129 347.228);
  --chart-2: oklch(0.27 0.03 344.262);
  --chart-3: oklch(0.344 0.054 345.285);
  --chart-4: oklch(0.299 0.034 344.365);
  --chart-5: oklch(0.535 0.138 347.669);
}