Tender is a shadcn/ui theme built around a muted teal primary color (#7aa8a5) with muted yellow accents (#a8a57a). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted teal primary (#7aa8a5) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #030707black |
| Foreground | #010909black | #f5faf9mintcream |
| Card | #fbfefdwhite | #030707black |
| Card foreground | #010909black | #f5faf9mintcream |
| Popover | #fbfefdwhite | #030707black |
| Popover foreground | #010909black | #f5faf9mintcream |
| Primary | #7aa8a5cadetblue | #7aa8a5cadetblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #a57aa8rosybrown | #a57aa8rosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #f3ebf4whitesmoke | #130b14black |
| Muted foreground | #525252darkslategray | #adadaddarkgray |
| Accent | #a8a57adarkkhaki | #a8a57adarkkhaki |
| Accent foreground | #000000black | #000000black |
| Destructive | #c6430cchocolate | #f3672btomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7aa8a5cadetblue | #7aa8a5cadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 8.00:1 | AAA |
| Secondary button | 5.95:1 | AA |
| Muted text | 6.71:1 | AA |
| Accent | 8.30:1 | AAA |
| Destructive | 4.99:1 | AA |
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 8.00:1 | AAA |
| Secondary button | 5.95:1 | AA |
| Muted text | 8.62:1 | AAA |
| Accent | 8.30:1 | AAA |
| Destructive | 6.76:1 | AA |
Paste this into your globals.css to use Tender in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 191.193);
--foreground: oklch(0.129 0.019 190.105);
--muted: oklch(0.95 0.015 323.205);
--muted-foreground: oklch(0.437 0 180);
--popover: oklch(0.994 0.003 191.193);
--popover-foreground: oklch(0.129 0.019 190.105);
--card: oklch(0.994 0.003 191.193);
--card-foreground: oklch(0.129 0.019 190.105);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.699 0.05 189.642);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.638 0.083 323.695);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.713 0.058 103.406);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.562 0.176 38.817);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.699 0.05 189.642);
--chart-1: oklch(0.699 0.05 189.642);
--chart-2: oklch(0.638 0.083 323.695);
--chart-3: oklch(0.713 0.058 103.406);
--chart-4: oklch(0.664 0.077 323.637);
--chart-5: oklch(0.705 0.056 189.441);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.009 190.644);
--foreground: oklch(0.981 0.005 191.137);
--muted: oklch(0.164 0.022 323.719);
--muted-foreground: oklch(0.749 0 158.199);
--popover: oklch(0.122 0.009 190.644);
--popover-foreground: oklch(0.981 0.005 191.137);
--card: oklch(0.122 0.009 190.644);
--card-foreground: oklch(0.981 0.005 191.137);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.699 0.05 189.642);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.638 0.083 323.695);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.713 0.058 103.406);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.68 0.186 41.134);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.699 0.05 189.642);
--chart-1: oklch(0.699 0.05 189.642);
--chart-2: oklch(0.638 0.083 323.695);
--chart-3: oklch(0.713 0.058 103.406);
--chart-4: oklch(0.664 0.077 323.637);
--chart-5: oklch(0.705 0.056 189.441);
}