Step-father is a shadcn/ui theme built around a vivid green primary color (#6fbe0e) with vivid violet accents (#5d0ebe). The light mode uses a neutral background (#fafcf7). Dark mode keeps the vivid green primary (#6fbe0e) on a green-tinted background (#0b1004).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf7snow | #0b1004black |
| Foreground | #0b1202black | #f8faf5whitesmoke |
| Card | #f8fbf4whitesmoke | #0d1405black |
| Card foreground | #080d02black | #fafbf8snow |
| Popover | #f8fbf4whitesmoke | #0d1405black |
| Popover foreground | #080d02black | #fafbf8snow |
| Primary | #6fbe0eolivedrab | #6fbe0eolivedrab |
| Primary foreground | #000000black | #000000black |
| Secondary | #5d0eberebeccapurple | #5d0eberebeccapurple |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e8e7e9lavender | #171618black |
| Muted foreground | #615d65dimgray | #9e9aa2darkgray |
| Accent | #5d0eberebeccapurple | #5d0eberebeccapurple |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #672204maroon | #dd4808orangered |
| Destructive foreground | #fcbda1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6fbe0eolivedrab | #6fbe0eolivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.51:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 9.02:1 | AAA |
| Secondary button | 9.23:1 | AAA |
| Muted text | 5.21:1 | AA |
| Accent | 9.23:1 | AAA |
| Destructive | 7.15:1 | AAA |
| Text on background | 18.32:1 | AAA |
| Text on card | 18.03:1 | AAA |
| Primary button | 9.02:1 | AAA |
| Secondary button | 9.23:1 | AAA |
| Muted text | 6.54:1 | AA |
| Accent | 9.23:1 | AAA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Step-father in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.007 126.521);
--foreground: oklch(0.169 0.035 127.255);
--muted: oklch(0.929 0.004 306.375);
--muted-foreground: oklch(0.484 0.013 306.087);
--popover: oklch(0.984 0.011 126.568);
--popover-foreground: oklch(0.151 0.03 125.778);
--card: oklch(0.984 0.011 126.568);
--card-foreground: oklch(0.151 0.03 125.778);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.721 0.201 133.171);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.43 0.23 293.3);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.43 0.23 293.3);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.354 0.107 40.041);
--destructive-foreground: oklch(0.848 0.082 44.234);
--ring: oklch(0.721 0.201 133.171);
--chart-1: oklch(0.721 0.201 133.171);
--chart-2: oklch(0.43 0.23 293.3);
--chart-3: oklch(0.43 0.23 293.3);
--chart-4: oklch(0.453 0.243 293.133);
--chart-5: oklch(0.729 0.205 133.402);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.163 0.027 127.115);
--foreground: oklch(0.981 0.007 126.515);
--muted: oklch(0.201 0.006 306.064);
--muted-foreground: oklch(0.692 0.012 306.21);
--popover: oklch(0.18 0.031 128.162);
--popover-foreground: oklch(0.988 0.004 126.486);
--card: oklch(0.18 0.031 128.162);
--card-foreground: oklch(0.988 0.004 126.486);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.721 0.201 133.171);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.43 0.23 293.3);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.43 0.23 293.3);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.607 0.195 38.049);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.721 0.201 133.171);
--chart-1: oklch(0.721 0.201 133.171);
--chart-2: oklch(0.43 0.23 293.3);
--chart-3: oklch(0.43 0.23 293.3);
--chart-4: oklch(0.453 0.243 293.133);
--chart-5: oklch(0.729 0.205 133.402);
}