Talking for shadcn/ui

Talking is a shadcn/ui theme built around a teal primary color (#3c9f7b) with pink accents (#9f3c60). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the teal primary (#3c9f7b) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#010403black
Foreground
#020d09black
#ffffffwhite
Card
#f4fbf8mintcream
#030706black
Card foreground
#010906black
#ffffffwhite
Popover
#f8fcfamintcream
#010403black
Popover foreground
#020d09black
#ffffffwhite
Primary
#3c9f7bmediumseagreen
#3c9f7bmediumseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#9f3c60sienna
#9f3c60sienna
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e4d3d9gainsboro
#2c1b21black
Muted foreground
#6b575edimgray
#a8949crosybrown
Accent
#9f3c60sienna
#9f3c60sienna
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#bc4f15chocolate
#e86e2cchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3c9f7bmediumseagreen
#3c9f7bmediumseagreen

Contrast

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

Light mode
Text on background19.07:1AAA
Text on card19.13:1AAA
Primary button3.26:1AA Large
Secondary button6.36:1AA
Muted text4.63:1AA
Accent6.36:1AA
Destructive4.90:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.22:1AAA
Primary button3.26:1AA Large
Secondary button6.36:1AA
Muted text5.72:1AA
Accent6.36:1AA
Destructive6.66:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 172.429);
  --foreground: oklch(0.146 0.023 171.832);
  --muted: oklch(0.882 0.021 353.239);
  --muted-foreground: oklch(0.479 0.028 354.164);
  --popover: oklch(0.988 0.005 172.429);
  --popover-foreground: oklch(0.146 0.023 171.832);
  --card: oklch(0.981 0.007 172.354);
  --card-foreground: oklch(0.127 0.02 172.912);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.635 0.108 165.561);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.504 0.136 0.402);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.504 0.136 0.402);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.563 0.155 43.778);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.635 0.108 165.561);
  --chart-1: oklch(0.635 0.108 165.561);
  --chart-2: oklch(0.504 0.136 0.402);
  --chart-3: oklch(0.504 0.136 0.402);
  --chart-4: oklch(0.529 0.143 0.469);
  --chart-5: oklch(0.642 0.113 165.109);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.01 172.796);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.247 0.029 355.754);
  --muted-foreground: oklch(0.687 0.025 353.595);
  --popover: oklch(0.097 0.01 172.796);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.123 0.013 172.796);
  --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.635 0.108 165.561);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.504 0.136 0.402);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.504 0.136 0.402);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.673 0.169 45.341);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.635 0.108 165.561);
  --chart-1: oklch(0.635 0.108 165.561);
  --chart-2: oklch(0.504 0.136 0.402);
  --chart-3: oklch(0.504 0.136 0.402);
  --chart-4: oklch(0.529 0.143 0.469);
  --chart-5: oklch(0.642 0.113 165.109);
}