Dobri Next -A03- Mirage for shadcn/ui

Dobri Next -A03- Mirage is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted blue accents (#404964). The light mode uses a blue-tinted background (#222735). Dark mode keeps the near-white primary (#ffffff) on a blue-tinted background (#222735).

Color palette

TokenLightDark
Background
#222735darkslategray
#222735darkslategray
Foreground
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Card
#1e222fdarkslategray
#1e222fdarkslategray
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#1c202cblack
#1c202cblack
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#ffffffwhite
#ffffffwhite
Primary foreground
#333333darkslategray
#333333darkslategray
Secondary
#404040darkslategray
#404040darkslategray
Secondary foreground
#d9d9d9gainsboro
#d9d9d9gainsboro
Muted
#2f333cdarkslategray
#2f333cdarkslategray
Muted foreground
#acb1bedarkgray
#acb1bedarkgray
Accent
#404964darkslategray
#404964darkslategray
Accent foreground
#e6e9eflavender
#e6e9eflavender
Destructive
#de1e0dred
#de1e0dred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#31353fdarkslategray
#31353fdarkslategray
Input
#383c47darkslategray
#383c47darkslategray
Ring
#ffffffwhite
#ffffffwhite

Contrast

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

Light mode
Text on background13.68:1AAA
Text on card15.81:1AAA
Primary button12.63:1AAA
Secondary button7.37:1AAA
Muted text5.92:1AA
Accent7.32:1AAA
Destructive4.89:1AA
Dark mode
Text on background13.68:1AAA
Text on card15.81:1AAA
Primary button12.63:1AAA
Secondary button7.37:1AAA
Muted text5.92:1AA
Accent7.32:1AAA
Destructive4.89:1AA

CSS variables

Paste this into your globals.css to use Dobri Next -A03- Mirage in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.274 0.027 269.05);
  --foreground: oklch(0.97 0 180);
  --muted: oklch(0.32 0.017 269.59);
  --muted-foreground: oklch(0.76 0.019 269.896);
  --popover: oklch(0.245 0.023 269.118);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.255 0.024 269.093);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.329 0.018 269.584);
  --input: oklch(0.357 0.02 269.568);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.409 0.046 268.866);
  --accent-foreground: oklch(0.933 0.009 270.038);
  --destructive: oklch(0.575 0.223 30.084);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.409 0.046 268.866);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(1 0 180);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.274 0.027 269.05);
  --foreground: oklch(0.97 0 180);
  --muted: oklch(0.32 0.017 269.59);
  --muted-foreground: oklch(0.76 0.019 269.896);
  --popover: oklch(0.245 0.023 269.118);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.255 0.024 269.093);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.329 0.018 269.584);
  --input: oklch(0.357 0.02 269.568);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.409 0.046 268.866);
  --accent-foreground: oklch(0.933 0.009 270.038);
  --destructive: oklch(0.575 0.223 30.084);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.409 0.046 268.866);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(1 0 180);
}