Thankful is a shadcn/ui theme built around a red primary color (#e6aa99) with yellow accents (#e6d099). The light mode uses a neutral background (#fefcfb). Dark mode keeps the red primary (#e6aa99) on a red-tinted background (#0e0806).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0e0806black |
| Foreground | #140906black | #fdfcfcsnow |
| Card | #fefcfbsnow | #0e0806black |
| Card foreground | #140906black | #fdfcfcsnow |
| Popover | #fefcfbsnow | #0e0806black |
| Popover foreground | #140906black | #fdfcfcsnow |
| Primary | #e6aa99burlywood | #e6aa99burlywood |
| Primary foreground | #3d190fblack | #3d190fblack |
| Secondary | #e699aflightpink | #e699aflightpink |
| Secondary foreground | #3d0f1cblack | #3d0f1cblack |
| Muted | #e6d6dagainsboro | #29191eblack |
| Muted foreground | #56484cdarkslategray | #b7a9addarkgray |
| Accent | #e6d099khaki | #e6d099khaki |
| Accent foreground | #3d300fdarkolivegreen | #3d300fdarkolivegreen |
| Destructive | #9a1f09firebrick | #d92b0dfirebrick |
| Destructive foreground | #fdded8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6aa99burlywood | #e6aa99burlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 8.48:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 7.41:1 | AAA |
| Accent | 8.48:1 | AAA |
| Destructive | 4.88:1 | AA |
Paste this into your globals.css to use Thankful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 36.004);
--foreground: oklch(0.154 0.02 38.998);
--muted: oklch(0.89 0.019 358.305);
--muted-foreground: oklch(0.417 0.02 359.067);
--popover: oklch(0.992 0.002 36.004);
--popover-foreground: oklch(0.154 0.02 38.998);
--card: oklch(0.992 0.002 36.004);
--card-foreground: oklch(0.154 0.02 38.998);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.788 0.075 36.038);
--primary-foreground: oklch(0.265 0.06 36.394);
--secondary: oklch(0.765 0.095 1.129);
--secondary-foreground: oklch(0.252 0.073 6.674);
--accent: oklch(0.862 0.075 88.949);
--accent-foreground: oklch(0.317 0.052 87.356);
--destructive: oklch(0.448 0.162 32.023);
--destructive-foreground: oklch(0.924 0.035 29.647);
--ring: oklch(0.788 0.075 36.038);
--chart-1: oklch(0.788 0.075 36.038);
--chart-2: oklch(0.765 0.095 1.129);
--chart-3: oklch(0.862 0.075 88.949);
--chart-4: oklch(0.792 0.083 0.583);
--chart-5: oklch(0.788 0.079 36.053);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.013 39.483);
--foreground: oklch(0.992 0.001 36.008);
--muted: oklch(0.237 0.027 0.785);
--muted-foreground: oklch(0.748 0.017 358.37);
--popover: oklch(0.142 0.013 39.483);
--popover-foreground: oklch(0.992 0.001 36.008);
--card: oklch(0.142 0.013 39.483);
--card-foreground: oklch(0.992 0.001 36.008);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.788 0.075 36.038);
--primary-foreground: oklch(0.265 0.06 36.394);
--secondary: oklch(0.765 0.095 1.129);
--secondary-foreground: oklch(0.252 0.073 6.674);
--accent: oklch(0.862 0.075 88.949);
--accent-foreground: oklch(0.317 0.052 87.356);
--destructive: oklch(0.573 0.212 31.833);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.788 0.075 36.038);
--chart-1: oklch(0.788 0.075 36.038);
--chart-2: oklch(0.765 0.095 1.129);
--chart-3: oklch(0.862 0.075 88.949);
--chart-4: oklch(0.792 0.083 0.583);
--chart-5: oklch(0.788 0.079 36.053);
}