Neat is a shadcn/ui theme built around a deep pink primary color (#11090d) with muted light pink accents (#e6d6de). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep pink primary (#11090d) on a pink-tinted background (#0e070a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e070ablack |
| Foreground | #050103black | #f8f6f7whitesmoke |
| Card | #ffffffwhite | #0e070ablack |
| Card foreground | #050103black | #f8f6f7whitesmoke |
| Popover | #ffffffwhite | #0e070ablack |
| Popover foreground | #050103black | #f8f6f7whitesmoke |
| Primary | #11090dblack | #11090dblack |
| Primary foreground | #c18ba6rosybrown | #c18ba6rosybrown |
| Secondary | #eee7eblinen | #34282edarkslategray |
| Secondary foreground | #614252dimgray | #cec0c7silver |
| Muted | #e7e4e5gainsboro | #1b1819black |
| Muted foreground | #625059dimgray | #af9da6darkgray |
| Accent | #e6d6degainsboro | #472e3bdarkslategray |
| Accent foreground | #553445darkslategray | #ddcbd4lightgrey |
| Destructive | #890e06darkred | #e6180ared |
| Destructive foreground | #fdc8c4pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #11090dblack | #11090dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.74:1 | AAA |
| Text on card | 20.74:1 | AAA |
| Primary button | 7.03:1 | AAA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 5.91:1 | AA |
| Accent | 7.64:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 18.56:1 | AAA |
| Text on card | 18.56:1 | AAA |
| Primary button | 7.03:1 | AAA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 6.87:1 | AA |
| Accent | 7.86:1 | AAA |
| Destructive | 4.66:1 | AA |
Paste this into your globals.css to use Neat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.081 0.024 344.864);
--muted: oklch(0.922 0.004 345.254);
--muted-foreground: oklch(0.454 0.027 346.652);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.081 0.024 344.864);
--card: oklch(1 0 180);
--card-foreground: oklch(0.081 0.024 344.864);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.152 0.016 347.529);
--primary-foreground: oklch(0.697 0.074 347.743);
--secondary: oklch(0.934 0.01 345.416);
--secondary-foreground: oklch(0.42 0.049 347.973);
--accent: oklch(0.891 0.02 345.733);
--accent-foreground: oklch(0.372 0.053 348.626);
--destructive: oklch(0.403 0.156 29.84);
--destructive-foreground: oklch(0.878 0.06 23.109);
--ring: oklch(0.152 0.016 347.529);
--chart-1: oklch(0.152 0.016 347.529);
--chart-2: oklch(0.934 0.01 345.416);
--chart-3: oklch(0.891 0.02 345.733);
--chart-4: oklch(0.959 0.006 345.309);
--chart-5: oklch(0.151 0.017 347.7);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.016 346.464);
--foreground: oklch(0.976 0.003 345.221);
--muted: oklch(0.213 0.006 345.82);
--muted-foreground: oklch(0.714 0.024 346.011);
--popover: oklch(0.139 0.016 346.464);
--popover-foreground: oklch(0.976 0.003 345.221);
--card: oklch(0.139 0.016 346.464);
--card-foreground: oklch(0.976 0.003 345.221);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.152 0.016 347.529);
--primary-foreground: oklch(0.697 0.074 347.743);
--secondary: oklch(0.292 0.02 346.881);
--secondary-foreground: oklch(0.821 0.019 345.742);
--accent: oklch(0.336 0.041 348.102);
--accent-foreground: oklch(0.858 0.024 345.848);
--destructive: oklch(0.587 0.232 29.754);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.152 0.016 347.529);
--chart-1: oklch(0.152 0.016 347.529);
--chart-2: oklch(0.292 0.02 346.881);
--chart-3: oklch(0.336 0.041 348.102);
--chart-4: oklch(0.322 0.023 346.941);
--chart-5: oklch(0.151 0.017 347.7);
}