Dainty – Night Owl is a shadcn/ui theme built around a vivid blue primary color (#759ef0) with vivid deep blue accents (#034072). The light mode uses a blue-tinted background (#011628). Dark mode keeps the vivid blue primary (#759ef0) on a blue-tinted background (#011628).
| Token | Light | Dark |
|---|---|---|
| Background | #011628black | #011628black |
| Foreground | #d4dce8gainsboro | #d4dce8gainsboro |
| Card | #01111eblack | #01111eblack |
| Card foreground | #e4eaf1lavender | #e4eaf1lavender |
| Popover | #010e19black | #010e19black |
| Popover foreground | #f5f7fawhitesmoke | #f5f7fawhitesmoke |
| Primary | #759ef0cornflowerblue | #759ef0cornflowerblue |
| Primary foreground | #05132eblack | #05132eblack |
| Secondary | #2d3953darkslategray | #2d3953darkslategray |
| Secondary foreground | #cdd5e4lightgrey | #cdd5e4lightgrey |
| Muted | #22272bdarkslategray | #22272bdarkslategray |
| Muted foreground | #9ba7b0darkgray | #9ba7b0darkgray |
| Accent | #034072midnightblue | #034072midnightblue |
| Accent foreground | #aad8fdlightblue | #aad8fdlightblue |
| Destructive | #db1b14crimson | #db1b14crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #05243dmidnightblue | #05243dmidnightblue |
| Input | #062c4bmidnightblue | #062c4bmidnightblue |
| Ring | #759ef0cornflowerblue | #759ef0cornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.23:1 | AAA |
| Text on card | 15.78:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 5.01:1 | AA |
| Text on background | 13.23:1 | AAA |
| Text on card | 15.78:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 7.02:1 | AAA |
| Destructive | 5.01:1 | AA |
Paste this into your globals.css to use Dainty – Night Owl in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.194 0.046 244.378);
--foreground: oklch(0.893 0.019 255.058);
--muted: oklch(0.268 0.011 242.723);
--muted-foreground: oklch(0.722 0.019 242.55);
--popover: oklch(0.156 0.033 239.225);
--popover-foreground: oklch(0.975 0.004 254.977);
--card: oklch(0.169 0.037 241.449);
--card-foreground: oklch(0.934 0.011 255.017);
--border: oklch(0.253 0.06 247.496);
--input: oklch(0.287 0.07 248.306);
--primary: oklch(0.704 0.13 263.244);
--primary-foreground: oklch(0.192 0.059 261.389);
--secondary: oklch(0.347 0.048 263.643);
--secondary-foreground: oklch(0.872 0.023 264.45);
--accent: oklch(0.367 0.103 250.423);
--accent-foreground: oklch(0.862 0.07 243.356);
--destructive: oklch(0.569 0.222 28.993);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.704 0.13 263.244);
--chart-1: oklch(0.704 0.13 263.244);
--chart-2: oklch(0.347 0.048 263.643);
--chart-3: oklch(0.367 0.103 250.423);
--chart-4: oklch(0.373 0.053 263.618);
--chart-5: oklch(0.702 0.135 263.182);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.194 0.046 244.378);
--foreground: oklch(0.893 0.019 255.058);
--muted: oklch(0.268 0.011 242.723);
--muted-foreground: oklch(0.722 0.019 242.55);
--popover: oklch(0.156 0.033 239.225);
--popover-foreground: oklch(0.975 0.004 254.977);
--card: oklch(0.169 0.037 241.449);
--card-foreground: oklch(0.934 0.011 255.017);
--border: oklch(0.253 0.06 247.496);
--input: oklch(0.287 0.07 248.306);
--primary: oklch(0.704 0.13 263.244);
--primary-foreground: oklch(0.192 0.059 261.389);
--secondary: oklch(0.347 0.048 263.643);
--secondary-foreground: oklch(0.872 0.023 264.45);
--accent: oklch(0.367 0.103 250.423);
--accent-foreground: oklch(0.862 0.07 243.356);
--destructive: oklch(0.569 0.222 28.993);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.704 0.13 263.244);
--chart-1: oklch(0.704 0.13 263.244);
--chart-2: oklch(0.347 0.048 263.643);
--chart-3: oklch(0.367 0.103 250.423);
--chart-4: oklch(0.373 0.053 263.618);
--chart-5: oklch(0.702 0.135 263.182);
}