Step-uncle is a shadcn/ui theme built around a deep green primary color (#11280b) with deep purple accents (#220b28). The light mode uses a neutral background (#fcfefb). Dark mode keeps the deep green primary (#11280b) on a green-tinted background (#060a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #060a05black |
| Foreground | #030802black | #ffffffwhite |
| Card | #f8fdf7mintcream | #080e06black |
| Card foreground | #020401black | #ffffffwhite |
| Popover | #fcfefbwhite | #060a05black |
| Popover foreground | #030802black | #ffffffwhite |
| Primary | #11280bblack | #11280bblack |
| Primary foreground | #56c936limegreen | #56c936limegreen |
| Secondary | #220b28black | #220b28black |
| Secondary foreground | #cc86dforchid | #cc86dforchid |
| Muted | #e0d9e2gainsboro | #241d26black |
| Muted foreground | #5d5260dimgray | #aa9faddarkgray |
| Accent | #220b28black | #220b28black |
| Accent foreground | #cc86dforchid | #cc86dforchid |
| Destructive | #5f1107maroon | #ef331aorangered |
| Destructive foreground | #f8aaa0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #11280bblack | #11280bblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 5.36:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 7.14:1 | AAA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 4.06:1 | AA Large |
Paste this into your globals.css to use Step-uncle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 138.892);
--foreground: oklch(0.124 0.023 137.086);
--muted: oklch(0.894 0.015 318.885);
--muted-foreground: oklch(0.455 0.027 318.869);
--popover: oklch(0.994 0.005 138.892);
--popover-foreground: oklch(0.124 0.023 137.086);
--card: oklch(0.989 0.01 138.894);
--card-foreground: oklch(0.099 0.018 137.086);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.251 0.059 139.36);
--primary-foreground: oklch(0.742 0.211 139.835);
--secondary: oklch(0.201 0.063 318.434);
--secondary-foreground: oklch(0.723 0.145 318.745);
--accent: oklch(0.201 0.063 318.434);
--accent-foreground: oklch(0.723 0.145 318.745);
--destructive: oklch(0.319 0.113 31.183);
--destructive-foreground: oklch(0.811 0.094 27.641);
--ring: oklch(0.251 0.059 139.36);
--chart-1: oklch(0.251 0.059 139.36);
--chart-2: oklch(0.201 0.063 318.434);
--chart-3: oklch(0.201 0.063 318.434);
--chart-4: oklch(0.232 0.078 318.324);
--chart-5: oklch(0.253 0.062 139.414);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.017 137.75);
--foreground: oklch(1 0 180);
--muted: oklch(0.241 0.02 318.857);
--muted-foreground: oklch(0.715 0.024 318.879);
--popover: oklch(0.139 0.017 137.75);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.154 0.019 138.117);
--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.251 0.059 139.36);
--primary-foreground: oklch(0.742 0.211 139.835);
--secondary: oklch(0.201 0.063 318.434);
--secondary-foreground: oklch(0.723 0.145 318.745);
--accent: oklch(0.201 0.063 318.434);
--accent-foreground: oklch(0.723 0.145 318.745);
--destructive: oklch(0.619 0.225 31.025);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.251 0.059 139.36);
--chart-1: oklch(0.251 0.059 139.36);
--chart-2: oklch(0.201 0.063 318.434);
--chart-3: oklch(0.201 0.063 318.434);
--chart-4: oklch(0.232 0.078 318.324);
--chart-5: oklch(0.253 0.062 139.414);
}