Boatload is a shadcn/ui theme built around a muted light violet primary color (#e8e1ef) with muted light green accents (#e8efe1). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light violet primary (#e8e1ef) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0a0311black | #f7f6f8whitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0a0311black | #f7f6f8whitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0a0311black | #f7f6f8whitesmoke |
| Primary | #e8e1eflavender | #e8e1eflavender |
| Primary foreground | #4e3866darkslateblue | #4e3866darkslateblue |
| Secondary | #e8efe1beige | #e8efe1beige |
| Secondary foreground | #1c2414black | #1c2414black |
| Muted | #e3ebdbgainsboro | #1c2414black |
| Muted foreground | #525b49darkolivegreen | #aeb6a4darkgray |
| Accent | #e8efe1beige | #e8efe1beige |
| Accent foreground | #1c2414black | #1c2414black |
| Destructive | #c0150cfirebrick | #f23f36tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e8e1eflavender | #e8e1eflavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 13.60:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 13.60:1 | AAA |
| Destructive | 6.26:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 13.60:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 13.60:1 | AAA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Boatload in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.037 307.559);
--muted: oklch(0.929 0.022 128.064);
--muted-foreground: oklch(0.457 0.03 128.596);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.037 307.559);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.037 307.559);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.92 0.019 307.547);
--primary-foreground: oklch(0.387 0.08 305.254);
--secondary: oklch(0.943 0.019 128.026);
--secondary-foreground: oklch(0.248 0.031 129.42);
--accent: oklch(0.943 0.019 128.026);
--accent-foreground: oklch(0.248 0.031 129.42);
--destructive: oklch(0.514 0.201 29.415);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.92 0.019 307.547);
--chart-1: oklch(0.92 0.019 307.547);
--chart-2: oklch(0.943 0.019 128.026);
--chart-3: oklch(0.943 0.019 128.026);
--chart-4: oklch(0.962 0.013 127.943);
--chart-5: oklch(0.919 0.021 307.521);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.003 307.75);
--muted: oklch(0.247 0.029 129.31);
--muted-foreground: oklch(0.766 0.027 128.206);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.003 307.75);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.003 307.75);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.92 0.019 307.547);
--primary-foreground: oklch(0.387 0.08 305.254);
--secondary: oklch(0.943 0.019 128.026);
--secondary-foreground: oklch(0.248 0.031 129.42);
--accent: oklch(0.943 0.019 128.026);
--accent-foreground: oklch(0.248 0.031 129.42);
--destructive: oklch(0.636 0.217 28.131);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.92 0.019 307.547);
--chart-1: oklch(0.92 0.019 307.547);
--chart-2: oklch(0.943 0.019 128.026);
--chart-3: oklch(0.943 0.019 128.026);
--chart-4: oklch(0.962 0.013 127.943);
--chart-5: oklch(0.919 0.021 307.521);
}