Well-documented for shadcn/ui

Well-documented is a shadcn/ui theme built around a muted green primary color (#596841) with muted light green accents (#d0d4c9). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the muted green primary (#596841) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#000000black
Foreground
#030501black
#fafbf9snow
Card
#fafcf8snow
#030303black
Card foreground
#000000black
#fdfdfcwhite
Popover
#fafcf8snow
#030303black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#596841darkolivegreen
#596841darkolivegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d0d4c9lightgrey
#262626darkslategray
Secondary foreground
#373c2fdarkslategray
#bfbfbfsilver
Muted
#e1ebd1gainsboro
#2e1414black
Muted foreground
#4f5544darkolivegreen
#bbaaaadarkgray
Accent
#d0d4c9lightgrey
#262626darkslategray
Accent foreground
#373c2fdarkslategray
#bfbfbfsilver
Destructive
#af130dfirebrick
#ef352ecrimson
Destructive foreground
#fef1f1lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#596841darkolivegreen
#596841darkolivegreen

Contrast

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

Light mode
Text on background20.13:1AAA
Text on card20.31:1AAA
Primary button6.06:1AA
Secondary button7.55:1AAA
Muted text6.27:1AA
Accent7.55:1AAA
Destructive6.50:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.31:1AAA
Primary button6.06:1AA
Secondary button8.20:1AAA
Muted text7.69:1AAA
Accent8.20:1AAA
Destructive4.01: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.994 0.002 122.965);
  --foreground: oklch(0.105 0.021 122.227);
  --muted: oklch(0.926 0.037 123.54);
  --muted-foreground: oklch(0.438 0.028 123.921);
  --popover: oklch(0.988 0.005 123.002);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.005 123.002);
  --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.493 0.061 124.947);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.864 0.016 123.22);
  --secondary-foreground: oklch(0.347 0.023 123.943);
  --accent: oklch(0.864 0.016 123.22);
  --accent-foreground: oklch(0.347 0.023 123.943);
  --destructive: oklch(0.481 0.188 29.022);
  --destructive-foreground: oklch(0.969 0.014 19.807);
  --ring: oklch(0.493 0.061 124.947);
  --chart-1: oklch(0.493 0.061 124.947);
  --chart-2: oklch(0.864 0.016 123.22);
  --chart-3: oklch(0.864 0.016 123.22);
  --chart-4: oklch(0.886 0.014 123.167);
  --chart-5: oklch(0.499 0.068 125.191);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.003 122.97);
  --muted: oklch(0.23 0.043 20.998);
  --muted-foreground: oklch(0.753 0.02 17.594);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.993 0.001 122.949);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 122.949);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.493 0.061 124.947);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.27 0 180);
  --secondary-foreground: oklch(0.805 0 169.695);
  --accent: oklch(0.27 0 180);
  --accent-foreground: oklch(0.805 0 169.695);
  --destructive: oklch(0.622 0.222 27.956);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.493 0.061 124.947);
  --chart-1: oklch(0.493 0.061 124.947);
  --chart-2: oklch(0.27 0 180);
  --chart-3: oklch(0.27 0 180);
  --chart-4: oklch(0.301 0 189.462);
  --chart-5: oklch(0.499 0.068 125.191);
}