Stepmother is a shadcn/ui theme built around a muted light indigo primary color (#bcbdd2) with muted light violet accents (#c6bcd2). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the muted light indigo primary (#bcbdd2) on an indigo-tinted background (#05060a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #05060ablack |
| Foreground | #050510black | #f5f5f9whitesmoke |
| Card | #f7f7fdghostwhite | #07070dblack |
| Card foreground | #04040cblack | #f8f9fbghostwhite |
| Popover | #fbfbfeghostwhite | #05060ablack |
| Popover foreground | #050510black | #f5f5f9whitesmoke |
| Primary | #bcbdd2lightsteelblue | #bcbdd2lightsteelblue |
| Primary foreground | #252637darkslategray | #252637darkslategray |
| Secondary | #bcc8d2lightsteelblue | #bcc8d2lightsteelblue |
| Secondary foreground | #252f37darkslategray | #252f37darkslategray |
| Muted | #dce1e5gainsboro | #1a1f23black |
| Muted foreground | #606466dimgray | #999c9fdarkgray |
| Accent | #c6bcd2thistle | #c6bcd2thistle |
| Accent foreground | #2d2537darkslategray | #2d2537darkslategray |
| Destructive | #c43708firebrick | #dc3e09orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bcbdd2lightsteelblue | #bcbdd2lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.66:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 4.53:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 5.39:1 | AA |
| Text on background | 18.65:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 4.42:1 | AA Large |
Paste this into your globals.css to use Stepmother in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.003 283.912);
--foreground: oklch(0.124 0.025 278.934);
--muted: oklch(0.907 0.007 242.3);
--muted-foreground: oklch(0.5 0.006 242.35);
--popover: oklch(0.989 0.003 283.912);
--popover-foreground: oklch(0.124 0.025 278.934);
--card: oklch(0.979 0.007 283.85);
--card-foreground: oklch(0.112 0.022 278.988);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.804 0.03 283.306);
--primary-foreground: oklch(0.274 0.032 281.712);
--secondary: oklch(0.826 0.02 242.508);
--secondary-foreground: oklch(0.299 0.02 243.149);
--accent: oklch(0.809 0.033 305.909);
--accent-foreground: oklch(0.281 0.035 304.819);
--destructive: oklch(0.546 0.184 35.682);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.804 0.03 283.306);
--chart-1: oklch(0.804 0.03 283.306);
--chart-2: oklch(0.826 0.02 242.508);
--chart-3: oklch(0.809 0.033 305.909);
--chart-4: oklch(0.851 0.017 242.455);
--chart-5: oklch(0.8 0.034 283.196);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.012 281.579);
--foreground: oklch(0.972 0.005 283.875);
--muted: oklch(0.236 0.01 242.774);
--muted-foreground: oklch(0.69 0.005 242.298);
--popover: oklch(0.121 0.012 281.579);
--popover-foreground: oklch(0.972 0.005 283.875);
--card: oklch(0.134 0.014 281.615);
--card-foreground: oklch(0.982 0.004 283.908);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.804 0.03 283.306);
--primary-foreground: oklch(0.274 0.032 281.712);
--secondary: oklch(0.826 0.02 242.508);
--secondary-foreground: oklch(0.299 0.02 243.149);
--accent: oklch(0.809 0.033 305.909);
--accent-foreground: oklch(0.281 0.035 304.819);
--destructive: oklch(0.595 0.202 35.519);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.804 0.03 283.306);
--chart-1: oklch(0.804 0.03 283.306);
--chart-2: oklch(0.826 0.02 242.508);
--chart-3: oklch(0.809 0.033 305.909);
--chart-4: oklch(0.851 0.017 242.455);
--chart-5: oklch(0.8 0.034 283.196);
}