Dainty – Ardent is a shadcn/ui theme built around a violet primary color (#c392d9) with deep blue accents (#223a5e). The light mode uses a blue-tinted background (#0e1725). Dark mode keeps the violet primary (#c392d9) on a blue-tinted background (#0e1725).
| Token | Light | Dark |
|---|---|---|
| Background | #0e1725black | #0e1725black |
| Foreground | #d9daddgainsboro | #d9daddgainsboro |
| Card | #0b121eblack | #0b121eblack |
| Card foreground | #e7e7e9lavender | #e7e7e9lavender |
| Popover | #09101ablack | #09101ablack |
| Popover foreground | #f4f4f5whitesmoke | #f4f4f5whitesmoke |
| Primary | #c392d9plum | #c392d9plum |
| Primary foreground | #210f2ablack | #210f2ablack |
| Secondary | #472d53darkslategray | #472d53darkslategray |
| Secondary foreground | #ddcde4gainsboro | #ddcde4gainsboro |
| Muted | #22252bdarkslategray | #22252bdarkslategray |
| Muted foreground | #9ba4b0darkgray | #9ba4b0darkgray |
| Accent | #223a5edarkslategray | #223a5edarkslategray |
| Accent foreground | #c7d5ebpowderblue | #c7d5ebpowderblue |
| Destructive | #e21e18crimson | #e21e18crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #182334darkslategray | #182334darkslategray |
| Input | #1d2b3fdarkslategray | #1d2b3fdarkslategray |
| Ring | #c392d9plum | #c392d9plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 12.85:1 | AAA |
| Text on card | 15.15:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 6.07:1 | AA |
| Accent | 7.73:1 | AAA |
| Destructive | 4.72:1 | AA |
| Text on background | 12.85:1 | AAA |
| Text on card | 15.15:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 6.07:1 | AA |
| Accent | 7.73:1 | AAA |
| Destructive | 4.72:1 | AA |
Paste this into your globals.css to use Dainty – Ardent in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.204 0.032 258.28);
--foreground: oklch(0.889 0.005 271.362);
--muted: oklch(0.264 0.012 258.372);
--muted-foreground: oklch(0.715 0.021 258.365);
--popover: oklch(0.172 0.024 258.276);
--popover-foreground: oklch(0.969 0.001 271.397);
--card: oklch(0.183 0.027 258.289);
--card-foreground: oklch(0.929 0.003 271.38);
--border: oklch(0.256 0.036 258.293);
--input: oklch(0.285 0.042 258.287);
--primary: oklch(0.731 0.113 315.442);
--primary-foreground: oklch(0.209 0.057 314.829);
--secondary: oklch(0.345 0.073 315.185);
--secondary-foreground: oklch(0.869 0.036 315.875);
--accent: oklch(0.347 0.07 258.288);
--accent-foreground: oklch(0.869 0.034 258.371);
--destructive: oklch(0.583 0.226 28.911);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.731 0.113 315.442);
--chart-1: oklch(0.731 0.113 315.442);
--chart-2: oklch(0.345 0.073 315.185);
--chart-3: oklch(0.347 0.07 258.288);
--chart-4: oklch(0.372 0.08 315.164);
--chart-5: oklch(0.729 0.12 315.399);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.204 0.032 258.28);
--foreground: oklch(0.889 0.005 271.362);
--muted: oklch(0.264 0.012 258.372);
--muted-foreground: oklch(0.715 0.021 258.365);
--popover: oklch(0.172 0.024 258.276);
--popover-foreground: oklch(0.969 0.001 271.397);
--card: oklch(0.183 0.027 258.289);
--card-foreground: oklch(0.929 0.003 271.38);
--border: oklch(0.256 0.036 258.293);
--input: oklch(0.285 0.042 258.287);
--primary: oklch(0.731 0.113 315.442);
--primary-foreground: oklch(0.209 0.057 314.829);
--secondary: oklch(0.345 0.073 315.185);
--secondary-foreground: oklch(0.869 0.036 315.875);
--accent: oklch(0.347 0.07 258.288);
--accent-foreground: oklch(0.869 0.034 258.371);
--destructive: oklch(0.583 0.226 28.911);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.731 0.113 315.442);
--chart-1: oklch(0.731 0.113 315.442);
--chart-2: oklch(0.345 0.073 315.185);
--chart-3: oklch(0.347 0.07 258.288);
--chart-4: oklch(0.372 0.08 315.164);
--chart-5: oklch(0.729 0.12 315.399);
}