Step-daughter for shadcn/ui

Step-daughter is a shadcn/ui theme built around a vivid red primary color (#982b10) with vivid yellow accents (#986f10). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#982b10) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#140906black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#140906black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#140906black
#ffffffwhite
Primary
#982b10brown
#982b10brown
Primary foreground
#fce4dfmistyrose
#fce4dfmistyrose
Secondary
#981039brown
#981039brown
Secondary foreground
#fcdfe7mistyrose
#fcdfe7mistyrose
Muted
#dfd8dagainsboro
#272022black
Muted foreground
#6b575ddimgray
#a8949arosybrown
Accent
#986f10olive
#986f10olive
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c81609firebrick
#f6493ctomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#982b10brown
#982b10brown

Contrast

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

Light mode
Text on background19.59:1AAA
Text on card19.59:1AAA
Primary button6.41:1AA
Secondary button6.81:1AA
Muted text4.74:1AA
Accent4.52:1AA
Destructive5.88:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.41:1AA
Secondary button6.81:1AA
Muted text5.58:1AA
Accent4.52:1AA
Destructive3.54:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.153 0.021 37.561);
  --muted: oklch(0.888 0.008 356.928);
  --muted-foreground: oklch(0.479 0.027 358.222);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.153 0.021 37.561);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.153 0.021 37.561);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.456 0.149 34.481);
  --primary-foreground: oklch(0.937 0.027 34.3);
  --secondary: oklch(0.441 0.167 12.301);
  --secondary-foreground: oklch(0.929 0.034 357.681);
  --accent: oklch(0.57 0.113 81.802);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.529 0.208 29.757);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.456 0.149 34.481);
  --chart-1: oklch(0.456 0.149 34.481);
  --chart-2: oklch(0.441 0.167 12.301);
  --chart-3: oklch(0.57 0.113 81.802);
  --chart-4: oklch(0.469 0.178 12.531);
  --chart-5: oklch(0.459 0.154 34.286);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.253 0.012 357.938);
  --muted-foreground: oklch(0.687 0.024 357.658);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.456 0.149 34.481);
  --primary-foreground: oklch(0.937 0.027 34.3);
  --secondary: oklch(0.441 0.167 12.301);
  --secondary-foreground: oklch(0.929 0.034 357.681);
  --accent: oklch(0.57 0.113 81.802);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.652 0.212 28.477);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.456 0.149 34.481);
  --chart-1: oklch(0.456 0.149 34.481);
  --chart-2: oklch(0.441 0.167 12.301);
  --chart-3: oklch(0.57 0.113 81.802);
  --chart-4: oklch(0.469 0.178 12.531);
  --chart-5: oklch(0.459 0.154 34.286);
}