Tepee for shadcn/ui

Tepee is a shadcn/ui theme built around a muted light green primary color (#c3d0c6) with muted light purple accents (#d0c3cd). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#c3d0c6) on a neutral background (#030704).

Color palette

TokenLightDark
Background
#ffffffwhite
#030704black
Foreground
#041508black
#ffffffwhite
Card
#ffffffwhite
#030704black
Card foreground
#041508black
#ffffffwhite
Popover
#ffffffwhite
#030704black
Popover foreground
#041508black
#ffffffwhite
Primary
#c3d0c6silver
#c3d0c6silver
Primary foreground
#2b362ddarkslategray
#2b362ddarkslategray
Secondary
#d0c3cdthistle
#d0c3cdthistle
Secondary foreground
#362b34darkslategray
#362b34darkslategray
Muted
#f3e3eflinen
#1c0c19black
Muted foreground
#6c5667dimgray
#a993a4darkgray
Accent
#d0c3cdthistle
#d0c3cdthistle
Accent foreground
#362b34darkslategray
#362b34darkslategray
Destructive
#d9400dorangered
#e7440dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c3d0c6silver
#c3d0c6silver

Contrast

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

Light mode
Text on background18.81:1AAA
Text on card18.81:1AAA
Primary button7.87:1AAA
Secondary button7.96:1AAA
Muted text5.36:1AA
Accent7.96:1AAA
Destructive4.48:1AA Large
Dark mode
Text on background20.27:1AAA
Text on card20.27:1AAA
Primary button7.87:1AAA
Secondary button7.96:1AAA
Muted text6.60:1AA
Accent7.96:1AAA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.176 0.036 149.969);
  --muted: oklch(0.931 0.024 333.009);
  --muted-foreground: oklch(0.481 0.038 333.781);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.176 0.036 149.969);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.176 0.036 149.969);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.845 0.02 152.249);
  --primary-foreground: oklch(0.32 0.022 151.464);
  --secondary: oklch(0.831 0.02 332.982);
  --secondary-foreground: oklch(0.304 0.023 333.745);
  --accent: oklch(0.831 0.02 332.982);
  --accent-foreground: oklch(0.304 0.023 333.745);
  --destructive: oklch(0.591 0.197 35.892);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.845 0.02 152.249);
  --chart-1: oklch(0.845 0.02 152.249);
  --chart-2: oklch(0.831 0.02 332.982);
  --chart-3: oklch(0.831 0.02 332.982);
  --chart-4: oklch(0.855 0.017 332.919);
  --chart-5: oklch(0.846 0.024 152.156);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.012 152.157);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.186 0.035 335.325);
  --muted-foreground: oklch(0.689 0.034 333.372);
  --popover: oklch(0.12 0.012 152.157);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.12 0.012 152.157);
  --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.845 0.02 152.249);
  --primary-foreground: oklch(0.32 0.022 151.464);
  --secondary: oklch(0.831 0.02 332.982);
  --secondary-foreground: oklch(0.304 0.023 333.745);
  --accent: oklch(0.831 0.02 332.982);
  --accent-foreground: oklch(0.304 0.023 333.745);
  --destructive: oklch(0.62 0.208 35.817);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.845 0.02 152.249);
  --chart-1: oklch(0.845 0.02 152.249);
  --chart-2: oklch(0.831 0.02 332.982);
  --chart-3: oklch(0.831 0.02 332.982);
  --chart-4: oklch(0.855 0.017 332.919);
  --chart-5: oklch(0.846 0.024 152.156);
}