Steward for shadcn/ui

Steward is a shadcn/ui theme built around a muted teal primary color (#82aba5) with muted teal accents (#b2bdbc). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted teal primary (#82aba5) on a teal-tinted background (#060f0d).

Color palette

TokenLightDark
Background
#fbfefdwhite
#060f0dblack
Foreground
#010403black
#fcfdfdwhite
Card
#f8fcfbmintcream
#071211black
Card foreground
#000000black
#ffffffwhite
Popover
#f8fcfbmintcream
#071211black
Popover foreground
#000000black
#ffffffwhite
Primary
#82aba5darkseagreen
#82aba5darkseagreen
Primary foreground
#000000black
#000000black
Secondary
#cbcdcclightgrey
#2b3b39darkslategray
Secondary foreground
#323433darkslategray
#c4d4d2lightgrey
Muted
#e7f3f1whitesmoke
#0c1816black
Muted foreground
#5d6564dimgray
#9aa2a1darkgray
Accent
#b2bdbcsilver
#385c56darkslategray
Accent foreground
#1c2120black
#dceae8gainsboro
Destructive
#d14a10chocolate
#ee5e20chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#82aba5darkseagreen
#82aba5darkseagreen

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card20.30:1AAA
Primary button8.33:1AAA
Secondary button7.83:1AAA
Muted text5.27:1AA
Accent8.47:1AAA
Destructive4.48:1AA Large
Dark mode
Text on background19.08:1AAA
Text on card18.98:1AAA
Primary button8.33:1AAA
Secondary button7.65:1AAA
Muted text6.96:1AA
Accent6.00:1AA
Destructive6.26:1AA

CSS variables

Paste this into your globals.css to use Steward in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 186.536);
  --foreground: oklch(0.099 0.011 186.191);
  --muted: oklch(0.955 0.013 186.246);
  --muted-foreground: oklch(0.499 0.01 186.093);
  --popover: oklch(0.988 0.005 186.477);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.005 186.477);
  --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.71 0.046 184.85);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.846 0.001 186.561);
  --secondary-foreground: oklch(0.322 0.001 186.481);
  --accent: oklch(0.79 0.013 186.178);
  --accent-foreground: oklch(0.243 0.007 185.815);
  --destructive: oklch(0.588 0.181 39.166);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.71 0.046 184.85);
  --chart-1: oklch(0.71 0.046 184.85);
  --chart-2: oklch(0.846 0.001 186.561);
  --chart-3: oklch(0.79 0.013 186.178);
  --chart-4: oklch(0.869 0.001 186.567);
  --chart-5: oklch(0.716 0.052 184.605);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.015 184.738);
  --foreground: oklch(0.993 0.001 186.581);
  --muted: oklch(0.197 0.018 184.051);
  --muted-foreground: oklch(0.706 0.009 186.269);
  --popover: oklch(0.172 0.017 184.022);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.172 0.017 184.022);
  --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.71 0.046 184.85);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.338 0.022 184.871);
  --secondary-foreground: oklch(0.857 0.018 186.058);
  --accent: oklch(0.445 0.042 183.911);
  --accent-foreground: oklch(0.925 0.015 186.192);
  --destructive: oklch(0.661 0.191 40.353);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.71 0.046 184.85);
  --chart-1: oklch(0.71 0.046 184.85);
  --chart-2: oklch(0.338 0.022 184.871);
  --chart-3: oklch(0.445 0.042 183.911);
  --chart-4: oklch(0.37 0.024 184.824);
  --chart-5: oklch(0.716 0.052 184.605);
}