Nervous Duct Tape Grey is a shadcn/ui theme built around a neutral gray primary color (#acaaaa) with neutral gray accents (#aaabac). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the neutral gray primary (#acaaaa) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf8f7snow | #070403black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fcf5f3seashell | #0b0605black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf5f3seashell | #0b0605black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #acaaaadarkgray | #acaaaadarkgray |
| Primary foreground | #121212black | #121212black |
| Secondary | #aaabacdarkgray | #aaabacdarkgray |
| Secondary foreground | #121212black | #121212black |
| Muted | #eef1f2whitesmoke | #0d1111black |
| Muted foreground | #49585bdarkslategray | #a4b3b6darkgray |
| Accent | #aaabacdarkgray | #aaabacdarkgray |
| Accent foreground | #121212black | #121212black |
| Destructive | #ab2103firebrick | #fc5631tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e2dfdfgainsboro | #262222black |
| Input | #e2dfdfgainsboro | #262222black |
| Ring | #acaaaadarkgray | #acaaaadarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.94:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 6.53:1 | AA |
| Accent | 8.17:1 | AAA |
| Destructive | 7.11:1 | AAA |
| Text on background | 19.97:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 8.79:1 | AAA |
| Accent | 8.17:1 | AAA |
| Destructive | 6.51:1 | AA |
Paste this into your globals.css to use Nervous Duct Tape Grey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 31.053);
--foreground: oklch(0 0 0);
--muted: oklch(0.956 0.004 211.041);
--muted-foreground: oklch(0.447 0.019 211.107);
--popover: oklch(0.974 0.008 31.058);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.008 31.058);
--card-foreground: oklch(0 0 0);
--border: oklch(0.906 0.003 31.05);
--input: oklch(0.906 0.003 31.05);
--primary: oklch(0.74 0.002 31.048);
--primary-foreground: oklch(0.181 0.001 31.049);
--secondary: oklch(0.741 0.002 211.042);
--secondary-foreground: oklch(0.182 0 211.042);
--accent: oklch(0.741 0.002 211.042);
--accent-foreground: oklch(0.182 0 211.042);
--destructive: oklch(0.481 0.176 32.806);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.74 0.002 31.048);
--chart-1: oklch(0.74 0.002 31.048);
--chart-2: oklch(0.741 0.002 211.042);
--chart-3: oklch(0.741 0.002 211.042);
--chart-4: oklch(0.766 0.001 211.043);
--chart-5: oklch(0.738 0.007 31.06);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.01 35.151);
--foreground: oklch(0.992 0.001 31.045);
--muted: oklch(0.173 0.005 211.065);
--muted-foreground: oklch(0.757 0.017 211.046);
--popover: oklch(0.127 0.012 35.116);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.127 0.012 35.116);
--card-foreground: oklch(1 0 180);
--border: oklch(0.257 0.006 31.096);
--input: oklch(0.257 0.006 31.096);
--primary: oklch(0.74 0.002 31.048);
--primary-foreground: oklch(0.181 0.001 31.049);
--secondary: oklch(0.741 0.002 211.042);
--secondary-foreground: oklch(0.182 0 211.042);
--accent: oklch(0.741 0.002 211.042);
--accent-foreground: oklch(0.182 0 211.042);
--destructive: oklch(0.674 0.208 34.034);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.74 0.002 31.048);
--chart-1: oklch(0.74 0.002 31.048);
--chart-2: oklch(0.741 0.002 211.042);
--chart-3: oklch(0.741 0.002 211.042);
--chart-4: oklch(0.766 0.001 211.043);
--chart-5: oklch(0.738 0.007 31.06);
}