Ayu One Dark Pro | Dark Bordered is a shadcn/ui theme built around a deep blue primary color (#0a0e14) with muted deep blue accents (#2a3347). The light mode uses a blue-tinted background (#0d1016). Dark mode keeps the deep blue primary (#0a0e14) on a blue-tinted background (#0d1016).
| Token | Light | Dark |
|---|---|---|
| Background | #0d1016black | #0d1016black |
| Foreground | #b3b1addarkgray | #b3b1addarkgray |
| Card | #090c10black | #090c10black |
| Card foreground | #bfbebasilver | #bfbebasilver |
| Popover | #08090dblack | #08090dblack |
| Popover foreground | #cccac7lightgrey | #cccac7lightgrey |
| Primary | #0a0e14black | #0a0e14black |
| Primary foreground | #8ca3c5darkgray | #8ca3c5darkgray |
| Secondary | #b1bccelightsteelblue | #b1bccelightsteelblue |
| Secondary foreground | #1d242fdarkslategray | #1d242fdarkslategray |
| Muted | #22252bdarkslategray | #22252bdarkslategray |
| Muted foreground | #9ba2b0darkgray | #9ba2b0darkgray |
| Accent | #2a3347darkslategray | #2a3347darkslategray |
| Accent foreground | #c5cdddlightgrey | #c5cdddlightgrey |
| Destructive | #fe1616red | #fe1616red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1a1d23black | #1a1d23black |
| Input | #20242cdarkslategray | #20242cdarkslategray |
| Ring | #0a0e14black | #0a0e14black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.87:1 | AAA |
| Text on card | 10.54:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 6.00:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.93:1 | AA Large |
| Text on background | 8.87:1 | AAA |
| Text on card | 10.54:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 6.00:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Ayu One Dark Pro | Dark Bordered in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.174 0.014 264.12);
--foreground: oklch(0.761 0.006 84.572);
--muted: oklch(0.263 0.012 264.338);
--muted-foreground: oklch(0.712 0.022 264.424);
--popover: oklch(0.141 0.008 262.354);
--popover-foreground: oklch(0.84 0.004 84.564);
--card: oklch(0.152 0.01 264.143);
--card-foreground: oklch(0.801 0.005 84.568);
--border: oklch(0.23 0.014 264.261);
--input: oklch(0.261 0.016 264.234);
--primary: oklch(0.164 0.014 258.354);
--primary-foreground: oklch(0.709 0.057 258.357);
--secondary: oklch(0.793 0.028 258.369);
--secondary-foreground: oklch(0.26 0.022 258.351);
--accent: oklch(0.322 0.037 263.834);
--accent-foreground: oklch(0.847 0.024 264.44);
--destructive: oklch(0.631 0.252 28.615);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.164 0.014 258.354);
--chart-1: oklch(0.164 0.014 258.354);
--chart-2: oklch(0.793 0.028 258.369);
--chart-3: oklch(0.322 0.037 263.834);
--chart-4: oklch(0.818 0.025 258.365);
--chart-5: oklch(0.163 0.016 258.345);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.174 0.014 264.12);
--foreground: oklch(0.761 0.006 84.572);
--muted: oklch(0.263 0.012 264.338);
--muted-foreground: oklch(0.712 0.022 264.424);
--popover: oklch(0.141 0.008 262.354);
--popover-foreground: oklch(0.84 0.004 84.564);
--card: oklch(0.152 0.01 264.143);
--card-foreground: oklch(0.801 0.005 84.568);
--border: oklch(0.23 0.014 264.261);
--input: oklch(0.261 0.016 264.234);
--primary: oklch(0.164 0.014 258.354);
--primary-foreground: oklch(0.709 0.057 258.357);
--secondary: oklch(0.793 0.028 258.369);
--secondary-foreground: oklch(0.26 0.022 258.351);
--accent: oklch(0.322 0.037 263.834);
--accent-foreground: oklch(0.847 0.024 264.44);
--destructive: oklch(0.631 0.252 28.615);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.164 0.014 258.354);
--chart-1: oklch(0.164 0.014 258.354);
--chart-2: oklch(0.793 0.028 258.369);
--chart-3: oklch(0.322 0.037 263.834);
--chart-4: oklch(0.818 0.025 258.365);
--chart-5: oklch(0.163 0.016 258.345);
}