Boat is a shadcn/ui theme built around a deep orange primary color (#70391a) with neutral gray accents (#d4d4d3). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#70391a) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040201black |
| Foreground | #090401black | #ffffffwhite |
| Card | #fcfcfcsnow | #070503black |
| Card foreground | #040201black | #ffffffwhite |
| Popover | #ffffffwhite | #040201black |
| Popover foreground | #090401black | #ffffffwhite |
| Primary | #70391asaddlebrown | #70391asaddlebrown |
| Primary foreground | #f2d8c9bisque | #f2d8c9bisque |
| Secondary | #d4d4d3lightgrey | #242423black |
| Secondary foreground | #3b3a3adarkslategray | #bdbdbcsilver |
| Muted | #e8e2degainsboro | #211b17black |
| Muted foreground | #685950dimgray | #afa097darkgray |
| Accent | #d4d4d3lightgrey | #242423black |
| Accent foreground | #3b3a3adarkslategray | #bdbdbcsilver |
| Destructive | #600c0bmaroon | #ea4643tomato |
| Destructive foreground | #f5a9a8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #70391asaddlebrown | #70391asaddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.39:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 6.73:1 | AA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 5.20:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 7.13:1 | AAA |
| Text on background | 20.68:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 6.73:1 | AA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 8.28:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Boat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.115 0.017 64.205);
--muted: oklch(0.916 0.008 52.46);
--muted-foreground: oklch(0.475 0.024 51.927);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.115 0.017 64.205);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.091 0.014 64.205);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.409 0.088 48.432);
--primary-foreground: oklch(0.901 0.035 52.071);
--secondary: oklch(0.869 0.001 52.568);
--secondary-foreground: oklch(0.351 0.001 52.531);
--accent: oklch(0.869 0.001 52.568);
--accent-foreground: oklch(0.351 0.001 52.531);
--destructive: oklch(0.318 0.117 27.707);
--destructive-foreground: oklch(0.808 0.09 20.319);
--ring: oklch(0.409 0.088 48.432);
--chart-1: oklch(0.409 0.088 48.432);
--chart-2: oklch(0.869 0.001 52.568);
--chart-3: oklch(0.869 0.001 52.568);
--chart-4: oklch(0.892 0.001 52.571);
--chart-5: oklch(0.411 0.092 48.066);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.007 58.626);
--foreground: oklch(1 0 180);
--muted: oklch(0.227 0.012 51.924);
--muted-foreground: oklch(0.716 0.022 52.183);
--popover: oklch(0.092 0.007 58.626);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.115 0.009 58.626);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.409 0.088 48.432);
--primary-foreground: oklch(0.901 0.035 52.071);
--secondary: oklch(0.259 0.001 52.536);
--secondary-foreground: oklch(0.797 0.001 52.56);
--accent: oklch(0.259 0.001 52.536);
--accent-foreground: oklch(0.797 0.001 52.56);
--destructive: oklch(0.63 0.202 25.909);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.409 0.088 48.432);
--chart-1: oklch(0.409 0.088 48.432);
--chart-2: oklch(0.259 0.001 52.536);
--chart-3: oklch(0.259 0.001 52.536);
--chart-4: oklch(0.29 0.001 52.534);
--chart-5: oklch(0.411 0.092 48.066);
}