Dainty Light for shadcn/ui

Dainty Light is a shadcn/ui theme built around a vivid blue primary color (#006cf0) with vivid light teal accents (#b3ffff). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#006cf0) on a neutral background (#ffffff).

Color palette

TokenLightDark
Background
#ffffffwhite
#ffffffwhite
Foreground
#0f3762midnightblue
#0f3762midnightblue
Card
#f5ffffazure
#f5ffffazure
Card foreground
#0b2a4bmidnightblue
#0b2a4bmidnightblue
Popover
#f0ffffazure
#f0ffffazure
Popover foreground
#081e35black
#081e35black
Primary
#006cf0dodgerblue
#006cf0dodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#acbdd2lightsteelblue
#acbdd2lightsteelblue
Secondary foreground
#1b2532darkslategray
#1b2532darkslategray
Muted
#e2e9e9lavender
#e2e9e9lavender
Muted foreground
#435656darkslategray
#435656darkslategray
Accent
#b3ffffpaleturquoise
#b3ffffpaleturquoise
Accent foreground
#001a1ablack
#001a1ablack
Destructive
#83140cmaroon
#83140cmaroon
Destructive foreground
#facac7pink
#facac7pink
Border
#e7fefelightcyan
#e7fefelightcyan
Input
#d8fdfdlightcyan
#d8fdfdlightcyan
Ring
#006cf0dodgerblue
#006cf0dodgerblue

Contrast

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

Light mode
Text on background12.04:1AAA
Text on card14.25:1AAA
Primary button4.77:1AA
Secondary button8.10:1AAA
Muted text6.29:1AA
Accent16.04:1AAA
Destructive6.94:1AA
Dark mode
Text on background12.04:1AAA
Text on card14.25:1AAA
Primary button4.77:1AA
Secondary button8.10:1AAA
Muted text6.29:1AA
Accent16.04:1AAA
Destructive6.94:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.333 0.088 253.298);
  --muted: oklch(0.928 0.007 197.043);
  --muted-foreground: oklch(0.437 0.023 196.351);
  --popover: oklch(0.989 0.016 196.897);
  --popover-foreground: oklch(0.231 0.053 252.35);
  --card: oklch(0.992 0.011 196.983);
  --card-foreground: oklch(0.283 0.071 252.953);
  --border: oklch(0.98 0.024 196.769);
  --input: oklch(0.968 0.038 196.544);
  --primary: oklch(0.562 0.215 258.744);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.793 0.035 253.482);
  --secondary-foreground: oklch(0.261 0.028 253.786);
  --accent: oklch(0.95 0.075 195.965);
  --accent-foreground: oklch(0.195 0.033 194.769);
  --destructive: oklch(0.394 0.146 29.507);
  --destructive-foreground: oklch(0.88 0.054 23.004);
  --ring: oklch(0.562 0.215 258.744);
  --chart-1: oklch(0.562 0.215 258.744);
  --chart-2: oklch(0.793 0.035 253.482);
  --chart-3: oklch(0.95 0.075 195.965);
  --chart-4: oklch(0.818 0.031 253.447);
  --chart-5: oklch(0.564 0.22 258.972);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.333 0.088 253.298);
  --muted: oklch(0.928 0.007 197.043);
  --muted-foreground: oklch(0.437 0.023 196.351);
  --popover: oklch(0.989 0.016 196.897);
  --popover-foreground: oklch(0.231 0.053 252.35);
  --card: oklch(0.992 0.011 196.983);
  --card-foreground: oklch(0.283 0.071 252.953);
  --border: oklch(0.98 0.024 196.769);
  --input: oklch(0.968 0.038 196.544);
  --primary: oklch(0.562 0.215 258.744);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.793 0.035 253.482);
  --secondary-foreground: oklch(0.261 0.028 253.786);
  --accent: oklch(0.95 0.075 195.965);
  --accent-foreground: oklch(0.195 0.033 194.769);
  --destructive: oklch(0.394 0.146 29.507);
  --destructive-foreground: oklch(0.88 0.054 23.004);
  --ring: oklch(0.562 0.215 258.744);
  --chart-1: oklch(0.562 0.215 258.744);
  --chart-2: oklch(0.793 0.035 253.482);
  --chart-3: oklch(0.95 0.075 195.965);
  --chart-4: oklch(0.818 0.031 253.447);
  --chart-5: oklch(0.564 0.22 258.972);
}