Dainty – Timbre (less chroma) for shadcn/ui

Dainty – Timbre (less chroma) is a shadcn/ui theme built around a teal primary color (#5fb4ae) with deep blue accents (#204364). The light mode uses a blue-tinted background (#0e1d2a). Dark mode keeps the teal primary (#5fb4ae) on a blue-tinted background (#0e1d2a).

Color palette

TokenLightDark
Background
#0e1d2ablack
#0e1d2ablack
Foreground
#d9dbdegainsboro
#d9dbdegainsboro
Card
#0b1723black
#0b1723black
Card foreground
#e6e8ealavender
#e6e8ealavender
Popover
#0a151fblack
#0a151fblack
Popover foreground
#f4f5f6whitesmoke
#f4f5f6whitesmoke
Primary
#5fb4aecadetblue
#5fb4aecadetblue
Primary foreground
#000000black
#000000black
Secondary
#2f504edarkslategray
#2f504edarkslategray
Secondary foreground
#cfe3e1gainsboro
#cfe3e1gainsboro
Muted
#22262bdarkslategray
#22262bdarkslategray
Muted foreground
#9ba6b0darkgray
#9ba6b0darkgray
Accent
#204364darkslategray
#204364darkslategray
Accent foreground
#c9dceegainsboro
#c9dceegainsboro
Destructive
#f4593etomato
#f4593etomato
Destructive foreground
#000000black
#000000black
Border
#18293adarkslategray
#18293adarkslategray
Input
#1d3144darkslategray
#1d3144darkslategray
Ring
#5fb4aecadetblue
#5fb4aecadetblue

Contrast

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

Light mode
Text on background12.37:1AAA
Text on card14.69:1AAA
Primary button8.62:1AAA
Secondary button6.58:1AA
Muted text6.12:1AA
Accent7.25:1AAA
Destructive6.35:1AA
Dark mode
Text on background12.37:1AAA
Text on card14.69:1AAA
Primary button8.62:1AAA
Secondary button6.58:1AA
Muted text6.12:1AA
Accent7.25:1AAA
Destructive6.35:1AA

CSS variables

Paste this into your globals.css to use Dainty – Timbre (less chroma) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.223 0.034 248.03);
  --foreground: oklch(0.89 0.005 258.326);
  --muted: oklch(0.267 0.011 246.423);
  --muted-foreground: oklch(0.72 0.02 246.277);
  --popover: oklch(0.19 0.026 247.739);
  --popover-foreground: oklch(0.969 0.001 258.316);
  --card: oklch(0.201 0.029 247.843);
  --card-foreground: oklch(0.93 0.003 258.321);
  --border: oklch(0.275 0.038 247.756);
  --input: oklch(0.306 0.044 247.854);
  --primary: oklch(0.715 0.083 189.818);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.406 0.039 190.327);
  --secondary-foreground: oklch(0.9 0.021 191.934);
  --accent: oklch(0.375 0.07 248.755);
  --accent-foreground: oklch(0.886 0.032 246.372);
  --destructive: oklch(0.666 0.194 32.275);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.715 0.083 189.818);
  --chart-1: oklch(0.715 0.083 189.818);
  --chart-2: oklch(0.406 0.039 190.327);
  --chart-3: oklch(0.375 0.07 248.755);
  --chart-4: oklch(0.439 0.043 190.293);
  --chart-5: oklch(0.723 0.088 189.648);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.223 0.034 248.03);
  --foreground: oklch(0.89 0.005 258.326);
  --muted: oklch(0.267 0.011 246.423);
  --muted-foreground: oklch(0.72 0.02 246.277);
  --popover: oklch(0.19 0.026 247.739);
  --popover-foreground: oklch(0.969 0.001 258.316);
  --card: oklch(0.201 0.029 247.843);
  --card-foreground: oklch(0.93 0.003 258.321);
  --border: oklch(0.275 0.038 247.756);
  --input: oklch(0.306 0.044 247.854);
  --primary: oklch(0.715 0.083 189.818);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.406 0.039 190.327);
  --secondary-foreground: oklch(0.9 0.021 191.934);
  --accent: oklch(0.375 0.07 248.755);
  --accent-foreground: oklch(0.886 0.032 246.372);
  --destructive: oklch(0.666 0.194 32.275);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.715 0.083 189.818);
  --chart-1: oklch(0.715 0.083 189.818);
  --chart-2: oklch(0.406 0.039 190.327);
  --chart-3: oklch(0.375 0.07 248.755);
  --chart-4: oklch(0.439 0.043 190.293);
  --chart-5: oklch(0.723 0.088 189.648);
}