Stiff Link Water is a shadcn/ui theme built around a muted light blue primary color (#c6ccd7) with muted blue accents (#434b56). The light mode uses a blue-tinted background (#21252b). Dark mode keeps the muted light blue primary (#c6ccd7) on a blue-tinted background (#21252b).
| Token | Light | Dark |
|---|---|---|
| Background | #21252bdarkslategray | #21252bdarkslategray |
| Foreground | #a8b1c2darkgray | #a8b1c2darkgray |
| Card | #1d2025black | #1d2025black |
| Card foreground | #b7becdsilver | #b7becdsilver |
| Popover | #1b1e23black | #1b1e23black |
| Popover foreground | #c6ccd7lightgrey | #c6ccd7lightgrey |
| Primary | #c6ccd7lightgrey | #c6ccd7lightgrey |
| Primary foreground | #2c333fdarkslategray | #2c333fdarkslategray |
| Secondary | #3b3e45darkslategray | #3b3e45darkslategray |
| Secondary foreground | #d6d8dcgainsboro | #d6d8dcgainsboro |
| Muted | #2b2f36darkslategray | #2b2f36darkslategray |
| Muted foreground | #a6aeb9darkgray | #a6aeb9darkgray |
| Accent | #434b56darkslategray | #434b56darkslategray |
| Accent foreground | #e2e5e9gainsboro | #e2e5e9gainsboro |
| Destructive | #ef1206red | #ef1206red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #313335darkslategray | #313335darkslategray |
| Input | #393a3cdarkslategray | #393a3cdarkslategray |
| Ring | #c6ccd7lightgrey | #c6ccd7lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.11:1 | AAA |
| Text on card | 8.73:1 | AAA |
| Primary button | 7.87:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 4.42:1 | AA Large |
| Text on background | 7.11:1 | AAA |
| Text on card | 8.73:1 | AAA |
| Primary button | 7.87:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 4.42:1 | AA Large |
Paste this into your globals.css to use Stiff Link Water in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.264 0.013 258.372);
--foreground: oklch(0.759 0.027 262.954);
--muted: oklch(0.305 0.014 258.372);
--muted-foreground: oklch(0.749 0.018 258.36);
--popover: oklch(0.233 0.01 258.372);
--popover-foreground: oklch(0.844 0.017 263.007);
--card: oklch(0.243 0.011 258.372);
--card-foreground: oklch(0.801 0.022 262.984);
--border: oklch(0.319 0.004 258.34);
--input: oklch(0.349 0.004 258.341);
--primary: oklch(0.844 0.017 263.007);
--primary-foreground: oklch(0.319 0.024 262.752);
--secondary: oklch(0.364 0.012 262.96);
--secondary-foreground: oklch(0.881 0.006 263.042);
--accent: oklch(0.408 0.023 258.372);
--accent-foreground: oklch(0.921 0.006 258.329);
--destructive: oklch(0.601 0.241 29.536);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.844 0.017 263.007);
--chart-1: oklch(0.844 0.017 263.007);
--chart-2: oklch(0.364 0.012 262.96);
--chart-3: oklch(0.408 0.023 258.372);
--chart-4: oklch(0.392 0.014 262.957);
--chart-5: oklch(0.842 0.02 262.996);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.264 0.013 258.372);
--foreground: oklch(0.759 0.027 262.954);
--muted: oklch(0.305 0.014 258.372);
--muted-foreground: oklch(0.749 0.018 258.36);
--popover: oklch(0.233 0.01 258.372);
--popover-foreground: oklch(0.844 0.017 263.007);
--card: oklch(0.243 0.011 258.372);
--card-foreground: oklch(0.801 0.022 262.984);
--border: oklch(0.319 0.004 258.34);
--input: oklch(0.349 0.004 258.341);
--primary: oklch(0.844 0.017 263.007);
--primary-foreground: oklch(0.319 0.024 262.752);
--secondary: oklch(0.364 0.012 262.96);
--secondary-foreground: oklch(0.881 0.006 263.042);
--accent: oklch(0.408 0.023 258.372);
--accent-foreground: oklch(0.921 0.006 258.329);
--destructive: oklch(0.601 0.241 29.536);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.844 0.017 263.007);
--chart-1: oklch(0.844 0.017 263.007);
--chart-2: oklch(0.364 0.012 262.96);
--chart-3: oklch(0.408 0.023 258.372);
--chart-4: oklch(0.392 0.014 262.957);
--chart-5: oklch(0.842 0.02 262.996);
}