Neglected is a shadcn/ui theme built around a muted violet primary color (#9276a2) with muted green accents (#86a276). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the muted violet primary (#9276a2) on a violet-tinted background (#09030c).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #09030cblack |
| Foreground | #060209black | #f8f6f9whitesmoke |
| Card | #fdfbfewhite | #09030cblack |
| Card foreground | #060209black | #f8f6f9whitesmoke |
| Popover | #fdfbfewhite | #09030cblack |
| Popover foreground | #060209black | #f8f6f9whitesmoke |
| Primary | #9276a2lightslategray | #9276a2lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #86a276gray | #86a276gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #eaeee7linen | #131811black |
| Muted foreground | #3e4639darkslategray | #bec6b9silver |
| Accent | #86a276gray | #86a276gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #7e0a01maroon | #f71302red |
| Destructive foreground | #feb8b3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9276a2lightslategray | #9276a2lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 5.35:1 | AA |
| Secondary button | 7.45:1 | AAA |
| Muted text | 8.35:1 | AAA |
| Accent | 7.45:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 18.95:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 5.35:1 | AA |
| Secondary button | 7.45:1 | AAA |
| Muted text | 10.26:1 | AAA |
| Accent | 7.45:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Neglected in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 313.585);
--foreground: oklch(0.101 0.029 316.028);
--muted: oklch(0.944 0.01 133.674);
--muted-foreground: oklch(0.383 0.024 134.007);
--popover: oklch(0.991 0.003 313.585);
--popover-foreground: oklch(0.101 0.029 316.028);
--card: oklch(0.991 0.003 313.585);
--card-foreground: oklch(0.101 0.029 316.028);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.609 0.072 312.875);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.68 0.069 134.302);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.68 0.069 134.302);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.378 0.148 30.305);
--destructive-foreground: oklch(0.847 0.082 23.547);
--ring: oklch(0.609 0.072 312.875);
--chart-1: oklch(0.609 0.072 312.875);
--chart-2: oklch(0.68 0.069 134.302);
--chart-3: oklch(0.68 0.069 134.302);
--chart-4: oklch(0.702 0.064 134.224);
--chart-5: oklch(0.605 0.083 312.747);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.027 315.238);
--foreground: oklch(0.975 0.005 313.574);
--muted: oklch(0.201 0.015 134.099);
--muted-foreground: oklch(0.815 0.02 133.758);
--popover: oklch(0.119 0.027 315.238);
--popover-foreground: oklch(0.975 0.005 313.574);
--card: oklch(0.119 0.027 315.238);
--card-foreground: oklch(0.975 0.005 313.574);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.609 0.072 312.875);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.68 0.069 134.302);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.68 0.069 134.302);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.618 0.248 29.779);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.609 0.072 312.875);
--chart-1: oklch(0.609 0.072 312.875);
--chart-2: oklch(0.68 0.069 134.302);
--chart-3: oklch(0.68 0.069 134.302);
--chart-4: oklch(0.702 0.064 134.224);
--chart-5: oklch(0.605 0.083 312.747);
}