Step-son is a shadcn/ui theme built around a green primary color (#92bd7f) with violet accents (#ab7fbd). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the green primary (#92bd7f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fdf7mintcream | #000000black |
| Foreground | #060c03black | #ffffffwhite |
| Card | #f9fdf7mintcream | #000000black |
| Card foreground | #060c03black | #ffffffwhite |
| Popover | #f9fdf7mintcream | #000000black |
| Popover foreground | #060c03black | #ffffffwhite |
| Primary | #92bd7fdarkseagreen | #92bd7fdarkseagreen |
| Primary foreground | #040703black | #040703black |
| Secondary | #ab7fbdmediumpurple | #ab7fbdmediumpurple |
| Secondary foreground | #060307black | #060307black |
| Muted | #eae4eclavender | #18131bblack |
| Muted foreground | #68596edimgray | #a091a6darkgray |
| Accent | #ab7fbdmediumpurple | #ab7fbdmediumpurple |
| Accent foreground | #060307black | #060307black |
| Destructive | #6f0a06maroon | #d9130dred |
| Destructive foreground | #fab0adlightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #92bd7fdarkseagreen | #92bd7fdarkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 6.34:1 | AA |
| Muted text | 5.18:1 | AA |
| Accent | 6.34:1 | AA |
| Destructive | 6.90:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 6.34:1 | AA |
| Muted text | 6.16:1 | AA |
| Accent | 6.34:1 | AA |
| Destructive | 5.18:1 | AA |
Paste this into your globals.css to use Step-son in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.008 136.052);
--foreground: oklch(0.144 0.026 134.421);
--muted: oklch(0.926 0.011 315.978);
--muted-foreground: oklch(0.485 0.039 315.733);
--popover: oklch(0.989 0.008 136.052);
--popover-foreground: oklch(0.144 0.026 134.421);
--card: oklch(0.989 0.008 136.052);
--card-foreground: oklch(0.144 0.026 134.421);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.752 0.098 136.584);
--primary-foreground: oklch(0.121 0.012 135.063);
--secondary: oklch(0.661 0.102 315.449);
--secondary-foreground: oklch(0.11 0.013 317.075);
--accent: oklch(0.661 0.102 315.449);
--accent-foreground: oklch(0.11 0.013 317.075);
--destructive: oklch(0.346 0.133 28.97);
--destructive-foreground: oklch(0.826 0.088 21.343);
--ring: oklch(0.752 0.098 136.584);
--chart-1: oklch(0.752 0.098 136.584);
--chart-2: oklch(0.661 0.102 315.449);
--chart-3: oklch(0.661 0.102 315.449);
--chart-4: oklch(0.688 0.093 315.526);
--chart-5: oklch(0.757 0.106 136.643);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.198 0.016 315.724);
--muted-foreground: oklch(0.676 0.036 315.831);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.752 0.098 136.584);
--primary-foreground: oklch(0.121 0.012 135.063);
--secondary: oklch(0.661 0.102 315.449);
--secondary-foreground: oklch(0.11 0.013 317.075);
--accent: oklch(0.661 0.102 315.449);
--accent-foreground: oklch(0.11 0.013 317.075);
--destructive: oklch(0.561 0.223 29.2);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.752 0.098 136.584);
--chart-1: oklch(0.752 0.098 136.584);
--chart-2: oklch(0.661 0.102 315.449);
--chart-3: oklch(0.661 0.102 315.449);
--chart-4: oklch(0.688 0.093 315.526);
--chart-5: oklch(0.757 0.106 136.643);
}