Houseboat is a shadcn/ui theme built around a light violet primary color (#e3d1eb) with light green accents (#d9ebd1). The light mode uses a neutral background (#fbf7fd). Dark mode keeps the light violet primary (#e3d1eb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf7fdghostwhite | #000000black |
| Foreground | #0a030dblack | #fbf8fbsnow |
| Card | #fbf7fdghostwhite | #000000black |
| Card foreground | #0a030dblack | #fbf8fbsnow |
| Popover | #fbf7fdghostwhite | #000000black |
| Popover foreground | #0a030dblack | #fbf8fbsnow |
| Primary | #e3d1ebgainsboro | #e3d1ebgainsboro |
| Primary foreground | #502a60darkslateblue | #502a60darkslateblue |
| Secondary | #d9ebd1gainsboro | #d9ebd1gainsboro |
| Secondary foreground | #0f190bblack | #0f190bblack |
| Muted | #e7f2e3beige | #111c0dblack |
| Muted foreground | #54674cdarkolivegreen | #a0b398darkseagreen |
| Accent | #d9ebd1gainsboro | #d9ebd1gainsboro |
| Accent foreground | #0f190bblack | #0f190bblack |
| Destructive | #bc4415firebrick | #d34d17chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3d1ebgainsboro | #e3d1ebgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 14.36:1 | AAA |
| Muted text | 5.33:1 | AA |
| Accent | 14.36:1 | AAA |
| Destructive | 5.26:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 14.36:1 | AAA |
| Muted text | 7.84:1 | AAA |
| Accent | 14.36:1 | AAA |
| Destructive | 4.34:1 | AA Large |
Paste this into your globals.css to use Houseboat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 315.991);
--foreground: oklch(0.118 0.031 317.821);
--muted: oklch(0.95 0.024 136.113);
--muted-foreground: oklch(0.489 0.047 136.414);
--popover: oklch(0.981 0.008 315.991);
--popover-foreground: oklch(0.118 0.031 317.821);
--card: oklch(0.981 0.008 315.991);
--card-foreground: oklch(0.118 0.031 317.821);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.883 0.04 315.86);
--primary-foreground: oklch(0.359 0.098 314.808);
--secondary: oklch(0.919 0.04 136.183);
--secondary-foreground: oklch(0.198 0.03 136.722);
--accent: oklch(0.919 0.04 136.183);
--accent-foreground: oklch(0.198 0.03 136.722);
--destructive: oklch(0.548 0.164 39.034);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.883 0.04 315.86);
--chart-1: oklch(0.883 0.04 315.86);
--chart-2: oklch(0.919 0.04 136.183);
--chart-3: oklch(0.919 0.04 136.183);
--chart-4: oklch(0.938 0.03 136.141);
--chart-5: oklch(0.882 0.043 315.848);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.005 316.004);
--muted: oklch(0.211 0.033 136.747);
--muted-foreground: oklch(0.745 0.043 136.242);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.005 316.004);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.005 316.004);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.883 0.04 315.86);
--primary-foreground: oklch(0.359 0.098 314.808);
--secondary: oklch(0.919 0.04 136.183);
--secondary-foreground: oklch(0.198 0.03 136.722);
--accent: oklch(0.919 0.04 136.183);
--accent-foreground: oklch(0.198 0.03 136.722);
--destructive: oklch(0.596 0.18 38.901);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.883 0.04 315.86);
--chart-1: oklch(0.883 0.04 315.86);
--chart-2: oklch(0.919 0.04 136.183);
--chart-3: oklch(0.919 0.04 136.183);
--chart-4: oklch(0.938 0.03 136.141);
--chart-5: oklch(0.882 0.043 315.848);
}