Step-uncle is a shadcn/ui theme built around a vivid deep blue primary color (#000a24) with vivid deep indigo accents (#080024). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep blue primary (#000a24) on a blue-tinted background (#04060b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04060bblack |
| Foreground | #010204black | #f6f7f9whitesmoke |
| Card | #fcfcfcsnow | #06080eblack |
| Card foreground | #000000black | #f9f9fbghostwhite |
| Popover | #ffffffwhite | #04060bblack |
| Popover foreground | #010204black | #f6f7f9whitesmoke |
| Primary | #000a24black | #000a24black |
| Primary foreground | #bdcefflightblue | #bdcefflightblue |
| Secondary | #001b24black | #001b24black |
| Secondary foreground | #00b8f0deepskyblue | #00b8f0deepskyblue |
| Muted | #cde3e9gainsboro | #162b32darkslategray |
| Muted foreground | #5b6467dimgray | #98a1a4darkgray |
| Accent | #080024black | #080024black |
| Accent foreground | #ccbdffthistle | #ccbdffthistle |
| Destructive | #a2400bsaddlebrown | #e05910chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #000a24black | #000a24black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 12.59:1 | AAA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 4.54:1 | AA |
| Accent | 11.86:1 | AAA |
| Destructive | 6.40:1 | AA |
| Text on background | 18.88:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 12.59:1 | AAA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 5.58:1 | AA |
| Accent | 11.86:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Step-uncle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.082 0.013 261.856);
--muted: oklch(0.901 0.024 217.936);
--muted-foreground: oklch(0.496 0.012 217.908);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.082 0.013 261.856);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.152 0.059 259.079);
--primary-foreground: oklch(0.856 0.071 269.257);
--secondary: oklch(0.207 0.038 220.754);
--secondary-foreground: oklch(0.731 0.144 229.042);
--accent: oklch(0.132 0.076 286.833);
--accent-foreground: oklch(0.833 0.093 295.008);
--destructive: oklch(0.499 0.142 42.922);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.152 0.059 259.079);
--chart-1: oklch(0.152 0.059 259.079);
--chart-2: oklch(0.207 0.038 220.754);
--chart-3: oklch(0.132 0.076 286.833);
--chart-4: oklch(0.254 0.047 223.23);
--chart-5: oklch(0.151 0.061 258.333);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 264.86);
--foreground: oklch(0.975 0.003 270.096);
--muted: oklch(0.275 0.03 219.474);
--muted-foreground: oklch(0.703 0.011 217.841);
--popover: oklch(0.123 0.013 264.86);
--popover-foreground: oklch(0.975 0.003 270.096);
--card: oklch(0.136 0.015 266.013);
--card-foreground: oklch(0.983 0.002 270.104);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.152 0.059 259.079);
--primary-foreground: oklch(0.856 0.071 269.257);
--secondary: oklch(0.207 0.038 220.754);
--secondary-foreground: oklch(0.731 0.144 229.042);
--accent: oklch(0.132 0.076 286.833);
--accent-foreground: oklch(0.833 0.093 295.008);
--destructive: oklch(0.631 0.184 42.309);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.152 0.059 259.079);
--chart-1: oklch(0.152 0.059 259.079);
--chart-2: oklch(0.207 0.038 220.754);
--chart-3: oklch(0.132 0.076 286.833);
--chart-4: oklch(0.254 0.047 223.23);
--chart-5: oklch(0.151 0.061 258.333);
}