Adequate Mermaid Harbor is a shadcn/ui theme built around a deep teal primary color (#117870) with muted light teal accents (#cad8d7). The light mode uses a neutral background (#fbfefe). Dark mode keeps the deep teal primary (#117870) on a teal-tinted background (#04100f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #04100fblack |
| Foreground | #020807black | #ffffffwhite |
| Card | #fbfefewhite | #04100fblack |
| Card foreground | #020807black | #ffffffwhite |
| Popover | #fbfefewhite | #04100fblack |
| Popover foreground | #020807black | #ffffffwhite |
| Primary | #117870teal | #117870teal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cad8d7lightgrey | #191a1ablack |
| Secondary foreground | #30413fdarkslategray | #b2b3b3darkgray |
| Muted | #d7eae9gainsboro | #152827black |
| Muted foreground | #586564dimgray | #9aa7a6darkgray |
| Accent | #cad8d7lightgrey | #191a1ablack |
| Accent foreground | #30413fdarkslategray | #b2b3b3darkgray |
| Destructive | #a4140afirebrick | #de1b0dred |
| Destructive foreground | #fde4e2mistyrose | #ffffffwhite |
| Border | #e6eaealavender | #1a1e1eblack |
| Input | #e6eaealavender | #1a1e1eblack |
| Ring | #117870teal | #117870teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 5.29:1 | AA |
| Secondary button | 7.32:1 | AAA |
| Muted text | 4.86:1 | AA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.48:1 | AA |
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 5.29:1 | AA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 8.31:1 | AAA |
| Destructive | 4.93:1 | AA |
Paste this into your globals.css to use Adequate Mermaid Harbor in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 191.19);
--foreground: oklch(0.125 0.013 190.391);
--muted: oklch(0.923 0.021 190.754);
--muted-foreground: oklch(0.495 0.016 190.526);
--popover: oklch(0.994 0.003 191.19);
--popover-foreground: oklch(0.125 0.013 190.391);
--card: oklch(0.994 0.003 191.19);
--card-foreground: oklch(0.125 0.013 190.391);
--border: oklch(0.934 0.004 191.157);
--input: oklch(0.934 0.004 191.157);
--primary: oklch(0.519 0.087 185.901);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.871 0.015 190.874);
--secondary-foreground: oklch(0.358 0.022 189.889);
--accent: oklch(0.871 0.015 190.874);
--accent-foreground: oklch(0.358 0.022 189.889);
--destructive: oklch(0.459 0.177 29.725);
--destructive-foreground: oklch(0.939 0.028 22.571);
--ring: oklch(0.519 0.087 185.901);
--chart-1: oklch(0.519 0.087 185.901);
--chart-2: oklch(0.871 0.015 190.874);
--chart-3: oklch(0.871 0.015 190.874);
--chart-4: oklch(0.893 0.012 190.945);
--chart-5: oklch(0.525 0.089 185.738);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.161 0.018 189.204);
--foreground: oklch(1 0 180);
--muted: oklch(0.261 0.026 188.936);
--muted-foreground: oklch(0.718 0.015 190.792);
--popover: oklch(0.161 0.018 189.204);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.161 0.018 189.204);
--card-foreground: oklch(1 0 180);
--border: oklch(0.232 0.007 190.612);
--input: oklch(0.232 0.007 190.612);
--primary: oklch(0.519 0.087 185.901);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.216 0.001 191.17);
--secondary-foreground: oklch(0.766 0.002 191.2);
--accent: oklch(0.216 0.001 191.17);
--accent-foreground: oklch(0.766 0.002 191.2);
--destructive: oklch(0.573 0.224 29.753);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.519 0.087 185.901);
--chart-1: oklch(0.519 0.087 185.901);
--chart-2: oklch(0.216 0.001 191.17);
--chart-3: oklch(0.216 0.001 191.17);
--chart-4: oklch(0.249 0.001 191.162);
--chart-5: oklch(0.525 0.089 185.738);
}