Step-uncle is a shadcn/ui theme built around a vivid deep green primary color (#005620) with muted light green accents (#dee7e2). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the vivid deep green primary (#005620) on a neutral background (#030704).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #030704black |
| Foreground | #010402black | #fcfdfcwhite |
| Card | #f4fbf6mintcream | #040b07black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcf9mintcream | #030704black |
| Popover foreground | #010402black | #fcfdfcwhite |
| Primary | #005620darkgreen | #005620darkgreen |
| Primary foreground | #25fe74springgreen | #25fe74springgreen |
| Secondary | #dee7e2gainsboro | #161d18black |
| Secondary foreground | #3e5647darkslategray | #a7beafdarkgray |
| Muted | #daece1gainsboro | #13251ablack |
| Muted foreground | #47524bdarkslategray | #adb8b1darkgray |
| Accent | #dee7e2gainsboro | #161d18black |
| Accent foreground | #3e5647darkslategray | #a7beafdarkgray |
| Destructive | #732c02saddlebrown | #fa6f1echocolate |
| Destructive foreground | #fdc9aanavajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #005620darkgreen | #005620darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 6.35:1 | AA |
| Muted text | 6.60:1 | AA |
| Accent | 6.35:1 | AA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 8.66:1 | AAA |
| Muted text | 7.87:1 | AAA |
| Accent | 8.66:1 | AAA |
| Destructive | 7.36:1 | AAA |
Paste this into your globals.css to use Step-uncle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 158.587);
--foreground: oklch(0.099 0.018 158.427);
--muted: oklch(0.926 0.024 158.157);
--muted-foreground: oklch(0.426 0.018 157.797);
--popover: oklch(0.987 0.006 158.587);
--popover-foreground: oklch(0.099 0.018 158.427);
--card: oklch(0.981 0.009 158.519);
--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.396 0.113 148.448);
--primary-foreground: oklch(0.873 0.24 148.925);
--secondary: oklch(0.921 0.012 158.43);
--secondary-foreground: oklch(0.428 0.038 156.616);
--accent: oklch(0.921 0.012 158.43);
--accent-foreground: oklch(0.428 0.038 156.616);
--destructive: oklch(0.39 0.111 44.145);
--destructive-foreground: oklch(0.874 0.073 51.516);
--ring: oklch(0.396 0.113 148.448);
--chart-1: oklch(0.396 0.113 148.448);
--chart-2: oklch(0.921 0.012 158.43);
--chart-3: oklch(0.921 0.012 158.43);
--chart-4: oklch(0.943 0.009 158.515);
--chart-5: oklch(0.4 0.115 148.272);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.015 158.533);
--foreground: oklch(0.993 0.001 158.693);
--muted: oklch(0.244 0.031 155.488);
--muted-foreground: oklch(0.772 0.015 158.286);
--popover: oklch(0.122 0.015 158.533);
--popover-foreground: oklch(0.993 0.001 158.693);
--card: oklch(0.14 0.017 158.455);
--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.396 0.113 148.448);
--primary-foreground: oklch(0.873 0.24 148.925);
--secondary: oklch(0.223 0.015 157.207);
--secondary-foreground: oklch(0.78 0.032 157.79);
--accent: oklch(0.223 0.015 157.207);
--accent-foreground: oklch(0.78 0.032 157.79);
--destructive: oklch(0.701 0.19 44.94);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.396 0.113 148.448);
--chart-1: oklch(0.396 0.113 148.448);
--chart-2: oklch(0.223 0.015 157.207);
--chart-3: oklch(0.223 0.015 157.207);
--chart-4: oklch(0.257 0.018 157.072);
--chart-5: oklch(0.4 0.115 148.272);
}