Wordy for shadcn/ui

Wordy is a shadcn/ui theme built around a pink primary color (#d1a9b6) with blue accents (#a9b6d1). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#d1a9b6) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#16030ablack
#fdfcfcsnow
Card
#fcfcfcsnow
#030303black
Card foreground
#120308black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#120308black
#ffffffwhite
Primary
#d1a9b6silver
#d1a9b6silver
Primary foreground
#2e1920black
#2e1920black
Secondary
#b6d1a9silver
#b6d1a9silver
Secondary foreground
#202e19black
#202e19black
Muted
#e8f1e4beige
#121b0eblack
Muted foreground
#515d4cdarkolivegreen
#a8b3a2darkgray
Accent
#a9b6d1lightsteelblue
#a9b6d1lightsteelblue
Accent foreground
#19202eblack
#19202eblack
Destructive
#7e3207saddlebrown
#da570bchocolate
Destructive foreground
#fbd3bbpeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d1a9b6silver
#d1a9b6silver

Contrast

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

Light mode
Text on background19.97:1AAA
Text on card19.71:1AAA
Primary button7.86:1AAA
Secondary button8.62:1AAA
Muted text6.00:1AA
Accent7.99:1AAA
Destructive6.43:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.67:1AAA
Primary button7.86:1AAA
Secondary button8.62:1AAA
Muted text8.11:1AAA
Accent7.99:1AAA
Destructive3.92:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.144 0.04 358.439);
  --muted: oklch(0.948 0.019 134.927);
  --muted-foreground: oklch(0.462 0.03 135.165);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.131 0.036 356.405);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.131 0.036 356.405);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.774 0.05 356.367);
  --primary-foreground: oklch(0.245 0.036 358.607);
  --secondary: oklch(0.829 0.061 135.215);
  --secondary-foreground: oklch(0.283 0.042 135.717);
  --accent: oklch(0.775 0.041 264.303);
  --accent-foreground: oklch(0.244 0.029 263.797);
  --destructive: oklch(0.419 0.116 44.419);
  --destructive-foreground: oklch(0.895 0.056 51.787);
  --ring: oklch(0.774 0.05 356.367);
  --chart-1: oklch(0.774 0.05 356.367);
  --chart-2: oklch(0.829 0.061 135.215);
  --chart-3: oklch(0.775 0.041 264.303);
  --chart-4: oklch(0.849 0.054 135.157);
  --chart-5: oklch(0.772 0.055 356.549);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 354.616);
  --muted: oklch(0.208 0.027 135.575);
  --muted-foreground: oklch(0.754 0.027 135.006);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.774 0.05 356.367);
  --primary-foreground: oklch(0.245 0.036 358.607);
  --secondary: oklch(0.829 0.061 135.215);
  --secondary-foreground: oklch(0.283 0.042 135.717);
  --accent: oklch(0.775 0.041 264.303);
  --accent-foreground: oklch(0.244 0.029 263.797);
  --destructive: oklch(0.62 0.179 43.063);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.774 0.05 356.367);
  --chart-1: oklch(0.774 0.05 356.367);
  --chart-2: oklch(0.829 0.061 135.215);
  --chart-3: oklch(0.775 0.041 264.303);
  --chart-4: oklch(0.849 0.054 135.157);
  --chart-5: oklch(0.772 0.055 356.549);
}