Dainty – Material Theme Palenight is a shadcn/ui theme built around a vivid blue primary color (#759ef0) with muted blue accents (#474e6b). The light mode uses a blue-tinted background (#292d3d). Dark mode keeps the vivid blue primary (#759ef0) on a blue-tinted background (#292d3d).
| Token | Light | Dark |
|---|---|---|
| Background | #292d3ddarkslategray | #292d3ddarkslategray |
| Foreground | #dedfe8gainsboro | #dedfe8gainsboro |
| Card | #252837darkslategray | #252837darkslategray |
| Card foreground | #ededf2whitesmoke | #ededf2whitesmoke |
| Popover | #232634darkslategray | #232634darkslategray |
| Popover foreground | #fcfcfdwhite | #fcfcfdwhite |
| Primary | #759ef0cornflowerblue | #759ef0cornflowerblue |
| Primary foreground | #05132eblack | #05132eblack |
| Secondary | #2d3953darkslategray | #2d3953darkslategray |
| Secondary foreground | #cdd5e4lightgrey | #cdd5e4lightgrey |
| Muted | #363945darkslategray | #363945darkslategray |
| Muted foreground | #b5b8c5silver | #b5b8c5silver |
| Accent | #474e6bdarkslateblue | #474e6bdarkslateblue |
| Accent foreground | #f0f1f5whitesmoke | #f0f1f5whitesmoke |
| Destructive | #fb2a13orangered | #fb2a13orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #393c46darkslategray | #393c46darkslategray |
| Input | #40434fdarkslategray | #40434fdarkslategray |
| Ring | #759ef0cornflowerblue | #759ef0cornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.34:1 | AAA |
| Text on card | 12.51:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 3.84:1 | AA Large |
| Text on background | 10.34:1 | AAA |
| Text on card | 12.51:1 | AAA |
| Primary button | 6.93:1 | AA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 5.84:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Dainty – Material Theme Palenight in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.299 0.031 274.589);
--foreground: oklch(0.905 0.012 281.064);
--muted: oklch(0.345 0.021 275.276);
--muted-foreground: oklch(0.783 0.019 275.845);
--popover: oklch(0.271 0.027 274.661);
--popover-foreground: oklch(0.991 0.001 281.269);
--card: oklch(0.281 0.028 274.635);
--card-foreground: oklch(0.949 0.007 281.174);
--border: oklch(0.357 0.018 275.439);
--input: oklch(0.384 0.02 275.423);
--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.43 0.049 274.385);
--accent-foreground: oklch(0.958 0.006 276.089);
--destructive: oklch(0.635 0.242 30.483);
--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.43 0.049 274.385);
--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.299 0.031 274.589);
--foreground: oklch(0.905 0.012 281.064);
--muted: oklch(0.345 0.021 275.276);
--muted-foreground: oklch(0.783 0.019 275.845);
--popover: oklch(0.271 0.027 274.661);
--popover-foreground: oklch(0.991 0.001 281.269);
--card: oklch(0.281 0.028 274.635);
--card-foreground: oklch(0.949 0.007 281.174);
--border: oklch(0.357 0.018 275.439);
--input: oklch(0.384 0.02 275.423);
--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.43 0.049 274.385);
--accent-foreground: oklch(0.958 0.006 276.089);
--destructive: oklch(0.635 0.242 30.483);
--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.43 0.049 274.385);
--chart-4: oklch(0.373 0.053 263.618);
--chart-5: oklch(0.702 0.135 263.182);
}