Step-uncle for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background18.48:1AAA
Text on card18.74:1AAA
Primary button10.40:1AAA
Secondary button6.74:1AA
Muted text5.72:1AA
Accent10.36:1AAA
Destructive7.18:1AAA
Dark mode
Text on background18.26:1AAA
Text on card18.17:1AAA
Primary button10.40:1AAA
Secondary button6.74:1AA
Muted text7.56:1AAA
Accent10.36:1AAA
Destructive3.71:1AA Large

CSS variables

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);
}