Neglected for shadcn/ui

Neglected is a shadcn/ui theme built around a pink primary color (#d93697) with muted pink accents (#c9b5c1). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the pink primary (#d93697) on a pink-tinted background (#0e060b).

Color palette

TokenLightDark
Background
#fdf7fasnow
#0e060bblack
Foreground
#16040fblack
#ffffffwhite
Card
#fbf3f8lavenderblush
#12080eblack
Card foreground
#11030cblack
#ffffffwhite
Popover
#fdf7fasnow
#0e060bblack
Popover foreground
#16040fblack
#ffffffwhite
Primary
#d93697mediumvioletred
#d93697mediumvioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d8cfd5lightgrey
#3c2a35darkslategray
Secondary foreground
#41353cdarkslategray
#d5c3cethistle
Muted
#ebe5e9lavender
#1a1418black
Muted foreground
#64545ddimgray
#ab9ba5darkgray
Accent
#c9b5c1silver
#5a354bdarkslategray
Accent foreground
#2c2027darkslategray
#e8d8e2gainsboro
Destructive
#da1701red
#e91801red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d93697mediumvioletred
#d93697mediumvioletred

Contrast

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

Light mode
Text on background18.77:1AAA
Text on card18.54:1AAA
Primary button4.27:1AA Large
Secondary button7.68:1AAA
Muted text5.70:1AA
Accent8.10:1AAA
Destructive5.11:1AA
Dark mode
Text on background19.98:1AAA
Text on card19.72:1AAA
Primary button4.27:1AA Large
Secondary button7.96:1AAA
Muted text6.88:1AA
Accent7.51:1AAA
Destructive4.55:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.007 340.401);
  --foreground: oklch(0.147 0.041 344.283);
  --muted: oklch(0.928 0.008 340.428);
  --muted-foreground: oklch(0.464 0.027 341.484);
  --popover: oklch(0.982 0.007 340.401);
  --popover-foreground: oklch(0.147 0.041 344.283);
  --card: oklch(0.973 0.011 340.488);
  --card-foreground: oklch(0.134 0.037 342.892);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.609 0.217 348.83);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.864 0.012 340.542);
  --secondary-foreground: oklch(0.343 0.02 341.526);
  --accent: oklch(0.794 0.029 341.031);
  --accent-foreground: oklch(0.262 0.023 342.102);
  --destructive: oklch(0.564 0.223 30.363);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.609 0.217 348.83);
  --chart-1: oklch(0.609 0.217 348.83);
  --chart-2: oklch(0.864 0.012 340.542);
  --chart-3: oklch(0.794 0.029 341.031);
  --chart-4: oklch(0.888 0.01 340.48);
  --chart-5: oklch(0.613 0.223 349.22);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.019 341.857);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.2 0.012 341.525);
  --muted-foreground: oklch(0.707 0.024 340.982);
  --popover: oklch(0.139 0.019 341.857);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.151 0.022 342.964);
  --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.609 0.217 348.83);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.31 0.033 342.482);
  --secondary-foreground: oklch(0.835 0.025 340.91);
  --accent: oklch(0.382 0.062 343.673);
  --accent-foreground: oklch(0.899 0.022 340.77);
  --destructive: oklch(0.593 0.235 30.309);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.609 0.217 348.83);
  --chart-1: oklch(0.609 0.217 348.83);
  --chart-2: oklch(0.31 0.033 342.482);
  --chart-3: oklch(0.382 0.062 343.673);
  --chart-4: oklch(0.339 0.037 342.546);
  --chart-5: oklch(0.613 0.223 349.22);
}