Cheerful Bathing is a shadcn/ui theme built around a cyan primary color (#8fc6cc) with blue accents (#8fa7cc). The light mode uses a neutral background (#f8fbfb). Dark mode keeps the cyan primary (#8fc6cc) on a neutral background (#020708).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfbghostwhite | #020708black |
| Foreground | #000000black | #f7f8f8whitesmoke |
| Card | #f8fbfbghostwhite | #020708black |
| Card foreground | #000000black | #f7f8f8whitesmoke |
| Popover | #f8fbfbghostwhite | #020708black |
| Popover foreground | #000000black | #f7f8f8whitesmoke |
| Primary | #8fc6ccskyblue | #8fc6ccskyblue |
| Primary foreground | #0d1a1cblack | #0d1a1cblack |
| Secondary | #8fccb3darkseagreen | #8fccb3darkseagreen |
| Secondary foreground | #0d1c16black | #0d1c16black |
| Muted | #eaf0eewhitesmoke | #0f1512black |
| Muted foreground | #465951darkslategray | #a6b9b2darkgray |
| Accent | #8fa7ccdarkgray | #8fa7ccdarkgray |
| Accent foreground | #0d131cblack | #0d131cblack |
| Destructive | #d73204orangered | #fa3e0aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eaebeclavender | #1d2020black |
| Input | #eaebeclavender | #1d2020black |
| Ring | #8fc6ccskyblue | #8fc6ccskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 9.37:1 | AAA |
| Secondary button | 9.56:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 4.83:1 | AA |
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 9.37:1 | AAA |
| Secondary button | 9.56:1 | AAA |
| Muted text | 8.97:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Cheerful Bathing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 204.967);
--foreground: oklch(0 0 0);
--muted: oklch(0.951 0.008 170.393);
--muted-foreground: oklch(0.444 0.026 168.793);
--popover: oklch(0.986 0.003 204.967);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.003 204.967);
--card-foreground: oklch(0 0 0);
--border: oklch(0.94 0.002 204.973);
--input: oklch(0.94 0.002 204.973);
--primary: oklch(0.79 0.057 204.686);
--primary-foreground: oklch(0.208 0.019 204.739);
--secondary: oklch(0.796 0.071 167.736);
--secondary-foreground: oklch(0.21 0.024 166.7);
--accent: oklch(0.724 0.059 258.355);
--accent-foreground: oklch(0.185 0.021 258.322);
--destructive: oklch(0.575 0.206 33.718);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.79 0.057 204.686);
--chart-1: oklch(0.79 0.057 204.686);
--chart-2: oklch(0.796 0.071 167.736);
--chart-3: oklch(0.724 0.059 258.355);
--chart-4: oklch(0.815 0.065 168.107);
--chart-5: oklch(0.793 0.061 204.691);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 202.317);
--foreground: oklch(0.978 0.002 204.977);
--muted: oklch(0.188 0.011 168.813);
--muted-foreground: oklch(0.77 0.023 169.725);
--popover: oklch(0.123 0.013 202.317);
--popover-foreground: oklch(0.978 0.002 204.977);
--card: oklch(0.123 0.013 202.317);
--card-foreground: oklch(0.978 0.002 204.977);
--border: oklch(0.24 0.004 204.866);
--input: oklch(0.24 0.004 204.866);
--primary: oklch(0.79 0.057 204.686);
--primary-foreground: oklch(0.208 0.019 204.739);
--secondary: oklch(0.796 0.071 167.736);
--secondary-foreground: oklch(0.21 0.024 166.7);
--accent: oklch(0.724 0.059 258.355);
--accent-foreground: oklch(0.185 0.021 258.322);
--destructive: oklch(0.646 0.229 33.87);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.79 0.057 204.686);
--chart-1: oklch(0.79 0.057 204.686);
--chart-2: oklch(0.796 0.071 167.736);
--chart-3: oklch(0.724 0.059 258.355);
--chart-4: oklch(0.815 0.065 168.107);
--chart-5: oklch(0.793 0.061 204.691);
}