Tender is a shadcn/ui theme built around a green primary color (#369145) with muted light green accents (#dee8e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#369145) on a neutral background (#030704).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030704black |
| Foreground | #051408black | #f6f9f6whitesmoke |
| Card | #fcfcfcsnow | #050a06black |
| Card foreground | #041006black | #f9fbf9mintcream |
| Popover | #ffffffwhite | #030704black |
| Popover foreground | #051408black | #f6f9f6whitesmoke |
| Primary | #369145seagreen | #369145seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dee8e0gainsboro | #282a28darkslategray |
| Secondary foreground | #3d5742darkslategray | #c0c4c1silver |
| Muted | #deede1gainsboro | #122115black |
| Muted foreground | #606c62dimgray | #939f95darkseagreen |
| Accent | #dee8e0gainsboro | #282a28darkslategray |
| Accent foreground | #3d5742darkslategray | #c0c4c1silver |
| Destructive | #9b1c08darkred | #f4492ftomato |
| Destructive foreground | #fdddd8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #369145seagreen | #369145seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.91:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 3.95:1 | AA Large |
| Secondary button | 6.32:1 | AA |
| Muted text | 4.52:1 | AA |
| Accent | 6.32:1 | AA |
| Destructive | 6.44:1 | AA |
| Text on background | 19.10:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 3.95:1 | AA Large |
| Secondary button | 8.20:1 | AAA |
| Muted text | 6.10:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Tender in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.174 0.034 148.552);
--muted: oklch(0.931 0.022 150.495);
--muted-foreground: oklch(0.518 0.022 150.233);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.174 0.034 148.552);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.158 0.029 149.168);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.584 0.142 146.566);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.921 0.015 150.601);
--secondary-foreground: oklch(0.428 0.046 149.228);
--accent: oklch(0.921 0.015 150.601);
--accent-foreground: oklch(0.428 0.046 149.228);
--destructive: oklch(0.447 0.165 31.454);
--destructive-foreground: oklch(0.923 0.036 28.18);
--ring: oklch(0.584 0.142 146.566);
--chart-1: oklch(0.584 0.142 146.566);
--chart-2: oklch(0.921 0.015 150.601);
--chart-3: oklch(0.921 0.015 150.601);
--chart-4: oklch(0.942 0.011 150.666);
--chart-5: oklch(0.591 0.149 146.33);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.014 150.161);
--foreground: oklch(0.979 0.005 150.746);
--muted: oklch(0.229 0.03 148.814);
--muted-foreground: oklch(0.69 0.02 150.413);
--popover: oklch(0.12 0.014 150.161);
--popover-foreground: oklch(0.979 0.005 150.746);
--card: oklch(0.138 0.016 150.157);
--card-foreground: oklch(0.986 0.004 150.771);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.584 0.142 146.566);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.282 0.005 150.573);
--secondary-foreground: oklch(0.815 0.006 150.723);
--accent: oklch(0.282 0.005 150.573);
--accent-foreground: oklch(0.815 0.006 150.723);
--destructive: oklch(0.648 0.212 31.63);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.584 0.142 146.566);
--chart-1: oklch(0.584 0.142 146.566);
--chart-2: oklch(0.282 0.005 150.573);
--chart-3: oklch(0.282 0.005 150.573);
--chart-4: oklch(0.313 0.006 150.562);
--chart-5: oklch(0.591 0.149 146.33);
}