Step-uncle is a shadcn/ui theme built around a teal primary color (#7fd2c3) with yellow accents (#d2c37f). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#7fd2c3) on a teal-tinted background (#05100e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05100eblack |
| Foreground | #031713black | #f5f9f9whitesmoke |
| Card | #fcfcfcsnow | #061411black |
| Card foreground | #02120fblack | #f9fbfbghostwhite |
| Popover | #fcfcfcsnow | #061411black |
| Popover foreground | #02120fblack | #f9fbfbghostwhite |
| Primary | #7fd2c3mediumaquamarine | #7fd2c3mediumaquamarine |
| Primary foreground | #081714black | #081714black |
| Secondary | #c37fd2orchid | #c37fd2orchid |
| Secondary foreground | #140817black | #140817black |
| Muted | #e0cde4gainsboro | #2e1b32darkslategray |
| Muted foreground | #4d4c4ddarkslategray | #b3b2b3darkgray |
| Accent | #d2c37fburlywood | #d2c37fburlywood |
| Accent foreground | #171408black | #171408black |
| Destructive | #652706maroon | #e3580dchocolate |
| Destructive foreground | #fac2a3navajowhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7fd2c3mediumaquamarine | #7fd2c3mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.48:1 | AAA |
| Text on card | 18.74:1 | AAA |
| Primary button | 10.40:1 | AAA |
| Secondary button | 6.74:1 | AA |
| Muted text | 5.72:1 | AA |
| Accent | 10.36:1 | AAA |
| Destructive | 7.18:1 | AAA |
| Text on background | 18.26:1 | AAA |
| Text on card | 18.17:1 | AAA |
| Primary button | 10.40:1 | AAA |
| Secondary button | 6.74:1 | AA |
| Muted text | 7.56:1 | AAA |
| Accent | 10.36:1 | AAA |
| Destructive | 3.71: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.184 0.028 180.149);
--muted: oklch(0.871 0.037 320.03);
--muted-foreground: oklch(0.417 0.003 319.998);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.166 0.025 181.215);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.166 0.025 181.215);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.806 0.085 181.046);
--primary-foreground: oklch(0.189 0.021 180.84);
--secondary: oklch(0.695 0.139 320.095);
--secondary-foreground: oklch(0.16 0.035 320.155);
--accent: oklch(0.813 0.089 97.054);
--accent-foreground: oklch(0.19 0.023 97.182);
--destructive: oklch(0.359 0.099 43.964);
--destructive-foreground: oklch(0.856 0.076 49.611);
--ring: oklch(0.806 0.085 181.046);
--chart-1: oklch(0.806 0.085 181.046);
--chart-2: oklch(0.695 0.139 320.095);
--chart-3: oklch(0.813 0.089 97.054);
--chart-4: oklch(0.721 0.126 320.099);
--chart-5: oklch(0.811 0.089 180.855);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.018 182.056);
--foreground: oklch(0.98 0.004 184.198);
--muted: oklch(0.256 0.049 320.097);
--muted-foreground: oklch(0.764 0.003 319.994);
--popover: oklch(0.175 0.02 181.139);
--popover-foreground: oklch(0.987 0.003 184.237);
--card: oklch(0.175 0.02 181.139);
--card-foreground: oklch(0.987 0.003 184.237);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.806 0.085 181.046);
--primary-foreground: oklch(0.189 0.021 180.84);
--secondary: oklch(0.695 0.139 320.095);
--secondary-foreground: oklch(0.16 0.035 320.155);
--accent: oklch(0.813 0.089 97.054);
--accent-foreground: oklch(0.19 0.023 97.182);
--destructive: oklch(0.634 0.187 41.937);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.806 0.085 181.046);
--chart-1: oklch(0.806 0.085 181.046);
--chart-2: oklch(0.695 0.139 320.095);
--chart-3: oklch(0.813 0.089 97.054);
--chart-4: oklch(0.721 0.126 320.099);
--chart-5: oklch(0.811 0.089 180.855);
}