ReUI II Mirage for shadcn/ui

ReUI II Mirage is a shadcn/ui theme built around a vivid orange primary color (#ffcb6b) with blue accents (#2f4b6f). The light mode uses a blue-tinted background (#18273a). Dark mode keeps the vivid orange primary (#ffcb6b) on a blue-tinted background (#18273a).

Color palette

TokenLightDark
Background
#18273adarkslategray
#18273adarkslategray
Foreground
#ffffffwhite
#ffffffwhite
Card
#152232darkslategray
#152232darkslategray
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#141f2fblack
#141f2fblack
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#ffcb6bsandybrown
#ffcb6bsandybrown
Primary foreground
#382400black
#382400black
Secondary
#53452ddarkolivegreen
#53452ddarkolivegreen
Secondary foreground
#e4dccdgainsboro
#e4dccdgainsboro
Muted
#2d3239darkslategray
#2d3239darkslategray
Muted foreground
#a9b1bcdarkgray
#a9b1bcdarkgray
Accent
#2f4b6fdarkslategray
#2f4b6fdarkslategray
Accent foreground
#dfe7f1lavender
#dfe7f1lavender
Destructive
#ee3f3ftomato
#ee3f3ftomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#253346darkslategray
#253346darkslategray
Input
#2a3b50darkslategray
#2a3b50darkslategray
Ring
#ffcb6bsandybrown
#ffcb6bsandybrown

Contrast

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

Light mode
Text on background15.17:1AAA
Text on card16.09:1AAA
Primary button9.87:1AAA
Secondary button6.80:1AA
Muted text5.95:1AA
Accent7.16:1AAA
Destructive3.87:1AA Large
Dark mode
Text on background15.17:1AAA
Text on card16.09:1AAA
Primary button9.87:1AAA
Secondary button6.80:1AA
Muted text5.95:1AA
Accent7.16:1AAA
Destructive3.87:1AA Large

CSS variables

Paste this into your globals.css to use ReUI II Mirage in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.268 0.041 255.494);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.316 0.014 255.153);
  --muted-foreground: oklch(0.758 0.017 255.067);
  --popover: oklch(0.238 0.034 255.459);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.248 0.036 255.471);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.318 0.039 255.382);
  --input: oklch(0.347 0.044 255.393);
  --primary: oklch(0.87 0.128 81.205);
  --primary-foreground: oklch(0.279 0.058 78.297);
  --secondary: oklch(0.399 0.042 82.4);
  --secondary-foreground: oklch(0.897 0.022 83.061);
  --accent: oklch(0.407 0.071 255.597);
  --accent-foreground: oklch(0.924 0.017 255.046);
  --destructive: oklch(0.63 0.212 25.749);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.87 0.128 81.205);
  --chart-1: oklch(0.87 0.128 81.205);
  --chart-2: oklch(0.399 0.042 82.4);
  --chart-3: oklch(0.407 0.071 255.597);
  --chart-4: oklch(0.431 0.047 82.368);
  --chart-5: oklch(0.873 0.131 81.072);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.268 0.041 255.494);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.316 0.014 255.153);
  --muted-foreground: oklch(0.758 0.017 255.067);
  --popover: oklch(0.238 0.034 255.459);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.248 0.036 255.471);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.318 0.039 255.382);
  --input: oklch(0.347 0.044 255.393);
  --primary: oklch(0.87 0.128 81.205);
  --primary-foreground: oklch(0.279 0.058 78.297);
  --secondary: oklch(0.399 0.042 82.4);
  --secondary-foreground: oklch(0.897 0.022 83.061);
  --accent: oklch(0.407 0.071 255.597);
  --accent-foreground: oklch(0.924 0.017 255.046);
  --destructive: oklch(0.63 0.212 25.749);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.87 0.128 81.205);
  --chart-1: oklch(0.87 0.128 81.205);
  --chart-2: oklch(0.399 0.042 82.4);
  --chart-3: oklch(0.407 0.071 255.597);
  --chart-4: oklch(0.431 0.047 82.368);
  --chart-5: oklch(0.873 0.131 81.072);
}