Neonate is a shadcn/ui theme built around a muted deep teal primary color (#121715) with muted deep cyan accents (#121617). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted deep teal primary (#121715) on a neutral background (#030806).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #030806black |
| Foreground | #000000black | #f6f9f8whitesmoke |
| Card | #fbfefdwhite | #030806black |
| Card foreground | #000000black | #f6f9f8whitesmoke |
| Popover | #fbfefdwhite | #030806black |
| Popover foreground | #000000black | #f6f9f8whitesmoke |
| Primary | #121715black | #121715black |
| Primary foreground | #a3b8b0darkgray | #a3b8b0darkgray |
| Secondary | #121712black | #121712black |
| Secondary foreground | #a3b8a6darkgray | #a3b8a6darkgray |
| Muted | #dee3degainsboro | #1c211dblack |
| Muted foreground | #3d483edarkslategray | #b7c2b9silver |
| Accent | #121617black | #121617black |
| Accent foreground | #a3b5b8darkgray | #a3b5b8darkgray |
| Destructive | #d70909red | #f61e1ecrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #121715black | #121715black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.69:1 | AAA |
| Text on card | 20.69:1 | AAA |
| Primary button | 8.66:1 | AAA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 8.53:1 | AAA |
| Destructive | 5.32:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 8.66:1 | AAA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 8.87:1 | AAA |
| Accent | 8.53:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Neonate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 172.465);
--foreground: oklch(0 0 0);
--muted: oklch(0.911 0.009 149.565);
--muted-foreground: oklch(0.388 0.021 149.003);
--popover: oklch(0.994 0.004 172.465);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.004 172.465);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.198 0.009 171.196);
--primary-foreground: oklch(0.764 0.026 171.561);
--secondary: oklch(0.197 0.012 148.89);
--secondary-foreground: oklch(0.761 0.035 149.101);
--accent: oklch(0.197 0.007 207.836);
--accent-foreground: oklch(0.76 0.021 207.846);
--destructive: oklch(0.555 0.225 28.913);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.198 0.009 171.196);
--chart-1: oklch(0.198 0.009 171.196);
--chart-2: oklch(0.197 0.012 148.89);
--chart-3: oklch(0.197 0.007 207.836);
--chart-4: oklch(0.233 0.016 148.79);
--chart-5: oklch(0.2 0.011 170.88);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 172.805);
--foreground: oklch(0.979 0.003 172.491);
--muted: oklch(0.242 0.012 149.048);
--muted-foreground: oklch(0.803 0.017 149.415);
--popover: oklch(0.123 0.013 172.805);
--popover-foreground: oklch(0.979 0.003 172.491);
--card: oklch(0.123 0.013 172.805);
--card-foreground: oklch(0.979 0.003 172.491);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.198 0.009 171.196);
--primary-foreground: oklch(0.764 0.026 171.561);
--secondary: oklch(0.197 0.012 148.89);
--secondary-foreground: oklch(0.761 0.035 149.101);
--accent: oklch(0.197 0.007 207.836);
--accent-foreground: oklch(0.76 0.021 207.846);
--destructive: oklch(0.619 0.242 28.175);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.198 0.009 171.196);
--chart-1: oklch(0.198 0.009 171.196);
--chart-2: oklch(0.197 0.012 148.89);
--chart-3: oklch(0.197 0.007 207.836);
--chart-4: oklch(0.233 0.016 148.79);
--chart-5: oklch(0.2 0.011 170.88);
}