Wind-chime for shadcn/ui

Wind-chime is a shadcn/ui theme built around a vivid orange primary color (#f4b27b) with vivid violet accents (#b27bf4). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid orange primary (#f4b27b) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#fefcfbsnow
#040201black
Foreground
#000000black
#fdfcfcsnow
Card
#fefcfbsnow
#040201black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fefcfbsnow
#040201black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#f4b27blightsalmon
#f4b27blightsalmon
Primary foreground
#391c05black
#391c05black
Secondary
#7bf4b2aquamarine
#7bf4b2aquamarine
Secondary foreground
#05391cdarkgreen
#05391cdarkgreen
Muted
#d5e2dbgainsboro
#1d2a23darkslategray
Muted foreground
#595f5cdimgray
#a0a6a3darkgray
Accent
#b27bf4mediumpurple
#b27bf4mediumpurple
Accent foreground
#1c0539midnightblue
#1c0539midnightblue
Destructive
#8a2e00saddlebrown
#f55200orangered
Destructive foreground
#ffd3bdpeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f4b27blightsalmon
#f4b27blightsalmon

Contrast

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

Light mode
Text on background20.56:1AAA
Text on card20.56:1AAA
Primary button8.54:1AAA
Secondary button9.60:1AAA
Muted text4.88:1AA
Accent6.21:1AA
Destructive6.20:1AA
Dark mode
Text on background20.18:1AAA
Text on card20.18:1AAA
Primary button8.54:1AAA
Secondary button9.60:1AAA
Muted text5.99:1AA
Accent6.21:1AA
Destructive3.45:1AA Large

CSS variables

Paste this into your globals.css to use Wind-chime in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 62.162);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.901 0.018 162.127);
  --muted-foreground: oklch(0.478 0.008 162.178);
  --popover: oklch(0.993 0.002 62.162);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.993 0.002 62.162);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.813 0.105 59.847);
  --primary-foreground: oklch(0.261 0.057 56.379);
  --secondary: oklch(0.88 0.145 157.429);
  --secondary-foreground: oklch(0.303 0.073 153.347);
  --accent: oklch(0.689 0.178 302.784);
  --accent-foreground: oklch(0.197 0.093 297.893);
  --destructive: oklch(0.433 0.134 40.654);
  --destructive-foreground: oklch(0.898 0.058 48.052);
  --ring: oklch(0.813 0.105 59.847);
  --chart-1: oklch(0.813 0.105 59.847);
  --chart-2: oklch(0.88 0.145 157.429);
  --chart-3: oklch(0.689 0.178 302.784);
  --chart-4: oklch(0.891 0.131 158.147);
  --chart-5: oklch(0.814 0.109 59.727);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.093 0.01 70.47);
  --foreground: oklch(0.993 0.001 62.178);
  --muted: oklch(0.272 0.023 160.304);
  --muted-foreground: oklch(0.72 0.008 162.356);
  --popover: oklch(0.093 0.01 70.47);
  --popover-foreground: oklch(0.993 0.001 62.178);
  --card: oklch(0.093 0.01 70.47);
  --card-foreground: oklch(0.993 0.001 62.178);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.813 0.105 59.847);
  --primary-foreground: oklch(0.261 0.057 56.379);
  --secondary: oklch(0.88 0.145 157.429);
  --secondary-foreground: oklch(0.303 0.073 153.347);
  --accent: oklch(0.689 0.178 302.784);
  --accent-foreground: oklch(0.197 0.093 297.893);
  --destructive: oklch(0.656 0.211 38.892);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.813 0.105 59.847);
  --chart-1: oklch(0.813 0.105 59.847);
  --chart-2: oklch(0.88 0.145 157.429);
  --chart-3: oklch(0.689 0.178 302.784);
  --chart-4: oklch(0.891 0.131 158.147);
  --chart-5: oklch(0.814 0.109 59.727);
}