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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.68:1 | AAA |
| Text on card | 15.81:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 7.32:1 | AAA |
| Destructive | 4.89:1 | AA |
| Text on background | 13.68:1 | AAA |
| Text on card | 15.81:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 7.32:1 | AAA |
| Destructive | 4.89:1 | AA |
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);
}