Neglected is a shadcn/ui theme built around a vivid light red primary color (#f9c8ce) with vivid light blue accents (#c8cef9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light red primary (#f9c8ce) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0c0304black | #fcf8f8snow |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #080203black | #fdfbfcsnow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0c0304black | #fcf8f8snow |
| Primary | #f9c8cepink | #f9c8cepink |
| Primary foreground | #810e1cmaroon | #810e1cmaroon |
| Secondary | #cef9c8gainsboro | #cef9c8gainsboro |
| Secondary foreground | #082504black | #082504black |
| Muted | #dbedd9gainsboro | #152612black |
| Muted foreground | #596c56dimgray | #96a993darkseagreen |
| Accent | #c8cef9lightblue | #c8cef9lightblue |
| Accent foreground | #0e1c81midnightblue | #0e1c81midnightblue |
| Destructive | #b1320bfirebrick | #f3693ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f9c8cepink | #f9c8cepink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 7.03:1 | AAA |
| Secondary button | 14.08:1 | AAA |
| Muted text | 4.62:1 | AA |
| Accent | 9.06:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 7.03:1 | AAA |
| Secondary button | 14.08:1 | AAA |
| Muted text | 6.38:1 | AA |
| Accent | 9.06:1 | AAA |
| Destructive | 6.90:1 | AA |
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.119 0.021 10.283);
--muted: oklch(0.927 0.032 141.994);
--muted-foreground: oklch(0.508 0.04 141.839);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.119 0.021 10.283);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.104 0.018 10.145);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.877 0.056 10.421);
--primary-foreground: oklch(0.387 0.146 22.757);
--secondary: oklch(0.939 0.079 141.822);
--secondary-foreground: oklch(0.233 0.067 140.894);
--accent: oklch(0.86 0.06 279.139);
--accent-foreground: oklch(0.306 0.165 267.22);
--destructive: oklch(0.508 0.17 35.412);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.056 10.421);
--chart-1: oklch(0.877 0.056 10.421);
--chart-2: oklch(0.939 0.079 141.822);
--chart-3: oklch(0.86 0.06 279.139);
--chart-4: oklch(0.953 0.059 141.898);
--chart-5: oklch(0.876 0.058 10.482);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.004 9.011);
--muted: oklch(0.246 0.043 141.537);
--muted-foreground: oklch(0.713 0.037 141.933);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.982 0.004 9.011);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 8.96);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.877 0.056 10.421);
--primary-foreground: oklch(0.387 0.146 22.757);
--secondary: oklch(0.939 0.079 141.822);
--secondary-foreground: oklch(0.233 0.067 140.894);
--accent: oklch(0.86 0.06 279.139);
--accent-foreground: oklch(0.306 0.165 267.22);
--destructive: oklch(0.685 0.179 37.351);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.877 0.056 10.421);
--chart-1: oklch(0.877 0.056 10.421);
--chart-2: oklch(0.939 0.079 141.822);
--chart-3: oklch(0.86 0.06 279.139);
--chart-4: oklch(0.953 0.059 141.898);
--chart-5: oklch(0.876 0.058 10.482);
}