Steeple for shadcn/ui

Steeple is a shadcn/ui theme built around a vivid deep teal primary color (#00857e) with vivid deep yellow accents (#857e00). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#00857e) on a teal-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#ffffffwhite
#050a0ablack
Foreground
#030d0cblack
#fcfdfdwhite
Card
#fcfcfcsnow
#070e0dblack
Card foreground
#020808black
#ffffffwhite
Popover
#ffffffwhite
#050a0ablack
Popover foreground
#030d0cblack
#fcfdfdwhite
Primary
#00857eteal
#00857eteal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#7e0085purple
#7e0085purple
Secondary foreground
#fbb8fflavender
#fbb8fflavender
Muted
#f0eaf1whitesmoke
#150e15black
Muted foreground
#4d4d4ddarkslategray
#b3b3b3darkgray
Accent
#857e00olive
#857e00olive
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8e3306saddlebrown
#f55c0forangered
Destructive foreground
#fddac9bisque
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#00857eteal
#00857eteal

Contrast

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

Light mode
Text on background19.68:1AAA
Text on card19.74:1AAA
Primary button4.53:1AA
Secondary button6.02:1AA
Muted text7.13:1AAA
Accent4.22:1AA Large
Destructive6.10:1AA
Dark mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button4.53:1AA
Secondary button6.02:1AA
Muted text9.03:1AAA
Accent4.22:1AA Large
Destructive6.41:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.146 0.018 191.951);
  --muted: oklch(0.943 0.011 324.2);
  --muted-foreground: oklch(0.418 0 173.29);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.146 0.018 191.951);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.127 0.016 192.318);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.555 0.096 188.631);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.421 0.196 325.709);
  --secondary-foreground: oklch(0.867 0.12 324.882);
  --accent: oklch(0.58 0.124 105.968);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.447 0.133 41.314);
  --destructive-foreground: oklch(0.914 0.045 48.207);
  --ring: oklch(0.555 0.096 188.631);
  --chart-1: oklch(0.555 0.096 188.631);
  --chart-2: oklch(0.421 0.196 325.709);
  --chart-3: oklch(0.58 0.124 105.968);
  --chart-4: oklch(0.455 0.212 325.682);
  --chart-5: oklch(0.561 0.098 188.546);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.01 192.85);
  --foreground: oklch(0.993 0.001 193.588);
  --muted: oklch(0.177 0.017 324.665);
  --muted-foreground: oklch(0.765 0 172.405);
  --popover: oklch(0.139 0.01 192.85);
  --popover-foreground: oklch(0.993 0.001 193.588);
  --card: oklch(0.154 0.011 192.374);
  --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.555 0.096 188.631);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.421 0.196 325.709);
  --secondary-foreground: oklch(0.867 0.12 324.882);
  --accent: oklch(0.58 0.124 105.968);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.668 0.202 40.74);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.555 0.096 188.631);
  --chart-1: oklch(0.555 0.096 188.631);
  --chart-2: oklch(0.421 0.196 325.709);
  --chart-3: oklch(0.58 0.124 105.968);
  --chart-4: oklch(0.455 0.212 325.682);
  --chart-5: oklch(0.561 0.098 188.546);
}