Ayu One Dark Pro | Mirage Bordered for shadcn/ui

Ayu One Dark Pro | Mirage Bordered is a shadcn/ui theme built around a muted blue primary color (#606a7b) with muted blue accents (#414b62). The light mode uses a blue-tinted background (#232834). Dark mode keeps the muted blue primary (#606a7b) on a blue-tinted background (#232834).

Color palette

TokenLightDark
Background
#232834darkslategray
#232834darkslategray
Foreground
#cccdc6lightgrey
#cccdc6lightgrey
Card
#1f232edarkslategray
#1f232edarkslategray
Card foreground
#d8d9d4lightgrey
#d8d9d4lightgrey
Popover
#1d212bdarkslategray
#1d212bdarkslategray
Popover foreground
#e4e5e1gainsboro
#e4e5e1gainsboro
Primary
#606a7bdimgray
#606a7bdimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#bebfc1silver
#bebfc1silver
Secondary foreground
#252627darkslategray
#252627darkslategray
Muted
#2f333cdarkslategray
#2f333cdarkslategray
Muted foreground
#acb2bedarkgray
#acb2bedarkgray
Accent
#414b62darkslategray
#414b62darkslategray
Accent foreground
#e7e9eflavender
#e7e9eflavender
Destructive
#eb463dtomato
#eb463dtomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#32363edarkslategray
#32363edarkslategray
Input
#393d46darkslategray
#393d46darkslategray
Ring
#606a7bdimgray
#606a7bdimgray

Contrast

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

Light mode
Text on background9.22:1AAA
Text on card11.04:1AAA
Primary button5.47:1AA
Secondary button8.22:1AAA
Muted text5.94:1AA
Accent7.17:1AAA
Destructive3.84:1AA Large
Dark mode
Text on background9.22:1AAA
Text on card11.04:1AAA
Primary button5.47:1AA
Secondary button8.22:1AAA
Muted text5.94:1AA
Accent7.17:1AAA
Destructive3.84:1AA Large

CSS variables

Paste this into your globals.css to use Ayu One Dark Pro | Mirage Bordered in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.277 0.024 266.715);
  --foreground: oklch(0.845 0.009 114.261);
  --muted: oklch(0.321 0.017 267.034);
  --muted-foreground: oklch(0.762 0.019 267.262);
  --popover: oklch(0.247 0.02 266.761);
  --popover-foreground: oklch(0.919 0.005 114.158);
  --card: oklch(0.257 0.021 266.745);
  --card-foreground: oklch(0.882 0.007 114.207);
  --border: oklch(0.332 0.015 267.109);
  --input: oklch(0.361 0.016 267.099);
  --primary: oklch(0.522 0.029 262.861);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.804 0.003 263.048);
  --secondary-foreground: oklch(0.269 0.002 263.04);
  --accent: oklch(0.414 0.04 266.591);
  --accent-foreground: oklch(0.934 0.008 267.368);
  --destructive: oklch(0.63 0.203 27.589);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.522 0.029 262.861);
  --chart-1: oklch(0.522 0.029 262.861);
  --chart-2: oklch(0.804 0.003 263.048);
  --chart-3: oklch(0.414 0.04 266.591);
  --chart-4: oklch(0.828 0.002 263.049);
  --chart-5: oklch(0.518 0.037 262.783);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.277 0.024 266.715);
  --foreground: oklch(0.845 0.009 114.261);
  --muted: oklch(0.321 0.017 267.034);
  --muted-foreground: oklch(0.762 0.019 267.262);
  --popover: oklch(0.247 0.02 266.761);
  --popover-foreground: oklch(0.919 0.005 114.158);
  --card: oklch(0.257 0.021 266.745);
  --card-foreground: oklch(0.882 0.007 114.207);
  --border: oklch(0.332 0.015 267.109);
  --input: oklch(0.361 0.016 267.099);
  --primary: oklch(0.522 0.029 262.861);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.804 0.003 263.048);
  --secondary-foreground: oklch(0.269 0.002 263.04);
  --accent: oklch(0.414 0.04 266.591);
  --accent-foreground: oklch(0.934 0.008 267.368);
  --destructive: oklch(0.63 0.203 27.589);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.522 0.029 262.861);
  --chart-1: oklch(0.522 0.029 262.861);
  --chart-2: oklch(0.804 0.003 263.048);
  --chart-3: oklch(0.414 0.04 266.591);
  --chart-4: oklch(0.828 0.002 263.049);
  --chart-5: oklch(0.518 0.037 262.783);
}