Noise is a shadcn/ui theme built around a muted cyan primary color (#a6c4c9) with muted red accents (#c9aca6). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted cyan primary (#a6c4c9) on a neutral background (#020708).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #020708black |
| Foreground | #000000black | #f6f8f8whitesmoke |
| Card | #f8fcfcmintcream | #030b0cblack |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #fbfdfewhite | #020708black |
| Popover foreground | #000000black | #f6f8f8whitesmoke |
| Primary | #a6c4c9lightsteelblue | #a6c4c9lightsteelblue |
| Primary foreground | #172426black | #172426black |
| Secondary | #c9aca6tan | #c9aca6tan |
| Secondary foreground | #261917black | #261917black |
| Muted | #f3e9e7linen | #180d0cblack |
| Muted foreground | #564a48darkslategray | #b7aba9darkgray |
| Accent | #c9aca6tan | #c9aca6tan |
| Accent foreground | #261917black | #261917black |
| Destructive | #7d0d0dmaroon | #e71818crimson |
| Destructive foreground | #f9c3c3pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a6c4c9lightsteelblue | #a6c4c9lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.62:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 7.13:1 | AAA |
| Accent | 8.02:1 | AAA |
| Destructive | 7.05:1 | AAA |
| Text on background | 18.99:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 8.52:1 | AAA |
| Accent | 8.02:1 | AAA |
| Destructive | 4.62:1 | AA |
Paste this into your globals.css to use Noise in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 209.462);
--foreground: oklch(0 0 0);
--muted: oklch(0.941 0.012 29.513);
--muted-foreground: oklch(0.421 0.017 29.659);
--popover: oklch(0.993 0.002 209.462);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.004 209.457);
--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.799 0.032 209.445);
--primary-foreground: oklch(0.249 0.018 209.6);
--secondary: oklch(0.767 0.035 29.695);
--secondary-foreground: oklch(0.23 0.021 30.054);
--accent: oklch(0.767 0.035 29.695);
--accent-foreground: oklch(0.23 0.021 30.054);
--destructive: oklch(0.377 0.144 27.776);
--destructive-foreground: oklch(0.865 0.062 18.416);
--ring: oklch(0.799 0.032 209.445);
--chart-1: oklch(0.799 0.032 209.445);
--chart-2: oklch(0.767 0.035 29.695);
--chart-3: oklch(0.767 0.035 29.695);
--chart-4: oklch(0.793 0.031 29.652);
--chart-5: oklch(0.802 0.036 209.457);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.013 206.052);
--foreground: oklch(0.978 0.002 209.463);
--muted: oklch(0.175 0.019 30.232);
--muted-foreground: oklch(0.751 0.014 29.542);
--popover: oklch(0.122 0.013 206.052);
--popover-foreground: oklch(0.978 0.002 209.463);
--card: oklch(0.14 0.015 206.845);
--card-foreground: oklch(0.985 0.001 209.465);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.799 0.032 209.445);
--primary-foreground: oklch(0.249 0.018 209.6);
--secondary: oklch(0.767 0.035 29.695);
--secondary-foreground: oklch(0.23 0.021 30.054);
--accent: oklch(0.767 0.035 29.695);
--accent-foreground: oklch(0.23 0.021 30.054);
--destructive: oklch(0.589 0.232 28.341);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.799 0.032 209.445);
--chart-1: oklch(0.799 0.032 209.445);
--chart-2: oklch(0.767 0.035 29.695);
--chart-3: oklch(0.767 0.035 29.695);
--chart-4: oklch(0.793 0.031 29.652);
--chart-5: oklch(0.802 0.036 209.457);
}