Stepson is a shadcn/ui theme built around a muted deep red primary color (#2e1a1e) with muted deep teal accents (#1a2e2a). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep red primary (#2e1a1e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #090103black | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040101black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #040101black | #ffffffwhite |
| Primary | #2e1a1eblack | #2e1a1eblack |
| Primary foreground | #cfaab2silver | #cfaab2silver |
| Secondary | #1a2e2adarkslategray | #1a2e2adarkslategray |
| Secondary foreground | #aacfc8lightsteelblue | #aacfc8lightsteelblue |
| Muted | #e3edeblavender | #121c1ablack |
| Muted foreground | #656767dimgray | #989a9adarkgray |
| Accent | #1a2e2adarkslategray | #1a2e2adarkslategray |
| Accent foreground | #aacfc8lightsteelblue | #aacfc8lightsteelblue |
| Destructive | #771b0dmaroon | #e9513atomato |
| Destructive foreground | #f8c6bfpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2e1a1eblack | #2e1a1eblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.64:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 8.52:1 | AAA |
| Muted text | 4.76:1 | AA |
| Accent | 8.52:1 | AAA |
| Destructive | 7.06:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 8.52:1 | AAA |
| Muted text | 6.16:1 | AA |
| Accent | 8.52:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Stepson in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.101 0.025 3.573);
--muted: oklch(0.938 0.011 182.875);
--muted-foreground: oklch(0.512 0.003 183.045);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.08 0.02 3.573);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.08 0.02 3.573);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.245 0.032 6.712);
--primary-foreground: oklch(0.774 0.044 4.702);
--secondary: oklch(0.281 0.027 180.185);
--secondary-foreground: oklch(0.826 0.041 181.774);
--accent: oklch(0.281 0.027 180.185);
--accent-foreground: oklch(0.826 0.041 181.774);
--destructive: oklch(0.378 0.129 31.661);
--destructive-foreground: oklch(0.869 0.058 28.42);
--ring: oklch(0.245 0.032 6.712);
--chart-1: oklch(0.245 0.032 6.712);
--chart-2: oklch(0.281 0.027 180.185);
--chart-3: oklch(0.281 0.027 180.185);
--chart-4: oklch(0.317 0.032 180.036);
--chart-5: oklch(0.244 0.036 7.138);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.215 0.014 181.202);
--muted-foreground: oklch(0.684 0.002 183.087);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.245 0.032 6.712);
--primary-foreground: oklch(0.774 0.044 4.702);
--secondary: oklch(0.281 0.027 180.185);
--secondary-foreground: oklch(0.826 0.041 181.774);
--accent: oklch(0.281 0.027 180.185);
--accent-foreground: oklch(0.826 0.041 181.774);
--destructive: oklch(0.639 0.192 31.434);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.245 0.032 6.712);
--chart-1: oklch(0.245 0.032 6.712);
--chart-2: oklch(0.281 0.027 180.185);
--chart-3: oklch(0.281 0.027 180.185);
--chart-4: oklch(0.317 0.032 180.036);
--chart-5: oklch(0.244 0.036 7.138);
}