Longboat is a shadcn/ui theme built around a vivid deep pink primary color (#800f49) with vivid deep red accents (#800f11). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep pink primary (#800f49) on a neutral background (#080205).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080205black |
| Foreground | #000000black | #fbf9fasnow |
| Card | #fcfcfcsnow | #0c0308black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fcfcfcsnow | #0c0308black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #800f49brown | #800f49brown |
| Primary foreground | #f9c8e1pink | #f9c8e1pink |
| Secondary | #7e0f80purple | #7e0f80purple |
| Secondary foreground | #f8c8f9lavender | #f8c8f9lavender |
| Muted | #f3edf3whitesmoke | #120c12black |
| Muted foreground | #504450darkslategray | #bbafbbsilver |
| Accent | #800f11maroon | #800f11maroon |
| Accent foreground | #f9c8c9pink | #f9c8c9pink |
| Destructive | #c53016firebrick | #e74023orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #800f49brown | #800f49brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 6.45:1 | AA |
| Muted text | 7.95:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 5.49:1 | AA |
| Text on background | 19.60:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 6.45:1 | AA |
| Muted text | 9.14:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use Longboat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.951 0.01 325.176);
--muted-foreground: oklch(0.403 0.025 325.516);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.398 0.151 356.295);
--primary-foreground: oklch(0.883 0.063 346.035);
--secondary: oklch(0.423 0.185 327.449);
--secondary-foreground: oklch(0.89 0.083 325.719);
--accent: oklch(0.385 0.146 27.031);
--accent-foreground: oklch(0.876 0.055 17.136);
--destructive: oklch(0.543 0.189 32.23);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.398 0.151 356.295);
--chart-1: oklch(0.398 0.151 356.295);
--chart-2: oklch(0.423 0.185 327.449);
--chart-3: oklch(0.385 0.146 27.031);
--chart-4: oklch(0.455 0.199 327.454);
--chart-5: oklch(0.401 0.155 356.81);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.106 0.022 344.135);
--foreground: oklch(0.984 0.002 344.343);
--muted: oklch(0.166 0.016 325.737);
--muted-foreground: oklch(0.768 0.021 325.289);
--popover: oklch(0.121 0.026 344.512);
--popover-foreground: oklch(0.992 0.001 344.314);
--card: oklch(0.121 0.026 344.512);
--card-foreground: oklch(0.992 0.001 344.314);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.398 0.151 356.295);
--primary-foreground: oklch(0.883 0.063 346.035);
--secondary: oklch(0.423 0.185 327.449);
--secondary-foreground: oklch(0.89 0.083 325.719);
--accent: oklch(0.385 0.146 27.031);
--accent-foreground: oklch(0.876 0.055 17.136);
--destructive: oklch(0.615 0.207 32.338);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.398 0.151 356.295);
--chart-1: oklch(0.398 0.151 356.295);
--chart-2: oklch(0.423 0.185 327.449);
--chart-3: oklch(0.385 0.146 27.031);
--chart-4: oklch(0.455 0.199 327.454);
--chart-5: oklch(0.401 0.155 356.81);
}