Neglect for shadcn/ui

Neglect is a shadcn/ui theme built around a muted light teal primary color (#f6f9f7) with muted light orange accents (#f9f7f6). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted light teal primary (#f6f9f7) on a neutral background (#030705).

Color palette

TokenLightDark
Background
#fbfefdwhite
#030705black
Foreground
#000000black
#ffffffwhite
Card
#fbfefdwhite
#030705black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfefdwhite
#030705black
Popover foreground
#000000black
#ffffffwhite
Primary
#f6f9f7whitesmoke
#f6f9f7whitesmoke
Primary foreground
#21362cdarkslategray
#21362cdarkslategray
Secondary
#f7f6f9whitesmoke
#f7f6f9whitesmoke
Secondary foreground
#604875darkslateblue
#604875darkslateblue
Muted
#e1d9e8gainsboro
#1f1726black
Muted foreground
#5f5667dimgray
#a198a9darkgray
Accent
#f9f7f6whitesmoke
#f9f7f6whitesmoke
Accent foreground
#362c21darkslategray
#362c21darkslategray
Destructive
#891301darkred
#fe391borangered
Destructive foreground
#ffc6bdpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6f9f7whitesmoke
#f6f9f7whitesmoke

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.66:1AAA
Primary button12.17:1AAA
Secondary button7.26:1AAA
Muted text5.07:1AA
Accent12.81:1AAA
Destructive6.52:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.26:1AAA
Primary button12.17:1AAA
Secondary button7.26:1AAA
Muted text6.25:1AA
Accent12.81:1AAA
Destructive3.61:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 166.82);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.896 0.022 309.547);
  --muted-foreground: oklch(0.468 0.029 309.167);
  --popover: oklch(0.994 0.003 166.82);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 166.82);
  --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.979 0.004 166.782);
  --primary-foreground: oklch(0.311 0.032 163.685);
  --secondary: oklch(0.974 0.005 309.731);
  --secondary-foreground: oklch(0.445 0.078 308.003);
  --accent: oklch(0.978 0.003 71.423);
  --accent-foreground: oklch(0.301 0.024 70.466);
  --destructive: oklch(0.405 0.154 31.704);
  --destructive-foreground: oklch(0.874 0.067 28.515);
  --ring: oklch(0.979 0.004 166.782);
  --chart-1: oklch(0.979 0.004 166.782);
  --chart-2: oklch(0.974 0.005 309.731);
  --chart-3: oklch(0.978 0.003 71.423);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.98 0.005 166.767);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.01 167.037);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.222 0.03 308.423);
  --muted-foreground: oklch(0.693 0.027 309.407);
  --popover: oklch(0.121 0.01 167.037);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.121 0.01 167.037);
  --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.979 0.004 166.782);
  --primary-foreground: oklch(0.311 0.032 163.685);
  --secondary: oklch(0.974 0.005 309.731);
  --secondary-foreground: oklch(0.445 0.078 308.003);
  --accent: oklch(0.978 0.003 71.423);
  --accent-foreground: oklch(0.301 0.024 70.466);
  --destructive: oklch(0.649 0.235 31.546);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.979 0.004 166.782);
  --chart-1: oklch(0.979 0.004 166.782);
  --chart-2: oklch(0.974 0.005 309.731);
  --chart-3: oklch(0.978 0.003 71.423);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.98 0.005 166.767);
}