Neglect for shadcn/ui

Neglect is a shadcn/ui theme built around a deep pink primary color (#331a26) with deep red accents (#331a1a). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep pink primary (#331a26) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0e0207black
#f9f6f7whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#0e0207black
#f9f6f7whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#0e0207black
#f9f6f7whitesmoke
Primary
#331a26darkslategray
#331a26darkslategray
Primary foreground
#d4aabfsilver
#d4aabfsilver
Secondary
#331a32darkslategray
#331a32darkslategray
Secondary foreground
#d4aad4plum
#d4aad4plum
Muted
#e8cee8gainsboro
#311730darkslategray
Muted foreground
#675f67dimgray
#a0989fdarkgray
Accent
#331a1ablack
#331a1ablack
Accent foreground
#d4abaatan
#d4abaatan
Destructive
#642207maroon
#df4b11chocolate
Destructive foreground
#f8bca5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#331a26darkslategray
#331a26darkslategray

Contrast

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

Light mode
Text on background20.37:1AAA
Text on card20.37:1AAA
Primary button7.84:1AAA
Secondary button7.88:1AAA
Muted text4.24:1AA Large
Accent7.83:1AAA
Destructive7.21:1AAA
Dark mode
Text on background19.55:1AAA
Text on card19.55:1AAA
Primary button7.84:1AAA
Secondary button7.88:1AAA
Muted text5.79:1AA
Accent7.83:1AAA
Destructive4.07:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.117 0.034 346.394);
  --muted: oklch(0.882 0.044 326.449);
  --muted-foreground: oklch(0.497 0.016 326.306);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.117 0.034 346.394);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.117 0.034 346.394);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.256 0.044 350.297);
  --primary-foreground: oklch(0.782 0.056 347.824);
  --secondary: oklch(0.262 0.057 327.64);
  --secondary-foreground: oklch(0.789 0.074 326.778);
  --accent: oklch(0.252 0.04 21.292);
  --accent-foreground: oklch(0.778 0.049 19.388);
  --destructive: oklch(0.348 0.102 39.44);
  --destructive-foreground: oklch(0.845 0.077 42.558);
  --ring: oklch(0.256 0.044 350.297);
  --chart-1: oklch(0.256 0.044 350.297);
  --chart-2: oklch(0.262 0.057 327.64);
  --chart-3: oklch(0.252 0.04 21.292);
  --chart-4: oklch(0.292 0.066 327.701);
  --chart-5: oklch(0.255 0.048 350.694);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.976 0.003 346.105);
  --muted: oklch(0.252 0.058 327.732);
  --muted-foreground: oklch(0.687 0.015 326.223);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.976 0.003 346.105);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.976 0.003 346.105);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.256 0.044 350.297);
  --primary-foreground: oklch(0.782 0.056 347.824);
  --secondary: oklch(0.262 0.057 327.64);
  --secondary-foreground: oklch(0.789 0.074 326.778);
  --accent: oklch(0.252 0.04 21.292);
  --accent-foreground: oklch(0.778 0.049 19.388);
  --destructive: oklch(0.613 0.193 38.057);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.256 0.044 350.297);
  --chart-1: oklch(0.256 0.044 350.297);
  --chart-2: oklch(0.262 0.057 327.64);
  --chart-3: oklch(0.252 0.04 21.292);
  --chart-4: oklch(0.292 0.066 327.701);
  --chart-5: oklch(0.255 0.048 350.694);
}