Hormone is a shadcn/ui theme built around a muted cyan primary color (#6595a4) with muted green accents (#95a465). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted cyan primary (#6595a4) on a cyan-tinted background (#04090b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #04090bblack |
| Foreground | #000000black | #f8fbfcghostwhite |
| Card | #f7fbfdghostwhite | #050d0fblack |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #fbfdfewhite | #04090bblack |
| Popover foreground | #000000black | #f8fbfcghostwhite |
| Primary | #6595a4cadetblue | #6595a4cadetblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #a46595rosybrown | #a46595rosybrown |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ede3ealavender | #1c1219black |
| Muted foreground | #5e555bdimgray | #aaa1a8darkgray |
| Accent | #95a465darkkhaki | #95a465darkkhaki |
| Accent foreground | #000000black | #000000black |
| Destructive | #5d2109maroon | #ee7444coral |
| Destructive foreground | #f6baa2lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6595a4cadetblue | #6595a4cadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.60:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 6.35:1 | AA |
| Secondary button | 4.31:1 | AA Large |
| Muted text | 5.74:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 7.39:1 | AAA |
| Text on background | 19.21:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 6.35:1 | AA |
| Secondary button | 4.31:1 | AA Large |
| Muted text | 7.27:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 7.22:1 | AAA |
Paste this into your globals.css to use Hormone in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 219.526);
--foreground: oklch(0 0 0);
--muted: oklch(0.926 0.013 334.121);
--muted-foreground: oklch(0.46 0.016 334.44);
--popover: oklch(0.993 0.003 219.526);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.005 219.546);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.64 0.057 220.794);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.592 0.104 336.606);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.692 0.088 120.207);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.335 0.095 39.794);
--destructive-foreground: oklch(0.837 0.078 42.546);
--ring: oklch(0.64 0.057 220.794);
--chart-1: oklch(0.64 0.057 220.794);
--chart-2: oklch(0.592 0.104 336.606);
--chart-3: oklch(0.692 0.088 120.207);
--chart-4: oklch(0.617 0.096 336.322);
--chart-5: oklch(0.644 0.062 221.024);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.012 215.753);
--foreground: oklch(0.986 0.003 219.528);
--muted: oklch(0.199 0.02 335.47);
--muted-foreground: oklch(0.72 0.014 334.201);
--popover: oklch(0.136 0.012 215.753);
--popover-foreground: oklch(0.986 0.003 219.528);
--card: oklch(0.15 0.013 218.533);
--card-foreground: oklch(0.993 0.001 219.518);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.64 0.057 220.794);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.592 0.104 336.606);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.692 0.088 120.207);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.694 0.163 41.254);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.64 0.057 220.794);
--chart-1: oklch(0.64 0.057 220.794);
--chart-2: oklch(0.592 0.104 336.606);
--chart-3: oklch(0.692 0.088 120.207);
--chart-4: oklch(0.617 0.096 336.322);
--chart-5: oklch(0.644 0.062 221.024);
}