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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 5.06:1 | AA |
| Muted text | 5.50:1 | AA |
| Accent | 6.63:1 | AA |
| Destructive | 7.50:1 | AAA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 5.06:1 | AA |
| Muted text | 7.97:1 | AAA |
| Accent | 6.63:1 | AA |
| Destructive | 3.87:1 | AA Large |
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);
}