Neglected for shadcn/ui

Neglected is a shadcn/ui theme built around a light blue primary color (#b0c1de) with light indigo accents (#b6b0de). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#b0c1de) on a blue-tinted background (#050910).

Color palette

TokenLightDark
Background
#ffffffwhite
#050910black
Foreground
#040910black
#f8f9fcghostwhite
Card
#fcfcfcsnow
#060b14black
Card foreground
#03060cblack
#fbfcfdwhite
Popover
#fcfcfcsnow
#060b14black
Popover foreground
#03060cblack
#fbfcfdwhite
Primary
#b0c1delightsteelblue
#b0c1delightsteelblue
Primary foreground
#1b2941darkslategray
#1b2941darkslategray
Secondary
#b0d8delightblue
#b0d8delightblue
Secondary foreground
#1b3c41darkslategray
#1b3c41darkslategray
Muted
#dde3e3gainsboro
#1c2122black
Muted foreground
#3c4748darkslategray
#b7c1c3silver
Accent
#b6b0delightsteelblue
#b6b0delightsteelblue
Accent foreground
#201b41midnightblue
#201b41midnightblue
Destructive
#b91604firebrick
#fb4632tomato
Destructive foreground
#fff1f0seashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b0c1delightsteelblue
#b0c1delightsteelblue

Contrast

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

Light mode
Text on background19.96:1AAA
Text on card19.84:1AAA
Primary button7.98:1AAA
Secondary button7.74:1AAA
Muted text7.38:1AAA
Accent7.91:1AAA
Destructive6.01:1AA
Dark mode
Text on background18.97:1AAA
Text on card19.20:1AAA
Primary button7.98:1AAA
Secondary button7.74:1AAA
Muted text8.88:1AAA
Accent7.91:1AAA
Destructive3.48:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.136 0.019 255.689);
  --muted: oklch(0.911 0.006 207.906);
  --muted-foreground: oklch(0.388 0.014 207.837);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.123 0.016 253.498);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.123 0.016 253.498);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.807 0.045 261.403);
  --primary-foreground: oklch(0.28 0.048 260.867);
  --secondary: oklch(0.855 0.043 207.844);
  --secondary-foreground: oklch(0.333 0.039 208.518);
  --accent: oklch(0.778 0.065 290.911);
  --accent-foreground: oklch(0.251 0.069 286.426);
  --destructive: oklch(0.501 0.195 30.468);
  --destructive-foreground: oklch(0.97 0.014 25.116);
  --ring: oklch(0.807 0.045 261.403);
  --chart-1: oklch(0.807 0.045 261.403);
  --chart-2: oklch(0.855 0.043 207.844);
  --chart-3: oklch(0.778 0.065 290.911);
  --chart-4: oklch(0.875 0.037 207.836);
  --chart-5: oklch(0.805 0.049 261.388);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.018 256.082);
  --foreground: oklch(0.983 0.004 261.513);
  --muted: oklch(0.242 0.008 207.839);
  --muted-foreground: oklch(0.804 0.012 207.877);
  --popover: oklch(0.148 0.022 258.555);
  --popover-foreground: oklch(0.991 0.002 261.514);
  --card: oklch(0.148 0.022 258.555);
  --card-foreground: oklch(0.991 0.002 261.514);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.807 0.045 261.403);
  --primary-foreground: oklch(0.28 0.048 260.867);
  --secondary: oklch(0.855 0.043 207.844);
  --secondary-foreground: oklch(0.333 0.039 208.518);
  --accent: oklch(0.778 0.065 290.911);
  --accent-foreground: oklch(0.251 0.069 286.426);
  --destructive: oklch(0.657 0.22 30.214);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.807 0.045 261.403);
  --chart-1: oklch(0.807 0.045 261.403);
  --chart-2: oklch(0.855 0.043 207.844);
  --chart-3: oklch(0.778 0.065 290.911);
  --chart-4: oklch(0.875 0.037 207.836);
  --chart-5: oklch(0.805 0.049 261.388);
}