Step-aunt for shadcn/ui

Step-aunt is a shadcn/ui theme built around a muted light indigo primary color (#f3f3f7) with muted light yellow accents (#f7f7f3). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the muted light indigo primary (#f3f3f7) on a neutral background (#020208).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#020208black
Foreground
#040311black
#ffffffwhite
Card
#fcfcfdwhite
#020208black
Card foreground
#040311black
#ffffffwhite
Popover
#fcfcfdwhite
#020208black
Popover foreground
#040311black
#ffffffwhite
Primary
#f3f3f7whitesmoke
#f3f3f7whitesmoke
Primary foreground
#4a496fdarkslateblue
#4a496fdarkslateblue
Secondary
#f7f7f3whitesmoke
#f7f7f3whitesmoke
Secondary foreground
#313120darkslategray
#313120darkslategray
Muted
#edede3beige
#1c1c12black
Muted foreground
#595954dimgray
#ababa6darkgray
Accent
#f7f7f3whitesmoke
#f7f7f3whitesmoke
Accent foreground
#313120darkslategray
#313120darkslategray
Destructive
#6c1704maroon
#f5350aorangered
Destructive foreground
#fbb6a7lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f3f3f7whitesmoke
#f3f3f7whitesmoke

Contrast

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

Light mode
Text on background19.91:1AAA
Text on card19.91:1AAA
Primary button7.65:1AAA
Secondary button12.28:1AAA
Muted text5.98:1AA
Accent12.28:1AAA
Destructive7.01:1AAA
Dark mode
Text on background20.66:1AAA
Text on card20.66:1AAA
Primary button7.65:1AAA
Secondary button12.28:1AAA
Muted text7.42:1AAA
Accent12.28:1AAA
Destructive3.89:1AA Large

CSS variables

Paste this into your globals.css to use Step-aunt in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 287.902);
  --foreground: oklch(0.115 0.034 281.848);
  --muted: oklch(0.944 0.014 108.211);
  --muted-foreground: oklch(0.463 0.008 108.264);
  --popover: oklch(0.991 0.002 287.902);
  --popover-foreground: oklch(0.115 0.034 281.848);
  --card: oklch(0.991 0.002 287.902);
  --card-foreground: oklch(0.115 0.034 281.848);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.964 0.006 287.83);
  --primary-foreground: oklch(0.422 0.064 284.854);
  --secondary: oklch(0.975 0.006 108.046);
  --secondary-foreground: oklch(0.309 0.029 109.582);
  --accent: oklch(0.975 0.006 108.046);
  --accent-foreground: oklch(0.309 0.029 109.582);
  --destructive: oklch(0.35 0.121 33.734);
  --destructive-foreground: oklch(0.838 0.084 33.032);
  --ring: oklch(0.964 0.006 287.83);
  --chart-1: oklch(0.964 0.006 287.83);
  --chart-2: oklch(0.975 0.006 108.046);
  --chart-3: oklch(0.975 0.006 108.046);
  --chart-4: oklch(0.994 0.001 107.966);
  --chart-5: oklch(0.964 0.007 287.814);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.022 283.729);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.223 0.019 109.468);
  --muted-foreground: oklch(0.739 0.007 108.122);
  --popover: oklch(0.095 0.022 283.729);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.095 0.022 283.729);
  --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.964 0.006 287.83);
  --primary-foreground: oklch(0.422 0.064 284.854);
  --secondary: oklch(0.975 0.006 108.046);
  --secondary-foreground: oklch(0.309 0.029 109.582);
  --accent: oklch(0.975 0.006 108.046);
  --accent-foreground: oklch(0.309 0.029 109.582);
  --destructive: oklch(0.63 0.23 32.658);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.964 0.006 287.83);
  --chart-1: oklch(0.964 0.006 287.83);
  --chart-2: oklch(0.975 0.006 108.046);
  --chart-3: oklch(0.975 0.006 108.046);
  --chart-4: oklch(0.994 0.001 107.966);
  --chart-5: oklch(0.964 0.007 287.814);
}