Bathhouse is a shadcn/ui theme built around a deep green primary color (#314823) with deep pink accents (#482331). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the deep green primary (#314823) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fcf8mintcream | #000000black |
| Foreground | #040802black | #fcfdfcwhite |
| Card | #f9fcf8mintcream | #000000black |
| Card foreground | #040802black | #fcfdfcwhite |
| Popover | #f9fcf8mintcream | #000000black |
| Popover foreground | #040802black | #fcfdfcwhite |
| Primary | #314823darkslategray | #314823darkslategray |
| Primary foreground | #cbe0belightgrey | #cbe0belightgrey |
| Secondary | #233148darkslategray | #233148darkslategray |
| Secondary foreground | #becbe0lightsteelblue | #becbe0lightsteelblue |
| Muted | #eef1f7whitesmoke | #080c11black |
| Muted foreground | #40444adarkslategray | #b5b9bfsilver |
| Accent | #482331darkslategray | #482331darkslategray |
| Accent foreground | #e0becbthistle | #e0becbthistle |
| Destructive | #6f2206maroon | #ec490eorangered |
| Destructive foreground | #fac2adlightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #314823darkslategray | #314823darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 8.66:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 9.95:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 3.79:1 | AA Large |
Paste this into your globals.css to use Bathhouse in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 133.022);
--foreground: oklch(0.127 0.024 131.262);
--muted: oklch(0.958 0.008 259.942);
--muted-foreground: oklch(0.384 0.011 259.942);
--popover: oklch(0.987 0.005 133.022);
--popover-foreground: oklch(0.127 0.024 131.262);
--card: oklch(0.987 0.005 133.022);
--card-foreground: oklch(0.127 0.024 131.262);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.373 0.066 134.526);
--primary-foreground: oklch(0.881 0.051 133.397);
--secondary: oklch(0.312 0.046 259.651);
--secondary-foreground: oklch(0.837 0.033 259.933);
--accent: oklch(0.312 0.06 356.809);
--accent-foreground: oklch(0.833 0.042 352.988);
--destructive: oklch(0.369 0.114 37.944);
--destructive-foreground: oklch(0.858 0.071 40.895);
--ring: oklch(0.373 0.066 134.526);
--chart-1: oklch(0.373 0.066 134.526);
--chart-2: oklch(0.312 0.046 259.651);
--chart-3: oklch(0.312 0.06 356.809);
--chart-4: oklch(0.34 0.052 259.639);
--chart-5: oklch(0.377 0.071 134.671);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 132.993);
--muted: oklch(0.152 0.013 259.344);
--muted-foreground: oklch(0.785 0.009 259.944);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 132.993);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.001 132.993);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.373 0.066 134.526);
--primary-foreground: oklch(0.881 0.051 133.397);
--secondary: oklch(0.312 0.046 259.651);
--secondary-foreground: oklch(0.837 0.033 259.933);
--accent: oklch(0.312 0.06 356.809);
--accent-foreground: oklch(0.833 0.042 352.988);
--destructive: oklch(0.633 0.208 36.651);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.373 0.066 134.526);
--chart-1: oklch(0.373 0.066 134.526);
--chart-2: oklch(0.312 0.046 259.651);
--chart-3: oklch(0.312 0.06 356.809);
--chart-4: oklch(0.34 0.052 259.639);
--chart-5: oklch(0.377 0.071 134.671);
}