Step-mother is a shadcn/ui theme built around a pink primary color (#8b1d47) with blue accents (#1d478b). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#8b1d47) on a pink-tinted background (#0e0609).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0609black |
| Foreground | #15050bblack | #fbf8fasnow |
| Card | #fcfcfcsnow | #12070cblack |
| Card foreground | #110409black | #fdfcfcsnow |
| Popover | #fcfcfcsnow | #12070cblack |
| Popover foreground | #110409black | #fdfcfcsnow |
| Primary | #8b1d47brown | #8b1d47brown |
| Primary foreground | #f9e2eamistyrose | #f9e2eamistyrose |
| Secondary | #478b1dolivedrab | #478b1dolivedrab |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7ece4beige | #161b13black |
| Muted foreground | #616e59dimgray | #99a691darkseagreen |
| Accent | #1d478bdarkslateblue | #1d478bdarkslateblue |
| Accent foreground | #e2eaf9lavender | #e2eaf9lavender |
| Destructive | #ca3507firebrick | #f64813orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8b1d47brown | #8b1d47brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 4.22:1 | AA Large |
| Muted text | 4.51:1 | AA |
| Accent | 7.43:1 | AAA |
| Destructive | 5.23:1 | AA |
| Text on background | 18.97:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 4.22:1 | AA Large |
| Muted text | 6.84:1 | AA |
| Accent | 7.43:1 | AAA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use Step-mother in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.034 355.322);
--muted: oklch(0.937 0.012 133.076);
--muted-foreground: oklch(0.522 0.037 133.501);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.133 0.03 353.253);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.133 0.03 353.253);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.428 0.147 3.015);
--primary-foreground: oklch(0.933 0.028 352.428);
--secondary: oklch(0.57 0.156 136.403);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.409 0.122 259.599);
--accent-foreground: oklch(0.936 0.022 259.945);
--destructive: oklch(0.554 0.192 34.758);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.428 0.147 3.015);
--chart-1: oklch(0.428 0.147 3.015);
--chart-2: oklch(0.57 0.156 136.403);
--chart-3: oklch(0.409 0.122 259.599);
--chart-4: oklch(0.607 0.166 136.451);
--chart-5: oklch(0.431 0.152 3.647);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.018 352.776);
--foreground: oklch(0.983 0.004 351.696);
--muted: oklch(0.214 0.018 133.584);
--muted-foreground: oklch(0.71 0.035 133.331);
--popover: oklch(0.149 0.021 354.619);
--popover-foreground: oklch(0.991 0.002 351.643);
--card: oklch(0.149 0.021 354.619);
--card-foreground: oklch(0.991 0.002 351.643);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.428 0.147 3.015);
--primary-foreground: oklch(0.933 0.028 352.428);
--secondary: oklch(0.57 0.156 136.403);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.409 0.122 259.599);
--accent-foreground: oklch(0.936 0.022 259.945);
--destructive: oklch(0.649 0.218 35.289);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.428 0.147 3.015);
--chart-1: oklch(0.428 0.147 3.015);
--chart-2: oklch(0.57 0.156 136.403);
--chart-3: oklch(0.409 0.122 259.599);
--chart-4: oklch(0.607 0.166 136.451);
--chart-5: oklch(0.431 0.152 3.647);
}