Tricky for shadcn/ui

Tricky is a shadcn/ui theme built around a teal primary color (#92e8cd) with pink accents (#e892ad). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#92e8cd) on a teal-tinted background (#050a09).

Color palette

TokenLightDark
Background
#ffffffwhite
#050a09black
Foreground
#02120dblack
#ffffffwhite
Card
#ffffffwhite
#050a09black
Card foreground
#02120dblack
#ffffffwhite
Popover
#ffffffwhite
#050a09black
Popover foreground
#02120dblack
#ffffffwhite
Primary
#92e8cdaquamarine
#92e8cdaquamarine
Primary foreground
#0c3b2cdarkslategray
#0c3b2cdarkslategray
Secondary
#e892adpalevioletred
#e892adpalevioletred
Secondary foreground
#3b0c1bblack
#3b0c1bblack
Muted
#ede9ealinen
#161214black
Muted foreground
#6d5059dimgray
#af929brosybrown
Accent
#e892adpalevioletred
#e892adpalevioletred
Accent foreground
#3b0c1bblack
#3b0c1bblack
Destructive
#a71b11firebrick
#e32416crimson
Destructive foreground
#fdeeeclinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#92e8cdaquamarine
#92e8cdaquamarine

Contrast

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

Light mode
Text on background19.17:1AAA
Text on card19.17:1AAA
Primary button8.70:1AAA
Secondary button7.26:1AAA
Muted text5.90:1AA
Accent7.26:1AAA
Destructive6.63:1AA
Dark mode
Text on background19.91:1AAA
Text on card19.91:1AAA
Primary button8.70:1AAA
Secondary button7.26:1AAA
Muted text6.53:1AA
Accent7.26:1AAA
Destructive4.61:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.165 0.026 172.366);
  --muted: oklch(0.936 0.005 355.761);
  --muted-foreground: oklch(0.465 0.04 357.993);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.165 0.026 172.366);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.165 0.026 172.366);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.868 0.093 171.936);
  --primary-foreground: oklch(0.316 0.056 167.697);
  --secondary: oklch(0.754 0.109 359.575);
  --secondary-foreground: oklch(0.244 0.074 5.192);
  --accent: oklch(0.754 0.109 359.575);
  --accent-foreground: oklch(0.244 0.074 5.192);
  --destructive: oklch(0.47 0.176 29.58);
  --destructive-foreground: oklch(0.96 0.017 22.419);
  --ring: oklch(0.868 0.093 171.936);
  --chart-1: oklch(0.868 0.093 171.936);
  --chart-2: oklch(0.754 0.109 359.575);
  --chart-3: oklch(0.754 0.109 359.575);
  --chart-4: oklch(0.781 0.095 358.959);
  --chart-5: oklch(0.872 0.096 171.769);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.01 175.75);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.189 0.007 356.677);
  --muted-foreground: oklch(0.69 0.036 357.074);
  --popover: oklch(0.138 0.01 175.75);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.01 175.75);
  --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.868 0.093 171.936);
  --primary-foreground: oklch(0.316 0.056 167.697);
  --secondary: oklch(0.754 0.109 359.575);
  --secondary-foreground: oklch(0.244 0.074 5.192);
  --accent: oklch(0.754 0.109 359.575);
  --accent-foreground: oklch(0.244 0.074 5.192);
  --destructive: oklch(0.588 0.224 29.663);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.868 0.093 171.936);
  --chart-1: oklch(0.868 0.093 171.936);
  --chart-2: oklch(0.754 0.109 359.575);
  --chart-3: oklch(0.754 0.109 359.575);
  --chart-4: oklch(0.781 0.095 358.959);
  --chart-5: oklch(0.872 0.096 171.769);
}