Ayu Mirage PowerUp is a shadcn/ui theme built around a vivid yellow primary color (#ffcc66) with muted blue accents (#3e4a60). The light mode uses a blue-tinted background (#202631). Dark mode keeps the vivid yellow primary (#ffcc66) on a blue-tinted background (#202631).
| Token | Light | Dark |
|---|---|---|
| Background | #202631darkslategray | #202631darkslategray |
| Foreground | #f4f4f1whitesmoke | #f4f4f1whitesmoke |
| Card | #1c212bblack | #1c212bblack |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #1a1f28black | #1a1f28black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #ffcc66sandybrown | #ffcc66sandybrown |
| Primary foreground | #332200black | #332200black |
| Secondary | #53462ddarkolivegreen | #53462ddarkolivegreen |
| Secondary foreground | #e4ddcdgainsboro | #e4ddcdgainsboro |
| Muted | #2d3139darkslategray | #2d3139darkslategray |
| Muted foreground | #a9afbcdarkgray | #a9afbcdarkgray |
| Accent | #3e4a60darkslategray | #3e4a60darkslategray |
| Accent foreground | #e3e6edlavender | #e3e6edlavender |
| Destructive | #ec3418orangered | #ec3418orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #30343bdarkslategray | #30343bdarkslategray |
| Input | #363b44darkslategray | #363b44darkslategray |
| Ring | #ffcc66sandybrown | #ffcc66sandybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.77:1 | AAA |
| Text on card | 16.09:1 | AAA |
| Primary button | 10.28:1 | AAA |
| Secondary button | 6.79:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 4.13:1 | AA Large |
| Text on background | 13.77:1 | AAA |
| Text on card | 16.09:1 | AAA |
| Primary button | 10.28:1 | AAA |
| Secondary button | 6.79:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 4.13:1 | AA Large |
Paste this into your globals.css to use Ayu Mirage PowerUp in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.268 0.023 264.074);
--foreground: oklch(0.966 0.004 106.475);
--muted: oklch(0.312 0.016 264.317);
--muted-foreground: oklch(0.754 0.019 264.455);
--popover: oklch(0.238 0.019 264.111);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.248 0.02 264.098);
--card-foreground: oklch(1 0 180);
--border: oklch(0.323 0.015 264.34);
--input: oklch(0.351 0.017 264.332);
--primary: oklch(0.871 0.133 82.737);
--primary-foreground: oklch(0.266 0.055 80.868);
--secondary: oklch(0.401 0.043 84.052);
--secondary-foreground: oklch(0.898 0.022 84.593);
--accent: oklch(0.407 0.04 263.975);
--accent-foreground: oklch(0.926 0.009 264.518);
--destructive: oklch(0.615 0.222 31.544);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.871 0.133 82.737);
--chart-1: oklch(0.871 0.133 82.737);
--chart-2: oklch(0.401 0.043 84.052);
--chart-3: oklch(0.407 0.04 263.975);
--chart-4: oklch(0.433 0.047 84.022);
--chart-5: oklch(0.874 0.136 82.598);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.268 0.023 264.074);
--foreground: oklch(0.966 0.004 106.475);
--muted: oklch(0.312 0.016 264.317);
--muted-foreground: oklch(0.754 0.019 264.455);
--popover: oklch(0.238 0.019 264.111);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.248 0.02 264.098);
--card-foreground: oklch(1 0 180);
--border: oklch(0.323 0.015 264.34);
--input: oklch(0.351 0.017 264.332);
--primary: oklch(0.871 0.133 82.737);
--primary-foreground: oklch(0.266 0.055 80.868);
--secondary: oklch(0.401 0.043 84.052);
--secondary-foreground: oklch(0.898 0.022 84.593);
--accent: oklch(0.407 0.04 263.975);
--accent-foreground: oklch(0.926 0.009 264.518);
--destructive: oklch(0.615 0.222 31.544);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.871 0.133 82.737);
--chart-1: oklch(0.871 0.133 82.737);
--chart-2: oklch(0.401 0.043 84.052);
--chart-3: oklch(0.407 0.04 263.975);
--chart-4: oklch(0.433 0.047 84.022);
--chart-5: oklch(0.874 0.136 82.598);
}