Thankful is a shadcn/ui theme built around a muted deep teal primary color (#0d1210) with muted deep orange accents (#12100d). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the muted deep teal primary (#0d1210) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #000000black |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #f5faf8mintcream | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcfamintcream | #000000black |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #0d1210black | #0d1210black |
| Primary foreground | #9ab6aadarkgray | #9ab6aadarkgray |
| Secondary | #100d12black | #100d12black |
| Secondary foreground | #aa9ab6darkgray | #aa9ab6darkgray |
| Muted | #e7ddeelavender | #1b1122black |
| Muted foreground | #4d4851darkslategray | #b3aeb7darkgray |
| Accent | #12100dblack | #12100dblack |
| Accent foreground | #b6aa9adarkgray | #b6aa9adarkgray |
| Destructive | #a54209saddlebrown | #f47a34coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0d1210black | #0d1210black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 8.69:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 6.76:1 | AA |
| Accent | 8.34:1 | AAA |
| Destructive | 6.22:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.69:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 8.40:1 | AAA |
| Accent | 8.34:1 | AAA |
| Destructive | 7.69:1 | AAA |
Paste this into your globals.css to use Thankful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 168.605);
--foreground: oklch(0 0 0);
--muted: oklch(0.91 0.025 310.848);
--muted-foreground: oklch(0.41 0.017 310.735);
--popover: oklch(0.987 0.005 168.605);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.007 168.539);
--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.175 0.009 167.237);
--primary-foreground: oklch(0.752 0.035 167.369);
--secondary: oklch(0.164 0.011 310.502);
--secondary-foreground: oklch(0.71 0.043 310.555);
--accent: oklch(0.173 0.007 74.667);
--accent-foreground: oklch(0.744 0.026 74.698);
--destructive: oklch(0.506 0.144 43.667);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.175 0.009 167.237);
--chart-1: oklch(0.175 0.009 167.237);
--chart-2: oklch(0.164 0.011 310.502);
--chart-3: oklch(0.173 0.007 74.667);
--chart-4: oklch(0.196 0.016 310.386);
--chart-5: oklch(0.176 0.01 166.957);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 168.68);
--muted: oklch(0.199 0.036 309.481);
--muted-foreground: oklch(0.758 0.014 310.922);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 168.68);
--card: oklch(0.092 0 180);
--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.175 0.009 167.237);
--primary-foreground: oklch(0.752 0.035 167.369);
--secondary: oklch(0.164 0.011 310.502);
--secondary-foreground: oklch(0.71 0.043 310.555);
--accent: oklch(0.173 0.007 74.667);
--accent-foreground: oklch(0.744 0.026 74.698);
--destructive: oklch(0.71 0.17 47.178);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.175 0.009 167.237);
--chart-1: oklch(0.175 0.009 167.237);
--chart-2: oklch(0.164 0.011 310.502);
--chart-3: oklch(0.173 0.007 74.667);
--chart-4: oklch(0.196 0.016 310.386);
--chart-5: oklch(0.176 0.01 166.957);
}