Nord Wave is a shadcn/ui theme built around a cyan primary color (#87bfcf) with neutral gray accents (#474747). The light mode uses a neutral background (#212121). Dark mode keeps the cyan primary (#87bfcf) on a neutral background (#212121).
| Token | Light | Dark |
|---|---|---|
| Background | #212121black | #212121black |
| Foreground | #d8dee9gainsboro | #d8dee9gainsboro |
| Card | #1c1c1cblack | #1c1c1cblack |
| Card foreground | #e8ecf2lavender | #e8ecf2lavender |
| Popover | #1a1a1ablack | #1a1a1ablack |
| Popover foreground | #f8f9fbghostwhite | #f8f9fbghostwhite |
| Primary | #87bfcfskyblue | #87bfcfskyblue |
| Primary foreground | #0a161ablack | #0a161ablack |
| Secondary | #2d4b53darkslategray | #2d4b53darkslategray |
| Secondary foreground | #cddfe4gainsboro | #cddfe4gainsboro |
| Muted | #312626darkslategray | #312626darkslategray |
| Muted foreground | #b5a1a1darkgray | #b5a1a1darkgray |
| Accent | #474747darkslategray | #474747darkslategray |
| Accent foreground | #e0e0e0gainsboro | #e0e0e0gainsboro |
| Destructive | #e84c30tomato | #e84c30tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2e2e2edarkslategray | #2e2e2edarkslategray |
| Input | #363636darkslategray | #363636darkslategray |
| Ring | #87bfcfskyblue | #87bfcfskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.89:1 | AAA |
| Text on card | 14.36:1 | AAA |
| Primary button | 9.11:1 | AAA |
| Secondary button | 6.84:1 | AA |
| Muted text | 5.97:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 3.81:1 | AA Large |
| Text on background | 11.89:1 | AAA |
| Text on card | 14.36:1 | AAA |
| Primary button | 9.11:1 | AAA |
| Secondary button | 6.84:1 | AA |
| Muted text | 5.97:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Nord Wave in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.248 0 173.29);
--foreground: oklch(0.899 0.017 263.013);
--muted: oklch(0.281 0.016 18.127);
--muted-foreground: oklch(0.726 0.024 17.712);
--popover: oklch(0.216 0 180);
--popover-foreground: oklch(0.983 0.003 263.049);
--card: oklch(0.227 0 164.055);
--card-foreground: oklch(0.941 0.01 263.034);
--border: oklch(0.301 0 189.462);
--input: oklch(0.331 0 180);
--primary: oklch(0.772 0.063 216.867);
--primary-foreground: oklch(0.191 0.018 217.216);
--secondary: oklch(0.391 0.038 217.256);
--secondary-foreground: oklch(0.892 0.02 216.132);
--accent: oklch(0.399 0 180);
--accent-foreground: oklch(0.908 0 180);
--destructive: oklch(0.631 0.197 32.371);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.772 0.063 216.867);
--chart-1: oklch(0.772 0.063 216.867);
--chart-2: oklch(0.391 0.038 217.256);
--chart-3: oklch(0.399 0 180);
--chart-4: oklch(0.422 0.042 217.297);
--chart-5: oklch(0.775 0.067 216.966);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.248 0 173.29);
--foreground: oklch(0.899 0.017 263.013);
--muted: oklch(0.281 0.016 18.127);
--muted-foreground: oklch(0.726 0.024 17.712);
--popover: oklch(0.216 0 180);
--popover-foreground: oklch(0.983 0.003 263.049);
--card: oklch(0.227 0 164.055);
--card-foreground: oklch(0.941 0.01 263.034);
--border: oklch(0.301 0 189.462);
--input: oklch(0.331 0 180);
--primary: oklch(0.772 0.063 216.867);
--primary-foreground: oklch(0.191 0.018 217.216);
--secondary: oklch(0.391 0.038 217.256);
--secondary-foreground: oklch(0.892 0.02 216.132);
--accent: oklch(0.399 0 180);
--accent-foreground: oklch(0.908 0 180);
--destructive: oklch(0.631 0.197 32.371);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.772 0.063 216.867);
--chart-1: oklch(0.772 0.063 216.867);
--chart-2: oklch(0.391 0.038 217.256);
--chart-3: oklch(0.399 0 180);
--chart-4: oklch(0.422 0.042 217.297);
--chart-5: oklch(0.775 0.067 216.966);
}