Dainty – Timbre is a shadcn/ui theme built around an indigo primary color (#a49ce2) with deep blue accents (#18456d). The light mode uses a blue-tinted background (#0a1d2e). Dark mode keeps the indigo primary (#a49ce2) on a blue-tinted background (#0a1d2e).
| Token | Light | Dark |
|---|---|---|
| Background | #0a1d2eblack | #0a1d2eblack |
| Foreground | #dbdde1gainsboro | #dbdde1gainsboro |
| Card | #081826black | #081826black |
| Card foreground | #e9eaeclavender | #e9eaeclavender |
| Popover | #071521black | #071521black |
| Popover foreground | #f7f7f8whitesmoke | #f7f7f8whitesmoke |
| Primary | #a49ce2lightsteelblue | #a49ce2lightsteelblue |
| Primary foreground | #16113bmidnightblue | #16113bmidnightblue |
| Secondary | #312d53darkslategray | #312d53darkslategray |
| Secondary foreground | #d0cde4lightgrey | #d0cde4lightgrey |
| Muted | #22272bdarkslategray | #22272bdarkslategray |
| Muted foreground | #9ba6b0darkgray | #9ba6b0darkgray |
| Accent | #18456ddarkslategray | #18456ddarkslategray |
| Accent foreground | #c4ddf2powderblue | #c4ddf2powderblue |
| Destructive | #e43111orangered | #e43111orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #132a3fdarkslategray | #132a3fdarkslategray |
| Input | #16324bdarkslategray | #16324bdarkslategray |
| Ring | #a49ce2lightsteelblue | #a49ce2lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 12.54:1 | AAA |
| Text on card | 14.93:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 6.11:1 | AA |
| Accent | 7.08:1 | AAA |
| Destructive | 4.43:1 | AA Large |
| Text on background | 12.54:1 | AAA |
| Text on card | 14.93:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 6.11:1 | AA |
| Accent | 7.08:1 | AAA |
| Destructive | 4.43:1 | AA Large |
Paste this into your globals.css to use Dainty – Timbre in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.225 0.041 247.255);
--foreground: oklch(0.897 0.006 264.531);
--muted: oklch(0.268 0.011 244.585);
--muted-foreground: oklch(0.721 0.019 244.425);
--popover: oklch(0.191 0.032 246.39);
--popover-foreground: oklch(0.976 0.001 264.547);
--card: oklch(0.203 0.035 246.812);
--card-foreground: oklch(0.937 0.004 264.539);
--border: oklch(0.278 0.048 246.989);
--input: oklch(0.309 0.056 247.167);
--primary: oklch(0.727 0.101 288.974);
--primary-foreground: oklch(0.215 0.078 282.956);
--secondary: oklch(0.32 0.067 287.337);
--secondary-foreground: oklch(0.858 0.032 291.076);
--accent: oklch(0.381 0.084 248.46);
--accent-foreground: oklch(0.886 0.039 244.644);
--destructive: oklch(0.597 0.217 31.955);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.727 0.101 288.974);
--chart-1: oklch(0.727 0.101 288.974);
--chart-2: oklch(0.32 0.067 287.337);
--chart-3: oklch(0.381 0.084 248.46);
--chart-4: oklch(0.344 0.073 287.222);
--chart-5: oklch(0.723 0.106 288.786);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.225 0.041 247.255);
--foreground: oklch(0.897 0.006 264.531);
--muted: oklch(0.268 0.011 244.585);
--muted-foreground: oklch(0.721 0.019 244.425);
--popover: oklch(0.191 0.032 246.39);
--popover-foreground: oklch(0.976 0.001 264.547);
--card: oklch(0.203 0.035 246.812);
--card-foreground: oklch(0.937 0.004 264.539);
--border: oklch(0.278 0.048 246.989);
--input: oklch(0.309 0.056 247.167);
--primary: oklch(0.727 0.101 288.974);
--primary-foreground: oklch(0.215 0.078 282.956);
--secondary: oklch(0.32 0.067 287.337);
--secondary-foreground: oklch(0.858 0.032 291.076);
--accent: oklch(0.381 0.084 248.46);
--accent-foreground: oklch(0.886 0.039 244.644);
--destructive: oklch(0.597 0.217 31.955);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.727 0.101 288.974);
--chart-1: oklch(0.727 0.101 288.974);
--chart-2: oklch(0.32 0.067 287.337);
--chart-3: oklch(0.381 0.084 248.46);
--chart-4: oklch(0.344 0.073 287.222);
--chart-5: oklch(0.723 0.106 288.786);
}