Dainty – Ayu Mirage is a shadcn/ui theme built around a yellow primary color (#bb9544) with muted blue accents (#3c465d). The light mode uses a blue-tinted background (#1e232f). Dark mode keeps the yellow primary (#bb9544) on a blue-tinted background (#1e232f).
| Token | Light | Dark |
|---|---|---|
| Background | #1e232fdarkslategray | #1e232fdarkslategray |
| Foreground | #dcdde0gainsboro | #dcdde0gainsboro |
| Card | #1a1e28black | #1a1e28black |
| Card foreground | #e9eaeclavender | #e9eaeclavender |
| Popover | #181c25black | #181c25black |
| Popover foreground | #f7f7f8whitesmoke | #f7f7f8whitesmoke |
| Primary | #bb9544peru | #bb9544peru |
| Primary foreground | #000000black | #000000black |
| Secondary | #53472ddarkolivegreen | #53472ddarkolivegreen |
| Secondary foreground | #e4ddcdgainsboro | #e4ddcdgainsboro |
| Muted | #2b2e36darkslategray | #2b2e36darkslategray |
| Muted foreground | #a6acb9darkgray | #a6acb9darkgray |
| Accent | #3c465ddarkslategray | #3c465ddarkslategray |
| Accent foreground | #e0e3eblavender | #e0e3eblavender |
| Destructive | #eb462dtomato | #eb462dtomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2d3139darkslategray | #2d3139darkslategray |
| Input | #343842darkslategray | #343842darkslategray |
| Ring | #bb9544peru | #bb9544peru |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.58:1 | AAA |
| Text on card | 13.81:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 6.75:1 | AA |
| Muted text | 5.95:1 | AA |
| Accent | 7.36:1 | AAA |
| Destructive | 3.83:1 | AA Large |
| Text on background | 11.58:1 | AAA |
| Text on card | 13.81:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 6.75:1 | AA |
| Muted text | 5.95:1 | AA |
| Accent | 7.36:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Dainty – Ayu Mirage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.256 0.024 266.653);
--foreground: oklch(0.897 0.004 271.366);
--muted: oklch(0.302 0.016 267.044);
--muted-foreground: oklch(0.745 0.02 267.243);
--popover: oklch(0.226 0.019 266.717);
--popover-foreground: oklch(0.977 0.001 271.4);
--card: oklch(0.236 0.021 266.694);
--card-foreground: oklch(0.937 0.003 271.384);
--border: oklch(0.311 0.016 267.039);
--input: oklch(0.34 0.018 267.025);
--primary: oklch(0.691 0.11 84.159);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.402 0.043 85.664);
--secondary-foreground: oklch(0.899 0.022 86.082);
--accent: oklch(0.394 0.042 266.49);
--accent-foreground: oklch(0.916 0.011 267.346);
--destructive: oklch(0.631 0.206 31.627);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.691 0.11 84.159);
--chart-1: oklch(0.691 0.11 84.159);
--chart-2: oklch(0.402 0.043 85.664);
--chart-3: oklch(0.394 0.042 266.49);
--chart-4: oklch(0.434 0.048 85.638);
--chart-5: oklch(0.697 0.115 83.832);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.256 0.024 266.653);
--foreground: oklch(0.897 0.004 271.366);
--muted: oklch(0.302 0.016 267.044);
--muted-foreground: oklch(0.745 0.02 267.243);
--popover: oklch(0.226 0.019 266.717);
--popover-foreground: oklch(0.977 0.001 271.4);
--card: oklch(0.236 0.021 266.694);
--card-foreground: oklch(0.937 0.003 271.384);
--border: oklch(0.311 0.016 267.039);
--input: oklch(0.34 0.018 267.025);
--primary: oklch(0.691 0.11 84.159);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.402 0.043 85.664);
--secondary-foreground: oklch(0.899 0.022 86.082);
--accent: oklch(0.394 0.042 266.49);
--accent-foreground: oklch(0.916 0.011 267.346);
--destructive: oklch(0.631 0.206 31.627);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.691 0.11 84.159);
--chart-1: oklch(0.691 0.11 84.159);
--chart-2: oklch(0.402 0.043 85.664);
--chart-3: oklch(0.394 0.042 266.49);
--chart-4: oklch(0.434 0.048 85.638);
--chart-5: oklch(0.697 0.115 83.832);
}