Mayukai Mono for shadcn/ui

Mayukai Mono is a shadcn/ui theme built around a neutral gray primary color (#b3b1ad) with muted deep blue accents (#2f3956). The light mode uses a blue-tinted background (#141824). Dark mode keeps the neutral gray primary (#b3b1ad) on a blue-tinted background (#141824).

Color palette

TokenLightDark
Background
#141824black
#141824black
Foreground
#cbcebbsilver
#cbcebbsilver
Card
#10141eblack
#10141eblack
Card foreground
#d6d8calightgrey
#d6d8calightgrey
Popover
#0e111ablack
#0e111ablack
Popover foreground
#e1e3d9gainsboro
#e1e3d9gainsboro
Primary
#b3b1addarkgray
#b3b1addarkgray
Primary foreground
#181716black
#181716black
Secondary
#404040darkslategray
#404040darkslategray
Secondary foreground
#d9d9d9gainsboro
#d9d9d9gainsboro
Muted
#22242bdarkslategray
#22242bdarkslategray
Muted foreground
#9ba0b0darkgray
#9ba0b0darkgray
Accent
#2f3956darkslategray
#2f3956darkslategray
Accent foreground
#d1d6e6gainsboro
#d1d6e6gainsboro
Destructive
#f04f3dtomato
#f04f3dtomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#212531darkslategray
#212531darkslategray
Input
#272c3adarkslategray
#272c3adarkslategray
Ring
#b3b1addarkgray
#b3b1addarkgray

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background11.03:1AAA
Text on card12.76:1AAA
Primary button8.36:1AAA
Secondary button7.37:1AAA
Muted text5.94:1AA
Accent7.89:1AAA
Destructive3.56:1AA Large
Dark mode
Text on background11.03:1AAA
Text on card12.76:1AAA
Primary button8.36:1AAA
Secondary button7.37:1AAA
Muted text5.94:1AA
Accent7.89:1AAA
Destructive3.56:1AA Large

CSS variables

Paste this into your globals.css to use Mayukai Mono in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.211 0.025 269.948);
  --foreground: oklch(0.843 0.026 114.632);
  --muted: oklch(0.261 0.013 270.863);
  --muted-foreground: oklch(0.708 0.024 271.061);
  --popover: oklch(0.181 0.019 270.154);
  --popover-foreground: oklch(0.912 0.014 114.358);
  --card: oklch(0.191 0.021 270.077);
  --card-foreground: oklch(0.878 0.02 114.489);
  --border: oklch(0.266 0.023 270.43);
  --input: oklch(0.294 0.026 270.378);
  --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.348 0.052 269.475);
  --accent-foreground: oklch(0.877 0.022 271.16);
  --destructive: oklch(0.649 0.201 29.818);
  --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.348 0.052 269.475);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.764 0.011 84.583);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.211 0.025 269.948);
  --foreground: oklch(0.843 0.026 114.632);
  --muted: oklch(0.261 0.013 270.863);
  --muted-foreground: oklch(0.708 0.024 271.061);
  --popover: oklch(0.181 0.019 270.154);
  --popover-foreground: oklch(0.912 0.014 114.358);
  --card: oklch(0.191 0.021 270.077);
  --card-foreground: oklch(0.878 0.02 114.489);
  --border: oklch(0.266 0.023 270.43);
  --input: oklch(0.294 0.026 270.378);
  --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.348 0.052 269.475);
  --accent-foreground: oklch(0.877 0.022 271.16);
  --destructive: oklch(0.649 0.201 29.818);
  --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.348 0.052 269.475);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.764 0.011 84.583);
}