Tender is a shadcn/ui theme built around a vivid deep green primary color (#038c45) with vivid deep orange accents (#8c4503). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#038c45) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #038c45seagreen | #038c45seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #45038cindigo | #45038cindigo |
| Secondary foreground | #dfc3felavender | #dfc3felavender |
| Muted | #eae6eflavender | #141019black |
| Muted foreground | #4f4d51darkslategray | #b0aeb2darkgray |
| Accent | #8c4503saddlebrown | #8c4503saddlebrown |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c83204firebrick | #fa3e05orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #038c45seagreen | #038c45seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 4.34:1 | AA Large |
| Secondary button | 8.13:1 | AAA |
| Muted text | 6.79:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 5.37:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 4.34:1 | AA Large |
| Secondary button | 8.13:1 | AAA |
| Muted text | 8.54:1 | AAA |
| Accent | 7.07:1 | AAA |
| Destructive | 3.64: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 0 0);
--muted: oklch(0.931 0.013 307.621);
--muted-foreground: oklch(0.425 0.006 307.637);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.561 0.148 151.615);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.343 0.186 294.807);
--secondary-foreground: oklch(0.86 0.085 306.626);
--accent: oklch(0.472 0.117 53.861);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.548 0.192 34.517);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.561 0.148 151.615);
--chart-1: oklch(0.561 0.148 151.615);
--chart-2: oklch(0.343 0.186 294.807);
--chart-3: oklch(0.472 0.117 53.861);
--chart-4: oklch(0.369 0.201 294.47);
--chart-5: oklch(0.566 0.151 151.343);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 164.225);
--muted: oklch(0.182 0.02 306.492);
--muted-foreground: oklch(0.754 0.005 307.715);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 164.225);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 164.225);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.561 0.148 151.615);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.343 0.186 294.807);
--secondary-foreground: oklch(0.86 0.085 306.626);
--accent: oklch(0.472 0.117 53.861);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.646 0.229 34.182);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.561 0.148 151.615);
--chart-1: oklch(0.561 0.148 151.615);
--chart-2: oklch(0.343 0.186 294.807);
--chart-3: oklch(0.472 0.117 53.861);
--chart-4: oklch(0.369 0.201 294.47);
--chart-5: oklch(0.566 0.151 151.343);
}