Joey for shadcn/ui

Joey is a shadcn/ui theme built around a light teal primary color (#ebf9f6) with muted teal accents (#b4cbc6). The light mode uses a neutral background (#fbfefd). Dark mode keeps the light teal primary (#ebf9f6) on a teal-tinted background (#070e0c).

Color palette

TokenLightDark
Background
#fbfefdwhite
#070e0cblack
Foreground
#020807black
#f8fcfbmintcream
Card
#fbfefdwhite
#070e0cblack
Card foreground
#020807black
#f8fcfbmintcream
Popover
#fbfefdwhite
#070e0cblack
Popover foreground
#020807black
#f8fcfbmintcream
Primary
#ebf9f6honeydew
#ebf9f6honeydew
Primary foreground
#123b33darkslategray
#123b33darkslategray
Secondary
#d0d8d6lightgrey
#1d2624black
Secondary foreground
#35403edarkslategray
#b1c4c0silver
Muted
#d2e9e5gainsboro
#162d28darkslategray
Muted foreground
#434746darkslategray
#b8bcbbsilver
Accent
#b4cbc6silver
#293d39darkslategray
Accent foreground
#1f2d2adarkslategray
#c2d6d2lightgrey
Destructive
#892406saddlebrown
#f6501eorangered
Destructive foreground
#fdd1c4peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ebf9f6honeydew
#ebf9f6honeydew

Contrast

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

Light mode
Text on background19.90:1AAA
Text on card19.90:1AAA
Primary button11.44:1AAA
Secondary button7.37:1AAA
Muted text7.44:1AAA
Accent8.36:1AAA
Destructive6.49:1AA
Dark mode
Text on background18.87:1AAA
Text on card18.87:1AAA
Primary button11.44:1AAA
Secondary button8.53:1AAA
Muted text7.62:1AAA
Accent7.62:1AAA
Destructive3.45:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 183.085);
  --foreground: oklch(0.126 0.015 183.018);
  --muted: oklch(0.917 0.025 182.416);
  --muted-foreground: oklch(0.393 0.006 182.791);
  --popover: oklch(0.995 0.004 183.085);
  --popover-foreground: oklch(0.126 0.015 183.018);
  --card: oklch(0.995 0.004 183.085);
  --card-foreground: oklch(0.126 0.015 183.018);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.972 0.015 182.761);
  --primary-foreground: oklch(0.32 0.048 177.516);
  --secondary: oklch(0.874 0.009 182.911);
  --secondary-foreground: oklch(0.361 0.014 182.059);
  --accent: oklch(0.823 0.026 182.313);
  --accent-foreground: oklch(0.284 0.019 181.182);
  --destructive: oklch(0.42 0.141 35.489);
  --destructive-foreground: oklch(0.895 0.052 37.593);
  --ring: oklch(0.972 0.015 182.761);
  --chart-1: oklch(0.972 0.015 182.761);
  --chart-2: oklch(0.874 0.009 182.911);
  --chart-3: oklch(0.823 0.026 182.313);
  --chart-4: oklch(0.897 0.007 182.966);
  --chart-5: oklch(0.972 0.016 182.738);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.012 181.553);
  --foreground: oklch(0.987 0.004 183.077);
  --muted: oklch(0.275 0.031 179.554);
  --muted-foreground: oklch(0.792 0.005 183.021);
  --popover: oklch(0.155 0.012 181.553);
  --popover-foreground: oklch(0.987 0.004 183.077);
  --card: oklch(0.155 0.012 181.553);
  --card-foreground: oklch(0.987 0.004 183.077);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.972 0.015 182.761);
  --primary-foreground: oklch(0.32 0.048 177.516);
  --secondary: oklch(0.258 0.014 181.673);
  --secondary-foreground: oklch(0.804 0.022 182.432);
  --accent: oklch(0.341 0.026 180.93);
  --accent-foreground: oklch(0.859 0.022 182.489);
  --destructive: oklch(0.656 0.21 36.028);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.972 0.015 182.761);
  --chart-1: oklch(0.972 0.015 182.761);
  --chart-2: oklch(0.258 0.014 181.673);
  --chart-3: oklch(0.341 0.026 180.93);
  --chart-4: oklch(0.292 0.016 181.587);
  --chart-5: oklch(0.972 0.016 182.738);
}