Dainty – City Lights is a shadcn/ui theme built around a vivid blue primary color (#68a0ee) with muted deep blue accents (#3a4b59). The light mode uses a blue-tinted background (#1c242b). Dark mode keeps the vivid blue primary (#68a0ee) on a blue-tinted background (#1c242b).
| Token | Light | Dark |
|---|---|---|
| Background | #1c242bdarkslategray | #1c242bdarkslategray |
| Foreground | #dededegainsboro | #dededegainsboro |
| Card | #181f25black | #181f25black |
| Card foreground | #ebebeblinen | #ebebeblinen |
| Popover | #161c22black | #161c22black |
| Popover foreground | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Primary | #68a0eecornflowerblue | #68a0eecornflowerblue |
| Primary foreground | #040f20black | #040f20black |
| Secondary | #2d3d53darkslategray | #2d3d53darkslategray |
| Secondary foreground | #cdd7e4gainsboro | #cdd7e4gainsboro |
| Muted | #282e33darkslategray | #282e33darkslategray |
| Muted foreground | #a4aeb7darkgray | #a4aeb7darkgray |
| Accent | #3a4b59darkslategray | #3a4b59darkslategray |
| Accent foreground | #dde3e9gainsboro | #dde3e9gainsboro |
| Destructive | #e40c0cred | #e40c0cred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2b3136darkslategray | #2b3136darkslategray |
| Input | #32393edarkslategray | #32393edarkslategray |
| Ring | #68a0eecornflowerblue | #68a0eecornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.64:1 | AAA |
| Text on card | 13.95:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 6.95:1 | AA |
| Destructive | 4.83:1 | AA |
| Text on background | 11.64:1 | AAA |
| Text on card | 13.95:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 6.95:1 | AA |
| Destructive | 4.83:1 | AA |
Paste this into your globals.css to use Dainty – City Lights in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.256 0.018 244.961);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.299 0.012 244.609);
--muted-foreground: oklch(0.746 0.018 244.383);
--popover: oklch(0.224 0.014 244.895);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.235 0.015 244.919);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.309 0.012 244.571);
--input: oklch(0.339 0.014 244.587);
--primary: oklch(0.7 0.13 256.983);
--primary-foreground: oklch(0.169 0.04 254.628);
--secondary: oklch(0.355 0.044 256.866);
--secondary-foreground: oklch(0.875 0.021 256.735);
--accent: oklch(0.404 0.032 245.125);
--accent-foreground: oklch(0.914 0.01 244.227);
--destructive: oklch(0.579 0.234 28.854);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.7 0.13 256.983);
--chart-1: oklch(0.7 0.13 256.983);
--chart-2: oklch(0.355 0.044 256.866);
--chart-3: oklch(0.404 0.032 245.125);
--chart-4: oklch(0.382 0.049 256.868);
--chart-5: oklch(0.699 0.135 257.006);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.256 0.018 244.961);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.299 0.012 244.609);
--muted-foreground: oklch(0.746 0.018 244.383);
--popover: oklch(0.224 0.014 244.895);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.235 0.015 244.919);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.309 0.012 244.571);
--input: oklch(0.339 0.014 244.587);
--primary: oklch(0.7 0.13 256.983);
--primary-foreground: oklch(0.169 0.04 254.628);
--secondary: oklch(0.355 0.044 256.866);
--secondary-foreground: oklch(0.875 0.021 256.735);
--accent: oklch(0.404 0.032 245.125);
--accent-foreground: oklch(0.914 0.01 244.227);
--destructive: oklch(0.579 0.234 28.854);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.7 0.13 256.983);
--chart-1: oklch(0.7 0.13 256.983);
--chart-2: oklch(0.355 0.044 256.866);
--chart-3: oklch(0.404 0.032 245.125);
--chart-4: oklch(0.382 0.049 256.868);
--chart-5: oklch(0.699 0.135 257.006);
}