Mayukai Dark is a shadcn/ui theme built around a neutral gray primary color (#b3b1ad) with deep blue accents (#213145). The light mode uses a blue-tinted background (#080c11). Dark mode keeps the neutral gray primary (#b3b1ad) on a blue-tinted background (#080c11).
| Token | Light | Dark |
|---|---|---|
| Background | #080c11black | #080c11black |
| Foreground | #dbdcc1lightgrey | #dbdcc1lightgrey |
| Card | #05070ablack | #05070ablack |
| Card foreground | #e4e5d2gainsboro | #e4e5d2gainsboro |
| Popover | #030507black | #030507black |
| Popover foreground | #eeeee2beige | #eeeee2beige |
| Primary | #b3b1addarkgray | #b3b1addarkgray |
| Primary foreground | #181716black | #181716black |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #22262bdarkslategray | #22262bdarkslategray |
| Muted foreground | #9ba5b0darkgray | #9ba5b0darkgray |
| Accent | #213145darkslategray | #213145darkslategray |
| Accent foreground | #bacadelightsteelblue | #bacadelightsteelblue |
| Destructive | #f03824orangered | #f03824orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #131920black | #131920black |
| Input | #19202ablack | #19202ablack |
| Ring | #b3b1addarkgray | #b3b1addarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.99:1 | AAA |
| Text on card | 15.76:1 | AAA |
| Primary button | 8.36:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.10:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.97:1 | AA Large |
| Text on background | 13.99:1 | AAA |
| Text on card | 15.76:1 | AAA |
| Primary button | 8.36:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.10:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Mayukai Dark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.154 0.013 253.042);
--foreground: oklch(0.886 0.035 108.651);
--muted: oklch(0.266 0.011 253.469);
--muted-foreground: oklch(0.717 0.02 253.396);
--popover: oklch(0.112 0.008 248.093);
--popover-foreground: oklch(0.946 0.016 108.257);
--card: oklch(0.129 0.009 248.108);
--card-foreground: oklch(0.916 0.026 108.448);
--border: oklch(0.21 0.017 253.66);
--input: oklch(0.242 0.021 253.695);
--primary: oklch(0.761 0.006 84.572);
--primary-foreground: oklch(0.206 0.003 84.58);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.309 0.043 253.961);
--accent-foreground: oklch(0.833 0.034 253.46);
--destructive: oklch(0.625 0.222 30.446);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.761 0.006 84.572);
--chart-1: oklch(0.761 0.006 84.572);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.309 0.043 253.961);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.764 0.011 84.583);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.013 253.042);
--foreground: oklch(0.886 0.035 108.651);
--muted: oklch(0.266 0.011 253.469);
--muted-foreground: oklch(0.717 0.02 253.396);
--popover: oklch(0.112 0.008 248.093);
--popover-foreground: oklch(0.946 0.016 108.257);
--card: oklch(0.129 0.009 248.108);
--card-foreground: oklch(0.916 0.026 108.448);
--border: oklch(0.21 0.017 253.66);
--input: oklch(0.242 0.021 253.695);
--primary: oklch(0.761 0.006 84.572);
--primary-foreground: oklch(0.206 0.003 84.58);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.309 0.043 253.961);
--accent-foreground: oklch(0.833 0.034 253.46);
--destructive: oklch(0.625 0.222 30.446);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.761 0.006 84.572);
--chart-1: oklch(0.761 0.006 84.572);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.309 0.043 253.961);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.764 0.011 84.583);
}