Talent for shadcn/ui

Talent is a shadcn/ui theme built around a muted red primary color (#ab9f9c) with neutral gray accents (#d7d6d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#ab9f9c) on a neutral background (#070403).

Color palette

TokenLightDark
Background
#ffffffwhite
#070403black
Foreground
#0d0402black
#f9f6f6whitesmoke
Card
#ffffffwhite
#070403black
Card foreground
#0d0402black
#f9f6f6whitesmoke
Popover
#ffffffwhite
#070403black
Popover foreground
#0d0402black
#f9f6f6whitesmoke
Primary
#ab9f9cdarkgray
#ab9f9cdarkgray
Primary foreground
#0b0a09black
#0b0a09black
Secondary
#d7d6d5lightgrey
#212121black
Secondary foreground
#3f3c3bdarkslategray
#bbbab9silver
Muted
#e3d7d3gainsboro
#2c1f1cblack
Muted foreground
#665a57dimgray
#a89c99darkgray
Accent
#d7d6d5lightgrey
#212121black
Accent foreground
#3f3c3bdarkslategray
#bbbab9silver
Destructive
#7a1b05maroon
#f0340aorangered
Destructive foreground
#fcc2b6lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ab9f9cdarkgray
#ab9f9cdarkgray

Contrast

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

Light mode
Text on background20.28:1AAA
Text on card20.28:1AAA
Primary button7.68:1AAA
Secondary button7.51:1AAA
Muted text4.71:1AA
Accent7.51:1AAA
Destructive6.80:1AA
Dark mode
Text on background19.00:1AAA
Text on card19.00:1AAA
Primary button7.68:1AAA
Secondary button8.30:1AAA
Muted text5.96:1AA
Accent8.30:1AAA
Destructive4.03:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.022 45.731);
  --muted: oklch(0.888 0.014 35.966);
  --muted-foreground: oklch(0.478 0.016 35.945);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.126 0.022 45.731);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.126 0.022 45.731);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.712 0.014 35.959);
  --primary-foreground: oklch(0.145 0.002 36.443);
  --secondary: oklch(0.876 0.002 36.003);
  --secondary-foreground: oklch(0.359 0.004 35.976);
  --accent: oklch(0.876 0.002 36.003);
  --accent-foreground: oklch(0.359 0.004 35.976);
  --destructive: oklch(0.382 0.134 33.481);
  --destructive-foreground: oklch(0.864 0.069 32.905);
  --ring: oklch(0.712 0.014 35.959);
  --chart-1: oklch(0.712 0.014 35.959);
  --chart-2: oklch(0.876 0.002 36.003);
  --chart-3: oklch(0.876 0.002 36.003);
  --chart-4: oklch(0.9 0.002 36.005);
  --chart-5: oklch(0.71 0.02 35.949);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.113 0.009 40.024);
  --foreground: oklch(0.976 0.003 36.002);
  --muted: oklch(0.254 0.02 35.997);
  --muted-foreground: oklch(0.703 0.015 35.957);
  --popover: oklch(0.113 0.009 40.024);
  --popover-foreground: oklch(0.976 0.003 36.002);
  --card: oklch(0.113 0.009 40.024);
  --card-foreground: oklch(0.976 0.003 36.002);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.712 0.014 35.959);
  --primary-foreground: oklch(0.145 0.002 36.443);
  --secondary: oklch(0.248 0.001 36);
  --secondary-foreground: oklch(0.789 0.001 36.006);
  --accent: oklch(0.248 0.001 36);
  --accent-foreground: oklch(0.789 0.001 36.006);
  --destructive: oklch(0.621 0.227 32.674);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.712 0.014 35.959);
  --chart-1: oklch(0.712 0.014 35.959);
  --chart-2: oklch(0.248 0.001 36);
  --chart-3: oklch(0.248 0.001 36);
  --chart-4: oklch(0.28 0.001 36);
  --chart-5: oklch(0.71 0.02 35.949);
}