Balanced Dawn of the Fairies for shadcn/ui

Balanced Dawn of the Fairies is a shadcn/ui theme built around a vivid deep pink primary color (#7b094a) with vivid deep blue accents (#094a7b). The light mode uses a neutral background (#fefbfd). Dark mode keeps the vivid deep pink primary (#7b094a) on a pink-tinted background (#0e070b).

Color palette

TokenLightDark
Background
#fefbfdsnow
#0e070bblack
Foreground
#040103black
#fdfcfdwhite
Card
#fdf7fasnow
#11080dblack
Card foreground
#000000black
#ffffffwhite
Popover
#fefbfdsnow
#0e070bblack
Popover foreground
#040103black
#fdfcfdwhite
Primary
#7b094apurple
#7b094apurple
Primary foreground
#fabddfpink
#fabddfpink
Secondary
#4a7b09darkolivegreen
#4a7b09darkolivegreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8eae6linen
#171915black
Muted foreground
#585f4edarkolivegreen
#a9b1a0darkgray
Accent
#094a7bmidnightblue
#094a7bmidnightblue
Accent foreground
#bddffapaleturquoise
#bddffapaleturquoise
Destructive
#993206saddlebrown
#e74b08orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ece9eblinen
#211c1fblack
Input
#ece9eblinen
#211c1fblack
Ring
#7b094apurple
#7b094apurple

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card19.85:1AAA
Primary button6.75:1AA
Secondary button5.06:1AA
Muted text5.50:1AA
Accent6.63:1AA
Destructive7.50:1AAA
Dark mode
Text on background19.50:1AAA
Text on card19.69:1AAA
Primary button6.75:1AA
Secondary button5.06:1AA
Muted text7.97:1AAA
Accent6.63:1AA
Destructive3.87:1AA Large

CSS variables

Paste this into your globals.css to use Balanced Dawn of the Fairies in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 341.899);
  --foreground: oklch(0.082 0.024 341.841);
  --muted: oklch(0.935 0.006 125.832);
  --muted-foreground: oklch(0.475 0.029 126.566);
  --popover: oklch(0.991 0.004 341.899);
  --popover-foreground: oklch(0.082 0.024 341.841);
  --card: oklch(0.982 0.008 341.991);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.937 0.004 341.917);
  --input: oklch(0.937 0.004 341.917);
  --primary: oklch(0.387 0.152 353.814);
  --primary-foreground: oklch(0.863 0.083 343.98);
  --secondary: oklch(0.528 0.143 132.181);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.399 0.102 248.315);
  --accent-foreground: oklch(0.888 0.052 241.14);
  --destructive: oklch(0.464 0.145 38.823);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.387 0.152 353.814);
  --chart-1: oklch(0.387 0.152 353.814);
  --chart-2: oklch(0.528 0.143 132.181);
  --chart-3: oklch(0.399 0.102 248.315);
  --chart-4: oklch(0.571 0.156 132.298);
  --chart-5: oklch(0.39 0.155 354.259);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.016 343.22);
  --foreground: oklch(0.992 0.001 341.84);
  --muted: oklch(0.211 0.009 126.341);
  --muted-foreground: oklch(0.749 0.026 126.203);
  --popover: oklch(0.139 0.016 343.22);
  --popover-foreground: oklch(0.992 0.001 341.84);
  --card: oklch(0.151 0.019 344.358);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.234 0.009 342.718);
  --input: oklch(0.234 0.009 342.718);
  --primary: oklch(0.387 0.152 353.814);
  --primary-foreground: oklch(0.863 0.083 343.98);
  --secondary: oklch(0.528 0.143 132.181);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.399 0.102 248.315);
  --accent-foreground: oklch(0.888 0.052 241.14);
  --destructive: oklch(0.627 0.202 37.976);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.387 0.152 353.814);
  --chart-1: oklch(0.387 0.152 353.814);
  --chart-2: oklch(0.528 0.143 132.181);
  --chart-3: oklch(0.399 0.102 248.315);
  --chart-4: oklch(0.571 0.156 132.298);
  --chart-5: oklch(0.39 0.155 354.259);
}