Athlete for shadcn/ui

Athlete is a shadcn/ui theme built around a muted teal primary color (#4e6e64) with muted light teal accents (#cddad6). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#4e6e64) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010403black
#f6f8f8whitesmoke
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#f9fbfamintcream
Popover
#ffffffwhite
#000000black
Popover foreground
#010403black
#f6f8f8whitesmoke
Primary
#4e6e64dimgray
#4e6e64dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e6eae9lavender
#1d201fblack
Secondary foreground
#475752darkslategray
#b4bbb9silver
Muted
#cfe3dcgainsboro
#1c302adarkslategray
Muted foreground
#4a645bdimgray
#9bb5addarkgray
Accent
#cddad6lightgrey
#26312ddarkslategray
Accent foreground
#32433edarkslategray
#bdccc7silver
Destructive
#921502darkred
#ec2304orangered
Destructive foreground
#fecfc8pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#4e6e64dimgray
#4e6e64dimgray

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.54:1AAA
Primary button5.59:1AA
Secondary button6.29:1AA
Muted text4.78:1AA
Accent7.27:1AAA
Destructive6.43:1AA
Dark mode
Text on background19.70:1AAA
Text on card19.89:1AAA
Primary button5.59:1AA
Secondary button8.39:1AAA
Muted text6.36:1AA
Accent8.10:1AAA
Destructive4.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.1 0.015 174.879);
  --muted: oklch(0.898 0.023 173.822);
  --muted-foreground: oklch(0.479 0.034 172.314);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.1 0.015 174.879);
  --card: oklch(0.992 0 161.565);
  --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.511 0.041 171.985);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.934 0.005 174.421);
  --secondary-foreground: oklch(0.441 0.021 173.086);
  --accent: oklch(0.878 0.015 174.075);
  --accent-foreground: oklch(0.367 0.025 172.455);
  --destructive: oklch(0.424 0.16 31.54);
  --destructive-foreground: oklch(0.893 0.055 28.369);
  --ring: oklch(0.511 0.041 171.985);
  --chart-1: oklch(0.511 0.041 171.985);
  --chart-2: oklch(0.934 0.005 174.421);
  --chart-3: oklch(0.878 0.015 174.075);
  --chart-4: oklch(0.956 0.004 174.48);
  --chart-5: oklch(0.517 0.047 171.532);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.002 174.52);
  --muted: oklch(0.291 0.029 171.253);
  --muted-foreground: oklch(0.752 0.031 173.325);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.002 174.52);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.986 0.002 174.543);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.511 0.041 171.985);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.24 0.005 173.978);
  --secondary-foreground: oklch(0.786 0.009 174.266);
  --accent: oklch(0.301 0.017 172.853);
  --accent-foreground: oklch(0.832 0.018 173.943);
  --destructive: oklch(0.603 0.233 30.987);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.511 0.041 171.985);
  --chart-1: oklch(0.511 0.041 171.985);
  --chart-2: oklch(0.24 0.005 173.978);
  --chart-3: oklch(0.301 0.017 172.853);
  --chart-4: oklch(0.273 0.006 173.937);
  --chart-5: oklch(0.517 0.047 171.532);
}