Houseboat for shadcn/ui

Houseboat is a shadcn/ui theme built around a muted light green primary color (#cccfc4) with muted light violet accents (#c7c4cf). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#cccfc4) on a neutral background (#060703).

Color palette

TokenLightDark
Background
#ffffffwhite
#060703black
Foreground
#0a0c03black
#fbfbf8snow
Card
#ffffffwhite
#060703black
Card foreground
#0a0c03black
#fbfbf8snow
Popover
#ffffffwhite
#060703black
Popover foreground
#0a0c03black
#fbfbf8snow
Primary
#cccfc4lightgrey
#cccfc4lightgrey
Primary foreground
#33362bdarkslategray
#33362bdarkslategray
Secondary
#c7c4cfsilver
#c7c4cfsilver
Secondary foreground
#2e2b36darkslategray
#2e2b36darkslategray
Muted
#dddce0gainsboro
#201f23black
Muted foreground
#4b4757darkslategray
#aca8b8darkgray
Accent
#c7c4cfsilver
#c7c4cfsilver
Accent foreground
#2e2b36darkslategray
#2e2b36darkslategray
Destructive
#980e0bdarkred
#ef2d2acrimson
Destructive foreground
#fcdad9mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cccfc4lightgrey
#cccfc4lightgrey

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.68:1AAA
Text on card19.68:1AAA
Primary button7.82:1AAA
Secondary button8.03:1AAA
Muted text6.57:1AA
Accent8.03:1AAA
Destructive6.74:1AA
Dark mode
Text on background19.50:1AAA
Text on card19.50:1AAA
Primary button7.82:1AAA
Secondary button8.03:1AAA
Muted text7.04:1AAA
Accent8.03:1AAA
Destructive4.13:1AA Large

CSS variables

Paste this into your globals.css to use Houseboat in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.148 0.021 118.364);
  --muted: oklch(0.896 0.005 297.716);
  --muted-foreground: oklch(0.408 0.027 296.657);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.148 0.021 118.364);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.148 0.021 118.364);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.85 0.016 118.166);
  --primary-foreground: oklch(0.326 0.019 118.843);
  --secondary: oklch(0.825 0.017 297.468);
  --secondary-foreground: oklch(0.297 0.019 296.651);
  --accent: oklch(0.825 0.017 297.468);
  --accent-foreground: oklch(0.297 0.019 296.651);
  --destructive: oklch(0.432 0.169 28.642);
  --destructive-foreground: oklch(0.916 0.039 19.034);
  --ring: oklch(0.85 0.016 118.166);
  --chart-1: oklch(0.85 0.016 118.166);
  --chart-2: oklch(0.825 0.017 297.468);
  --chart-3: oklch(0.825 0.017 297.468);
  --chart-4: oklch(0.85 0.014 297.53);
  --chart-5: oklch(0.853 0.021 118.256);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.011 117.947);
  --foreground: oklch(0.988 0.004 117.898);
  --muted: oklch(0.243 0.008 297.267);
  --muted-foreground: oklch(0.74 0.023 297.274);
  --popover: oklch(0.124 0.011 117.947);
  --popover-foreground: oklch(0.988 0.004 117.898);
  --card: oklch(0.124 0.011 117.947);
  --card-foreground: oklch(0.988 0.004 117.898);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.85 0.016 118.166);
  --primary-foreground: oklch(0.326 0.019 118.843);
  --secondary: oklch(0.825 0.017 297.468);
  --secondary-foreground: oklch(0.297 0.019 296.651);
  --accent: oklch(0.825 0.017 297.468);
  --accent-foreground: oklch(0.297 0.019 296.651);
  --destructive: oklch(0.616 0.228 27.773);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.85 0.016 118.166);
  --chart-1: oklch(0.85 0.016 118.166);
  --chart-2: oklch(0.825 0.017 297.468);
  --chart-3: oklch(0.825 0.017 297.468);
  --chart-4: oklch(0.85 0.014 297.53);
  --chart-5: oklch(0.853 0.021 118.256);
}