Noisy is a shadcn/ui theme built around a deep blue primary color (#0e1c3a) with muted light blue accents (#d0d4dd). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep blue primary (#0e1c3a) on a neutral background (#030408).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030408black |
| Foreground | #020408black | #fcfcfdwhite |
| Card | #ffffffwhite | #030408black |
| Card foreground | #020408black | #fcfcfdwhite |
| Popover | #ffffffwhite | #030408black |
| Popover foreground | #020408black | #fcfcfdwhite |
| Primary | #0e1c3amidnightblue | #0e1c3amidnightblue |
| Primary foreground | #94aee6skyblue | #94aee6skyblue |
| Secondary | #d0d4ddlightgrey | #232529darkslategray |
| Secondary foreground | #333a47darkslategray | #babdc4silver |
| Muted | #dbe0ebgainsboro | #141924black |
| Muted foreground | #3f434adarkslategray | #b5b8c0silver |
| Accent | #d0d4ddlightgrey | #232529darkslategray |
| Accent foreground | #333a47darkslategray | #babdc4silver |
| Destructive | #ba0d0dfirebrick | #ef1515red |
| Destructive foreground | #fffafasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0e1c3amidnightblue | #0e1c3amidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 7.68:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 19.98:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 8.14:1 | AAA |
| Muted text | 8.86:1 | AAA |
| Accent | 8.14:1 | AAA |
| Destructive | 4.39:1 | AA Large |
Paste this into your globals.css to use Noisy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.106 0.015 257.597);
--muted: oklch(0.906 0.017 265.915);
--muted-foreground: oklch(0.382 0.014 265.809);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.106 0.015 257.597);
--card: oklch(1 0 180);
--card-foreground: oklch(0.106 0.015 257.597);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.231 0.062 263.603);
--primary-foreground: oklch(0.751 0.086 265.137);
--secondary: oklch(0.869 0.013 265.934);
--secondary-foreground: oklch(0.347 0.025 265.533);
--accent: oklch(0.869 0.013 265.934);
--accent-foreground: oklch(0.347 0.025 265.533);
--destructive: oklch(0.5 0.199 28.595);
--destructive-foreground: oklch(0.989 0.005 17.237);
--ring: oklch(0.231 0.062 263.603);
--chart-1: oklch(0.231 0.062 263.603);
--chart-2: oklch(0.869 0.013 265.934);
--chart-3: oklch(0.869 0.013 265.934);
--chart-4: oklch(0.894 0.011 265.951);
--chart-5: oklch(0.231 0.064 263.481);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.012 259.277);
--foreground: oklch(0.992 0.001 266);
--muted: oklch(0.214 0.024 265.154);
--muted-foreground: oklch(0.783 0.011 265.937);
--popover: oklch(0.108 0.012 259.277);
--popover-foreground: oklch(0.992 0.001 266);
--card: oklch(0.108 0.012 259.277);
--card-foreground: oklch(0.992 0.001 266);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.231 0.062 263.603);
--primary-foreground: oklch(0.751 0.086 265.137);
--secondary: oklch(0.265 0.008 265.838);
--secondary-foreground: oklch(0.799 0.01 265.945);
--accent: oklch(0.265 0.008 265.838);
--accent-foreground: oklch(0.799 0.01 265.945);
--destructive: oklch(0.603 0.24 28.538);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.231 0.062 263.603);
--chart-1: oklch(0.231 0.062 263.603);
--chart-2: oklch(0.265 0.008 265.838);
--chart-3: oklch(0.265 0.008 265.838);
--chart-4: oklch(0.295 0.01 265.828);
--chart-5: oklch(0.231 0.064 263.481);
}