Dainty – Dark+ Reimagined is a shadcn/ui theme built around a vivid blue primary color (#789af7) with deep blue accents (#343a60). The light mode uses a blue-tinted background (#191c2e). Dark mode keeps the vivid blue primary (#789af7) on a blue-tinted background (#191c2e).
| Token | Light | Dark |
|---|---|---|
| Background | #191c2eblack | #191c2eblack |
| Foreground | #dadae7gainsboro | #dadae7gainsboro |
| Card | #151828black | #151828black |
| Card foreground | #eaeaf1lavender | #eaeaf1lavender |
| Popover | #141624black | #141624black |
| Popover foreground | #f9f9fbghostwhite | #f9f9fbghostwhite |
| Primary | #789af7cornflowerblue | #789af7cornflowerblue |
| Primary foreground | #03123amidnightblue | #03123amidnightblue |
| Secondary | #2d3753darkslategray | #2d3753darkslategray |
| Secondary foreground | #cdd3e4lightgrey | #cdd3e4lightgrey |
| Muted | #282a33darkslategray | #282a33darkslategray |
| Muted foreground | #a4a7b7darkgray | #a4a7b7darkgray |
| Accent | #343a60darkslategray | #343a60darkslategray |
| Accent foreground | #dbddebgainsboro | #dbddebgainsboro |
| Destructive | #fb0e0ered | #fb0e0ered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #272a3adarkslategray | #272a3adarkslategray |
| Input | #2d3043darkslategray | #2d3043darkslategray |
| Ring | #789af7cornflowerblue | #789af7cornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 12.13:1 | AAA |
| Text on card | 14.67:1 | AAA |
| Primary button | 6.74:1 | AA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 4.05:1 | AA Large |
| Text on background | 12.13:1 | AAA |
| Text on card | 14.67:1 | AAA |
| Primary button | 6.74:1 | AA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 4.05:1 | AA Large |
Paste this into your globals.css to use Dainty – Dark+ Reimagined in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.233 0.035 275.65);
--foreground: oklch(0.893 0.017 286.058);
--muted: oklch(0.287 0.017 277.375);
--muted-foreground: oklch(0.73 0.024 277.817);
--popover: oklch(0.206 0.029 275.893);
--popover-foreground: oklch(0.982 0.003 286.35);
--card: oklch(0.215 0.031 275.804);
--card-foreground: oklch(0.938 0.01 286.214);
--border: oklch(0.288 0.03 276.557);
--input: oklch(0.315 0.034 276.488);
--primary: oklch(0.701 0.142 267.565);
--primary-foreground: oklch(0.201 0.081 263.577);
--secondary: oklch(0.34 0.051 268.329);
--secondary-foreground: oklch(0.868 0.024 269.873);
--accent: oklch(0.362 0.066 275.038);
--accent-foreground: oklch(0.9 0.02 277.994);
--destructive: oklch(0.624 0.252 28.874);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.701 0.142 267.565);
--chart-1: oklch(0.701 0.142 267.565);
--chart-2: oklch(0.34 0.051 268.329);
--chart-3: oklch(0.362 0.066 275.038);
--chart-4: oklch(0.366 0.057 268.282);
--chart-5: oklch(0.699 0.147 267.452);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.233 0.035 275.65);
--foreground: oklch(0.893 0.017 286.058);
--muted: oklch(0.287 0.017 277.375);
--muted-foreground: oklch(0.73 0.024 277.817);
--popover: oklch(0.206 0.029 275.893);
--popover-foreground: oklch(0.982 0.003 286.35);
--card: oklch(0.215 0.031 275.804);
--card-foreground: oklch(0.938 0.01 286.214);
--border: oklch(0.288 0.03 276.557);
--input: oklch(0.315 0.034 276.488);
--primary: oklch(0.701 0.142 267.565);
--primary-foreground: oklch(0.201 0.081 263.577);
--secondary: oklch(0.34 0.051 268.329);
--secondary-foreground: oklch(0.868 0.024 269.873);
--accent: oklch(0.362 0.066 275.038);
--accent-foreground: oklch(0.9 0.02 277.994);
--destructive: oklch(0.624 0.252 28.874);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.701 0.142 267.565);
--chart-1: oklch(0.701 0.142 267.565);
--chart-2: oklch(0.34 0.051 268.329);
--chart-3: oklch(0.362 0.066 275.038);
--chart-4: oklch(0.366 0.057 268.282);
--chart-5: oklch(0.699 0.147 267.452);
}