Tepee for shadcn/ui

Tepee is a shadcn/ui theme built around a deep indigo primary color (#13154e) with deep green accents (#154e13). The light mode uses a neutral background (#f8f8fb). Dark mode keeps the deep indigo primary (#13154e) on a neutral background (#040407).

Color palette

TokenLightDark
Background
#f8f8fbghostwhite
#040407black
Foreground
#000000black
#f9f9fbghostwhite
Card
#f8f8fbghostwhite
#040407black
Card foreground
#000000black
#f9f9fbghostwhite
Popover
#f8f8fbghostwhite
#040407black
Popover foreground
#000000black
#f9f9fbghostwhite
Primary
#13154emidnightblue
#13154emidnightblue
Primary foreground
#a9abealightsteelblue
#a9abealightsteelblue
Secondary
#4e1315maroon
#4e1315maroon
Secondary foreground
#eaa9ablightpink
#eaa9ablightpink
Muted
#ecdfdfgainsboro
#201313black
Muted foreground
#5b5253dimgray
#ada4a4darkgray
Accent
#154e13darkgreen
#154e13darkgreen
Accent foreground
#abeaa9palegreen
#abeaa9palegreen
Destructive
#661e0bmaroon
#e84c21chocolate
Destructive foreground
#f6bcaclightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#13154emidnightblue
#13154emidnightblue

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.88:1AAA
Primary button7.78:1AAA
Secondary button7.54:1AAA
Muted text5.82:1AA
Accent7.11:1AAA
Destructive7.24:1AAA
Dark mode
Text on background19.51:1AAA
Text on card19.51:1AAA
Primary button7.78:1AAA
Secondary button7.54:1AAA
Muted text7.40:1AAA
Accent7.11:1AAA
Destructive3.82:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.004 284.737);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.914 0.015 15.09);
  --muted-foreground: oklch(0.448 0.011 15.274);
  --popover: oklch(0.981 0.004 284.737);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.004 284.737);
  --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.239 0.101 274.23);
  --primary-foreground: oklch(0.764 0.089 282.549);
  --secondary: oklch(0.288 0.087 22.697);
  --secondary-foreground: oklch(0.797 0.076 16.693);
  --accent: oklch(0.372 0.106 142.629);
  --accent-foreground: oklch(0.877 0.108 143.79);
  --destructive: oklch(0.347 0.107 35.676);
  --destructive-foreground: oklch(0.844 0.071 36.008);
  --ring: oklch(0.239 0.101 274.23);
  --chart-1: oklch(0.239 0.101 274.23);
  --chart-2: oklch(0.288 0.087 22.697);
  --chart-3: oklch(0.372 0.106 142.629);
  --chart-4: oklch(0.316 0.098 23.005);
  --chart-5: oklch(0.237 0.105 273.469);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.01 282.612);
  --foreground: oklch(0.983 0.002 284.768);
  --muted: oklch(0.204 0.022 16.978);
  --muted-foreground: oklch(0.726 0.01 15.051);
  --popover: oklch(0.106 0.01 282.612);
  --popover-foreground: oklch(0.983 0.002 284.768);
  --card: oklch(0.106 0.01 282.612);
  --card-foreground: oklch(0.983 0.002 284.768);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.239 0.101 274.23);
  --primary-foreground: oklch(0.764 0.089 282.549);
  --secondary: oklch(0.288 0.087 22.697);
  --secondary-foreground: oklch(0.797 0.076 16.693);
  --accent: oklch(0.372 0.106 142.629);
  --accent-foreground: oklch(0.877 0.108 143.79);
  --destructive: oklch(0.63 0.199 35.465);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.239 0.101 274.23);
  --chart-1: oklch(0.239 0.101 274.23);
  --chart-2: oklch(0.288 0.087 22.697);
  --chart-3: oklch(0.372 0.106 142.629);
  --chart-4: oklch(0.316 0.098 23.005);
  --chart-5: oklch(0.237 0.105 273.469);
}