Dainty – Mirage is a shadcn/ui theme built around a blue primary color (#68a0e8) with blue accents (#334a6b). The light mode uses a blue-tinted background (#1b2637). Dark mode keeps the blue primary (#68a0e8) on a blue-tinted background (#1b2637).
| Token | Light | Dark |
|---|---|---|
| Background | #1b2637darkslategray | #1b2637darkslategray |
| Foreground | #d8dde9gainsboro | #d8dde9gainsboro |
| Card | #172230darkslategray | #172230darkslategray |
| Card foreground | #e8ebf2lavender | #e8ebf2lavender |
| Popover | #161f2dblack | #161f2dblack |
| Popover foreground | #f9f9fbghostwhite | #f9f9fbghostwhite |
| Primary | #68a0e8cornflowerblue | #68a0e8cornflowerblue |
| Primary foreground | #040e1bblack | #040e1bblack |
| Secondary | #2d3d53darkslategray | #2d3d53darkslategray |
| Secondary foreground | #cdd7e4gainsboro | #cdd7e4gainsboro |
| Muted | #2d3239darkslategray | #2d3239darkslategray |
| Muted foreground | #a9b1bcdarkgray | #a9b1bcdarkgray |
| Accent | #334a6bdarkslategray | #334a6bdarkslategray |
| Accent foreground | #e0e7f0lavender | #e0e7f0lavender |
| Destructive | #e32402orangered | #e32402orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #283343darkslategray | #283343darkslategray |
| Input | #2e3b4ddarkslategray | #2e3b4ddarkslategray |
| Ring | #68a0e8cornflowerblue | #68a0e8cornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.16:1 | AAA |
| Text on card | 13.49:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 7.18:1 | AAA |
| Destructive | 4.63:1 | AA |
| Text on background | 11.16:1 | AAA |
| Text on card | 13.49:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 7.18:1 | AAA |
| Destructive | 4.63:1 | AA |
Paste this into your globals.css to use Dainty – Mirage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.268 0.035 256.874);
--foreground: oklch(0.898 0.016 265.916);
--muted: oklch(0.315 0.015 256.783);
--muted-foreground: oklch(0.758 0.018 256.732);
--popover: oklch(0.238 0.03 256.866);
--popover-foreground: oklch(0.983 0.003 265.995);
--card: oklch(0.248 0.032 256.869);
--card-foreground: oklch(0.941 0.009 265.96);
--border: oklch(0.319 0.032 256.842);
--input: oklch(0.347 0.036 256.845);
--primary: oklch(0.697 0.123 255.607);
--primary-foreground: oklch(0.16 0.032 252.77);
--secondary: oklch(0.356 0.044 255.382);
--secondary-foreground: oklch(0.876 0.021 255.071);
--accent: oklch(0.407 0.062 256.902);
--accent-foreground: oklch(0.925 0.015 256.71);
--destructive: oklch(0.587 0.225 31.4);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.697 0.123 255.607);
--chart-1: oklch(0.697 0.123 255.607);
--chart-2: oklch(0.356 0.044 255.382);
--chart-3: oklch(0.407 0.062 256.902);
--chart-4: oklch(0.384 0.048 255.39);
--chart-5: oklch(0.696 0.128 255.647);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.268 0.035 256.874);
--foreground: oklch(0.898 0.016 265.916);
--muted: oklch(0.315 0.015 256.783);
--muted-foreground: oklch(0.758 0.018 256.732);
--popover: oklch(0.238 0.03 256.866);
--popover-foreground: oklch(0.983 0.003 265.995);
--card: oklch(0.248 0.032 256.869);
--card-foreground: oklch(0.941 0.009 265.96);
--border: oklch(0.319 0.032 256.842);
--input: oklch(0.347 0.036 256.845);
--primary: oklch(0.697 0.123 255.607);
--primary-foreground: oklch(0.16 0.032 252.77);
--secondary: oklch(0.356 0.044 255.382);
--secondary-foreground: oklch(0.876 0.021 255.071);
--accent: oklch(0.407 0.062 256.902);
--accent-foreground: oklch(0.925 0.015 256.71);
--destructive: oklch(0.587 0.225 31.4);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.697 0.123 255.607);
--chart-1: oklch(0.697 0.123 255.607);
--chart-2: oklch(0.356 0.044 255.382);
--chart-3: oklch(0.407 0.062 256.902);
--chart-4: oklch(0.384 0.048 255.39);
--chart-5: oklch(0.696 0.128 255.647);
}