Dainty – Pivot for shadcn/ui

Dainty – Pivot is a shadcn/ui theme built around a blue primary color (#7ea9d7) with deep blue accents (#204364). The light mode uses a blue-tinted background (#0e1d2a). Dark mode keeps the blue primary (#7ea9d7) 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
#7ea9d7cornflowerblue
#7ea9d7cornflowerblue
Primary foreground
#08121bblack
#08121bblack
Secondary
#2d3f53darkslategray
#2d3f53darkslategray
Secondary foreground
#cdd8e4gainsboro
#cdd8e4gainsboro
Muted
#22262bdarkslategray
#22262bdarkslategray
Muted foreground
#9ba6b0darkgray
#9ba6b0darkgray
Accent
#204364darkslategray
#204364darkslategray
Accent foreground
#c9dceegainsboro
#c9dceegainsboro
Destructive
#f34b3ftomato
#f34b3ftomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#18293adarkslategray
#18293adarkslategray
Input
#1d3144darkslategray
#1d3144darkslategray
Ring
#7ea9d7cornflowerblue
#7ea9d7cornflowerblue

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 button7.71:1AAA
Secondary button7.46:1AAA
Muted text6.12:1AA
Accent7.25:1AAA
Destructive3.56:1AA Large
Dark mode
Text on background12.37:1AAA
Text on card14.69:1AAA
Primary button7.71:1AAA
Secondary button7.46:1AAA
Muted text6.12:1AA
Accent7.25:1AAA
Destructive3.56:1AA Large

CSS variables

Paste this into your globals.css to use Dainty – Pivot 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.722 0.082 250.655);
  --primary-foreground: oklch(0.176 0.025 250.733);
  --secondary: oklch(0.361 0.042 250.677);
  --secondary-foreground: oklch(0.878 0.02 249.86);
  --accent: oklch(0.375 0.07 248.755);
  --accent-foreground: oklch(0.886 0.032 246.372);
  --destructive: oklch(0.649 0.206 28.284);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.722 0.082 250.655);
  --chart-1: oklch(0.722 0.082 250.655);
  --chart-2: oklch(0.361 0.042 250.677);
  --chart-3: oklch(0.375 0.07 248.755);
  --chart-4: oklch(0.389 0.046 250.701);
  --chart-5: oklch(0.722 0.087 250.721);
}

.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.722 0.082 250.655);
  --primary-foreground: oklch(0.176 0.025 250.733);
  --secondary: oklch(0.361 0.042 250.677);
  --secondary-foreground: oklch(0.878 0.02 249.86);
  --accent: oklch(0.375 0.07 248.755);
  --accent-foreground: oklch(0.886 0.032 246.372);
  --destructive: oklch(0.649 0.206 28.284);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.722 0.082 250.655);
  --chart-1: oklch(0.722 0.082 250.655);
  --chart-2: oklch(0.361 0.042 250.677);
  --chart-3: oklch(0.375 0.07 248.755);
  --chart-4: oklch(0.389 0.046 250.701);
  --chart-5: oklch(0.722 0.087 250.721);
}