Doting is a shadcn/ui theme built around a light pink primary color (#e6b7cb) with neutral gray accents (#dedede). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the light pink primary (#e6b7cb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #000000black |
| Foreground | #16030bblack | #faf4f7whitesmoke |
| Card | #fbf4f7lavenderblush | #030303black |
| Card foreground | #120309black | #fcf8fasnow |
| Popover | #fbf4f7lavenderblush | #030303black |
| Popover foreground | #120309black | #fcf8fasnow |
| Primary | #e6b7cbthistle | #e6b7cbthistle |
| Primary foreground | #4f1c31darkslategray | #4f1c31darkslategray |
| Secondary | #dededegainsboro | #392d32darkslategray |
| Secondary foreground | #464445darkslategray | #d2c6cblightgrey |
| Muted | #eae1e5gainsboro | #1e1519black |
| Muted foreground | #4b3a41darkslategray | #c5b4bbsilver |
| Accent | #dededegainsboro | #392d32darkslategray |
| Accent foreground | #464445darkslategray | #d2c6cblightgrey |
| Destructive | #9b2808saddlebrown | #f5653dtomato |
| Destructive foreground | #fde0d8mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6b7cbthistle | #e6b7cbthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.91:1 | AAA |
| Text on card | 18.57:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 7.16:1 | AAA |
| Muted text | 8.29:1 | AAA |
| Accent | 7.16:1 | AAA |
| Destructive | 6.23:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.64:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 7.95:1 | AAA |
| Muted text | 9.01:1 | AAA |
| Accent | 7.95:1 | AAA |
| Destructive | 6.80:1 | AA |
Paste this into your globals.css to use Doting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 349.827);
--foreground: oklch(0.144 0.041 353.811);
--muted: oklch(0.918 0.01 349.972);
--muted-foreground: oklch(0.369 0.027 351.616);
--popover: oklch(0.973 0.008 349.908);
--popover-foreground: oklch(0.131 0.036 351.68);
--card: oklch(0.973 0.008 349.908);
--card-foreground: oklch(0.131 0.036 351.68);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.827 0.059 351.581);
--primary-foreground: oklch(0.311 0.081 356.889);
--secondary: oklch(0.9 0.001 349.696);
--secondary-foreground: oklch(0.389 0.002 349.82);
--accent: oklch(0.9 0.001 349.696);
--accent-foreground: oklch(0.389 0.002 349.82);
--destructive: oklch(0.457 0.156 34.618);
--destructive-foreground: oklch(0.929 0.034 35.944);
--ring: oklch(0.827 0.059 351.581);
--chart-1: oklch(0.827 0.059 351.581);
--chart-2: oklch(0.9 0.001 349.696);
--chart-3: oklch(0.9 0.001 349.696);
--chart-4: oklch(0.923 0.001 349.689);
--chart-5: oklch(0.826 0.063 351.702);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.007 349.871);
--muted: oklch(0.209 0.015 351.541);
--muted-foreground: oklch(0.787 0.022 350.438);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.982 0.005 349.803);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.982 0.005 349.803);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.827 0.059 351.581);
--primary-foreground: oklch(0.311 0.081 356.889);
--secondary: oklch(0.312 0.02 351.375);
--secondary-foreground: oklch(0.838 0.015 350.177);
--accent: oklch(0.312 0.02 351.375);
--accent-foreground: oklch(0.838 0.015 350.177);
--destructive: oklch(0.682 0.185 36.195);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.827 0.059 351.581);
--chart-1: oklch(0.827 0.059 351.581);
--chart-2: oklch(0.312 0.02 351.375);
--chart-3: oklch(0.312 0.02 351.375);
--chart-4: oklch(0.341 0.022 351.425);
--chart-5: oklch(0.826 0.063 351.702);
}