Thankful is a shadcn/ui theme built around a green primary color (#588745) with pink accents (#874558). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#588745) on a green-tinted background (#070a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #070a05black |
| Foreground | #060c03black | #fcfdfcwhite |
| Card | #f9fdf7mintcream | #090d07black |
| Card foreground | #040802black | #ffffffwhite |
| Popover | #fcfefbwhite | #070a05black |
| Popover foreground | #060c03black | #fcfdfcwhite |
| Primary | #588745darkolivegreen | #588745darkolivegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #455887darkslateblue | #455887darkslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dce0eagainsboro | #151923black |
| Muted foreground | #505258darkslategray | #a7a9afdarkgray |
| Accent | #874558dimgray | #874558dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #e60000red | #ff0a0ared |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #588745darkolivegreen | #588745darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 4.24:1 | AA Large |
| Secondary button | 7.01:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 6.94:1 | AA |
| Destructive | 4.82:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 4.24:1 | AA Large |
| Secondary button | 7.01:1 | AAA |
| Muted text | 7.48:1 | AAA |
| Accent | 6.94:1 | AA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Thankful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 136.622);
--foreground: oklch(0.143 0.025 135.017);
--muted: oklch(0.906 0.015 268.669);
--muted-foreground: oklch(0.44 0.01 268.612);
--popover: oklch(0.994 0.004 136.622);
--popover-foreground: oklch(0.143 0.025 135.017);
--card: oklch(0.989 0.009 136.635);
--card-foreground: oklch(0.125 0.022 134.896);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.572 0.108 137.424);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.466 0.08 266.906);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.478 0.091 3.064);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.58 0.238 29.234);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.572 0.108 137.424);
--chart-1: oklch(0.572 0.108 137.424);
--chart-2: oklch(0.466 0.08 266.906);
--chart-3: oklch(0.478 0.091 3.064);
--chart-4: oklch(0.49 0.085 266.885);
--chart-5: oklch(0.579 0.116 137.524);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.014 135.64);
--foreground: oklch(0.993 0.001 136.612);
--muted: oklch(0.214 0.022 267.801);
--muted-foreground: oklch(0.735 0.009 268.702);
--popover: oklch(0.138 0.014 135.64);
--popover-foreground: oklch(0.993 0.001 136.612);
--card: oklch(0.153 0.016 136.1);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.572 0.108 137.424);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.466 0.08 266.906);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.478 0.091 3.064);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.63 0.256 28.983);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.572 0.108 137.424);
--chart-1: oklch(0.572 0.108 137.424);
--chart-2: oklch(0.466 0.08 266.906);
--chart-3: oklch(0.478 0.091 3.064);
--chart-4: oklch(0.49 0.085 266.885);
--chart-5: oklch(0.579 0.116 137.524);
}