Step-father is a shadcn/ui theme built around a deep orange primary color (#2b1c0d) with deep yellow accents (#2b2b0d). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#2b1c0d) on a neutral background (#040302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040302black |
| Foreground | #0b0804black | #ffffffwhite |
| Card | #ffffffwhite | #040302black |
| Card foreground | #0b0804black | #ffffffwhite |
| Popover | #ffffffwhite | #040302black |
| Popover foreground | #0b0804black | #ffffffwhite |
| Primary | #2b1c0dblack | #2b1c0dblack |
| Primary foreground | #ddb48dburlywood | #ddb48dburlywood |
| Secondary | #2b0d0dblack | #2b0d0dblack |
| Secondary foreground | #dd8d8edarksalmon | #dd8d8edarksalmon |
| Muted | #f1efefwhitesmoke | #100e0eblack |
| Muted foreground | #6d5f5fdimgray | #a09292rosybrown |
| Accent | #2b2b0dblack | #2b2b0dblack |
| Accent foreground | #c6c33fdarkkhaki | #c6c33fdarkkhaki |
| Destructive | #cf3902firebrick | #fd4d0dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2b1c0dblack | #2b1c0dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.98:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 5.29:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 4.95:1 | AA |
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 6.42:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 3.37:1 | AA Large |
Paste this into your globals.css to use Step-father in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.135 0.013 72.786);
--muted: oklch(0.953 0.002 16.016);
--muted-foreground: oklch(0.499 0.018 16.643);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.135 0.013 72.786);
--card: oklch(1 0 180);
--card-foreground: oklch(0.135 0.013 72.786);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.241 0.035 62.967);
--primary-foreground: oklch(0.796 0.071 64.63);
--secondary: oklch(0.209 0.05 21.485);
--secondary-foreground: oklch(0.726 0.098 18.647);
--accent: oklch(0.281 0.047 108.154);
--accent-foreground: oklch(0.796 0.15 108.408);
--destructive: oklch(0.567 0.194 35.808);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.241 0.035 62.967);
--chart-1: oklch(0.241 0.035 62.967);
--chart-2: oklch(0.209 0.05 21.485);
--chart-3: oklch(0.281 0.047 108.154);
--chart-4: oklch(0.239 0.062 22.039);
--chart-5: oklch(0.242 0.037 62.694);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.007 71.397);
--foreground: oklch(1 0 180);
--muted: oklch(0.167 0.004 16.358);
--muted-foreground: oklch(0.672 0.017 16.427);
--popover: oklch(0.093 0.007 71.397);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.093 0.007 71.397);
--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.241 0.035 62.967);
--primary-foreground: oklch(0.796 0.071 64.63);
--secondary: oklch(0.209 0.05 21.485);
--secondary-foreground: oklch(0.726 0.098 18.647);
--accent: oklch(0.281 0.047 108.154);
--accent-foreground: oklch(0.796 0.15 108.408);
--destructive: oklch(0.664 0.221 36.378);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.241 0.035 62.967);
--chart-1: oklch(0.241 0.035 62.967);
--chart-2: oklch(0.209 0.05 21.485);
--chart-3: oklch(0.281 0.047 108.154);
--chart-4: oklch(0.239 0.062 22.039);
--chart-5: oklch(0.242 0.037 62.694);
}