Dainty – Timbre (less chroma) is a shadcn/ui theme built around a teal primary color (#5fb4ae) with deep blue accents (#204364). The light mode uses a blue-tinted background (#0e1d2a). Dark mode keeps the teal primary (#5fb4ae) on a blue-tinted background (#0e1d2a).
| Token | Light | Dark |
|---|---|---|
| Background | #0e1d2ablack | #0e1d2ablack |
| Foreground | #d9dbdegainsboro | #d9dbdegainsboro |
| Card | #0b1723black | #0b1723black |
| Card foreground | #e6e8ealavender | #e6e8ealavender |
| Popover | #0a151fblack | #0a151fblack |
| Popover foreground | #f4f5f6whitesmoke | #f4f5f6whitesmoke |
| Primary | #5fb4aecadetblue | #5fb4aecadetblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #2f504edarkslategray | #2f504edarkslategray |
| Secondary foreground | #cfe3e1gainsboro | #cfe3e1gainsboro |
| Muted | #22262bdarkslategray | #22262bdarkslategray |
| Muted foreground | #9ba6b0darkgray | #9ba6b0darkgray |
| Accent | #204364darkslategray | #204364darkslategray |
| Accent foreground | #c9dceegainsboro | #c9dceegainsboro |
| Destructive | #f4593etomato | #f4593etomato |
| Destructive foreground | #000000black | #000000black |
| Border | #18293adarkslategray | #18293adarkslategray |
| Input | #1d3144darkslategray | #1d3144darkslategray |
| Ring | #5fb4aecadetblue | #5fb4aecadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 12.37:1 | AAA |
| Text on card | 14.69:1 | AAA |
| Primary button | 8.62:1 | AAA |
| Secondary button | 6.58:1 | AA |
| Muted text | 6.12:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 6.35:1 | AA |
| Text on background | 12.37:1 | AAA |
| Text on card | 14.69:1 | AAA |
| Primary button | 8.62:1 | AAA |
| Secondary button | 6.58:1 | AA |
| Muted text | 6.12:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 6.35:1 | AA |
Paste this into your globals.css to use Dainty – Timbre (less chroma) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.223 0.034 248.03);
--foreground: oklch(0.89 0.005 258.326);
--muted: oklch(0.267 0.011 246.423);
--muted-foreground: oklch(0.72 0.02 246.277);
--popover: oklch(0.19 0.026 247.739);
--popover-foreground: oklch(0.969 0.001 258.316);
--card: oklch(0.201 0.029 247.843);
--card-foreground: oklch(0.93 0.003 258.321);
--border: oklch(0.275 0.038 247.756);
--input: oklch(0.306 0.044 247.854);
--primary: oklch(0.715 0.083 189.818);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.406 0.039 190.327);
--secondary-foreground: oklch(0.9 0.021 191.934);
--accent: oklch(0.375 0.07 248.755);
--accent-foreground: oklch(0.886 0.032 246.372);
--destructive: oklch(0.666 0.194 32.275);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.715 0.083 189.818);
--chart-1: oklch(0.715 0.083 189.818);
--chart-2: oklch(0.406 0.039 190.327);
--chart-3: oklch(0.375 0.07 248.755);
--chart-4: oklch(0.439 0.043 190.293);
--chart-5: oklch(0.723 0.088 189.648);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.223 0.034 248.03);
--foreground: oklch(0.89 0.005 258.326);
--muted: oklch(0.267 0.011 246.423);
--muted-foreground: oklch(0.72 0.02 246.277);
--popover: oklch(0.19 0.026 247.739);
--popover-foreground: oklch(0.969 0.001 258.316);
--card: oklch(0.201 0.029 247.843);
--card-foreground: oklch(0.93 0.003 258.321);
--border: oklch(0.275 0.038 247.756);
--input: oklch(0.306 0.044 247.854);
--primary: oklch(0.715 0.083 189.818);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.406 0.039 190.327);
--secondary-foreground: oklch(0.9 0.021 191.934);
--accent: oklch(0.375 0.07 248.755);
--accent-foreground: oklch(0.886 0.032 246.372);
--destructive: oklch(0.666 0.194 32.275);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.715 0.083 189.818);
--chart-1: oklch(0.715 0.083 189.818);
--chart-2: oklch(0.406 0.039 190.327);
--chart-3: oklch(0.375 0.07 248.755);
--chart-4: oklch(0.439 0.043 190.293);
--chart-5: oklch(0.723 0.088 189.648);
}