Dainty – Minimal is a shadcn/ui theme built around a muted blue primary color (#a0a7b6) with deep blue accents (#273d62). The light mode uses a blue-tinted background (#111b2c). Dark mode keeps the muted blue primary (#a0a7b6) on a blue-tinted background (#111b2c).
| Token | Light | Dark |
|---|---|---|
| Background | #111b2cblack | #111b2cblack |
| Foreground | #d7dceagainsboro | #d7dceagainsboro |
| Card | #0f1724black | #0f1724black |
| Card foreground | #e8ebf3lavender | #e8ebf3lavender |
| Popover | #0d1421black | #0d1421black |
| Popover foreground | #f8f9fbghostwhite | #f8f9fbghostwhite |
| Primary | #a0a7b6darkgray | #a0a7b6darkgray |
| Primary foreground | #101114black | #101114black |
| Secondary | #3e3f42darkslategray | #3e3f42darkslategray |
| Secondary foreground | #d8d8dagainsboro | #d8d8dagainsboro |
| Muted | #24272edarkslategray | #24272edarkslategray |
| Muted foreground | #9ea6b3darkgray | #9ea6b3darkgray |
| Accent | #273d62darkslategray | #273d62darkslategray |
| Accent foreground | #d0daecgainsboro | #d0daecgainsboro |
| Destructive | #ec513ctomato | #ec513ctomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1d283adarkslategray | #1d283adarkslategray |
| Input | #222f44darkslategray | #222f44darkslategray |
| Ring | #a0a7b6darkgray | #a0a7b6darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 12.57:1 | AAA |
| Text on card | 15.11:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.72:1 | AAA |
| Destructive | 3.62:1 | AA Large |
| Text on background | 12.57:1 | AAA |
| Text on card | 15.11:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.72:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Dainty – Minimal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.222 0.036 260.92);
--foreground: oklch(0.895 0.02 269.927);
--muted: oklch(0.274 0.013 261.436);
--muted-foreground: oklch(0.722 0.021 261.48);
--popover: oklch(0.192 0.028 260.999);
--popover-foreground: oklch(0.983 0.003 270.094);
--card: oklch(0.202 0.031 260.969);
--card-foreground: oklch(0.939 0.011 270.019);
--border: oklch(0.274 0.037 261.049);
--input: oklch(0.302 0.042 261.022);
--primary: oklch(0.727 0.023 265.835);
--primary-foreground: oklch(0.177 0.007 265.785);
--secondary: oklch(0.368 0.005 265.945);
--secondary-foreground: oklch(0.883 0.002 265.995);
--accent: oklch(0.361 0.071 260.755);
--accent-foreground: oklch(0.886 0.027 261.477);
--destructive: oklch(0.643 0.195 30.572);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.727 0.023 265.835);
--chart-1: oklch(0.727 0.023 265.835);
--chart-2: oklch(0.368 0.005 265.945);
--chart-3: oklch(0.361 0.071 260.755);
--chart-4: oklch(0.396 0.005 265.944);
--chart-5: oklch(0.724 0.028 265.785);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.222 0.036 260.92);
--foreground: oklch(0.895 0.02 269.927);
--muted: oklch(0.274 0.013 261.436);
--muted-foreground: oklch(0.722 0.021 261.48);
--popover: oklch(0.192 0.028 260.999);
--popover-foreground: oklch(0.983 0.003 270.094);
--card: oklch(0.202 0.031 260.969);
--card-foreground: oklch(0.939 0.011 270.019);
--border: oklch(0.274 0.037 261.049);
--input: oklch(0.302 0.042 261.022);
--primary: oklch(0.727 0.023 265.835);
--primary-foreground: oklch(0.177 0.007 265.785);
--secondary: oklch(0.368 0.005 265.945);
--secondary-foreground: oklch(0.883 0.002 265.995);
--accent: oklch(0.361 0.071 260.755);
--accent-foreground: oklch(0.886 0.027 261.477);
--destructive: oklch(0.643 0.195 30.572);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.727 0.023 265.835);
--chart-1: oklch(0.727 0.023 265.835);
--chart-2: oklch(0.368 0.005 265.945);
--chart-3: oklch(0.361 0.071 260.755);
--chart-4: oklch(0.396 0.005 265.944);
--chart-5: oklch(0.724 0.028 265.785);
}