Hormone is a shadcn/ui theme built around a vivid green primary color (#02d456) with vivid teal accents (#02d4bf). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#02d456) on a green-tinted background (#070e09).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070e09black |
| Foreground | #040c07black | #ffffffwhite |
| Card | #fcfcfcsnow | #08110cblack |
| Card foreground | #020805black | #ffffffwhite |
| Popover | #ffffffwhite | #070e09black |
| Popover foreground | #040c07black | #ffffffwhite |
| Primary | #02d456springgreen | #02d456springgreen |
| Primary foreground | #000a04black | #000a04black |
| Secondary | #17d402lime | #17d402lime |
| Secondary foreground | #010a00black | #010a00black |
| Muted | #e0e7dfgainsboro | #192018black |
| Muted foreground | #4d524cdarkslategray | #adb3addarkgray |
| Accent | #02d4bfdarkturquoise | #02d4bfdarkturquoise |
| Accent foreground | #000a09black | #000a09black |
| Destructive | #75270asaddlebrown | #eb5119orangered |
| Destructive foreground | #f9cab9peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #02d456springgreen | #02d456springgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 10.10:1 | AAA |
| Secondary button | 10.01:1 | AAA |
| Muted text | 6.34:1 | AA |
| Accent | 10.67:1 | AAA |
| Destructive | 6.90:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 10.10:1 | AAA |
| Secondary button | 10.01:1 | AAA |
| Muted text | 7.78:1 | AAA |
| Accent | 10.67:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Hormone in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.141 0.019 159.942);
--muted: oklch(0.92 0.014 142.566);
--muted-foreground: oklch(0.432 0.013 142.508);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.141 0.019 159.942);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.123 0.016 160.122);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.759 0.219 147.968);
--primary-foreground: oklch(0.128 0.029 160.037);
--secondary: oklch(0.755 0.254 142.144);
--secondary-foreground: oklch(0.128 0.04 139.562);
--accent: oklch(0.781 0.139 182.423);
--accent-foreground: oklch(0.131 0.022 188.949);
--destructive: oklch(0.387 0.116 38.211);
--destructive-foreground: oklch(0.875 0.059 40.943);
--ring: oklch(0.759 0.219 147.968);
--chart-1: oklch(0.759 0.219 147.968);
--chart-2: oklch(0.755 0.254 142.144);
--chart-3: oklch(0.781 0.139 182.423);
--chart-4: oklch(0.795 0.268 142.16);
--chart-5: oklch(0.767 0.224 147.733);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.015 159.102);
--foreground: oklch(1 0 180);
--muted: oklch(0.234 0.019 142.287);
--muted-foreground: oklch(0.761 0.011 142.569);
--popover: oklch(0.153 0.015 159.102);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.167 0.018 157.768);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.759 0.219 147.968);
--primary-foreground: oklch(0.128 0.029 160.037);
--secondary: oklch(0.755 0.254 142.144);
--secondary-foreground: oklch(0.128 0.04 139.562);
--accent: oklch(0.781 0.139 182.423);
--accent-foreground: oklch(0.131 0.022 188.949);
--destructive: oklch(0.64 0.199 37.688);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.759 0.219 147.968);
--chart-1: oklch(0.759 0.219 147.968);
--chart-2: oklch(0.755 0.254 142.144);
--chart-3: oklch(0.781 0.139 182.423);
--chart-4: oklch(0.795 0.268 142.16);
--chart-5: oklch(0.767 0.224 147.733);
}