Team Fav for shadcn/ui

Team Fav is a shadcn/ui theme built around an orange primary color (#bea069) with near-white accents (#f5f5f4). The light mode uses a neutral background (#ffffff). Dark mode switches to a vivid yellow primary (#facc15) on an orange-tinted background (#0c0a09).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0a09black
Foreground
#0a1e2cblack
#fafaf9snow
Card
#f7f7f7whitesmoke
#0c0a09black
Card foreground
#0a1e2cblack
#fafaf9snow
Popover
#ffffffwhite
#0c0a09black
Popover foreground
#0c0a09black
#fafaf9snow
Primary
#bea069darkkhaki
#facc15gold
Primary foreground
#ffffffwhite
#422006maroon
Secondary
#2f4e68darkslategray
#292524darkslategray
Secondary foreground
#ffffffwhite
#fafaf9snow
Muted
#f5f5f4whitesmoke
#292524darkslategray
Muted foreground
#78716cdimgray
#a8a29edarkgray
Accent
#f5f5f4whitesmoke
#292524darkslategray
Accent foreground
#0a1e2cblack
#fafaf9snow
Destructive
#cd0d0dfirebrick
#7f1d1dmaroon
Destructive foreground
#fafaf9snow
#fafaf9snow
Border
#e7e5e4gainsboro
#292524darkslategray
Input
#e7e5e4gainsboro
#292524darkslategray
Ring
#2f4e68darkslategray
#a16207saddlebrown

Contrast

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

Light mode
Text on background17.00:1AAA
Text on card15.92:1AAA
Primary button2.49:1Fail
Secondary button8.71:1AAA
Muted text4.39:1AA Large
Accent15.59:1AAA
Destructive5.49:1AA
Dark mode
Text on background18.92:1AAA
Text on card18.92:1AAA
Primary button9.50:1AAA
Secondary button14.52:1AAA
Muted text6.01:1AA
Accent14.52:1AAA
Destructive9.58:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.226 0.038 241.619);
  --muted: oklch(0.97 0.001 106.424);
  --muted-foreground: oklch(0.553 0.012 58.069);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.147 0.004 49.314);
  --card: oklch(0.977 0 180);
  --card-foreground: oklch(0.226 0.038 241.619);
  --border: oklch(0.923 0.003 48.716);
  --input: oklch(0.923 0.003 48.716);
  --primary: oklch(0.72 0.081 81.979);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.412 0.057 245.124);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.97 0.001 106.424);
  --accent-foreground: oklch(0.226 0.038 241.619);
  --destructive: oklch(0.536 0.215 28.73);
  --destructive-foreground: oklch(0.985 0.001 106.424);
  --ring: oklch(0.412 0.057 245.124);
  --chart-1: oklch(0.72 0.081 81.979);
  --chart-2: oklch(0.412 0.057 245.124);
  --chart-3: oklch(0.97 0.001 106.424);
  --chart-4: oklch(0.44 0.062 245.167);
  --chart-5: oklch(0.725 0.086 81.826);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.147 0.004 49.314);
  --foreground: oklch(0.985 0.001 106.424);
  --muted: oklch(0.269 0.006 34.297);
  --muted-foreground: oklch(0.716 0.009 56.26);
  --popover: oklch(0.147 0.004 49.314);
  --popover-foreground: oklch(0.985 0.001 106.424);
  --card: oklch(0.147 0.004 49.314);
  --card-foreground: oklch(0.985 0.001 106.424);
  --border: oklch(0.269 0.006 34.297);
  --input: oklch(0.269 0.006 34.297);
  --primary: oklch(0.86 0.173 91.838);
  --primary-foreground: oklch(0.285 0.064 53.823);
  --secondary: oklch(0.269 0.006 34.297);
  --secondary-foreground: oklch(0.985 0.001 106.424);
  --accent: oklch(0.269 0.006 34.297);
  --accent-foreground: oklch(0.985 0.001 106.424);
  --destructive: oklch(0.396 0.133 25.721);
  --destructive-foreground: oklch(0.985 0.001 106.424);
  --ring: oklch(0.554 0.121 66.531);
  --chart-1: oklch(0.86 0.173 91.838);
  --chart-2: oklch(0.269 0.006 34.297);
  --chart-3: oklch(0.269 0.006 34.297);
  --chart-4: oklch(0.299 0.007 34.298);
  --chart-5: oklch(0.868 0.175 91.545);
}