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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.77:1 | AAA |
| Text on card | 18.54:1 | AAA |
| Primary button | 4.27:1 | AA Large |
| Secondary button | 7.68:1 | AAA |
| Muted text | 5.70:1 | AA |
| Accent | 8.10:1 | AAA |
| Destructive | 5.11:1 | AA |
| Text on background | 19.98:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 4.27:1 | AA Large |
| Secondary button | 7.96:1 | AAA |
| Muted text | 6.88:1 | AA |
| Accent | 7.51:1 | AAA |
| Destructive | 4.55:1 | AA |
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);
}