Thankful for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.12:1AAA
Text on card19.12:1AAA
Primary button7.82:1AAA
Secondary button7.41:1AAA
Muted text6.17:1AA
Accent8.48:1AAA
Destructive6.45:1AA
Dark mode
Text on background19.42:1AAA
Text on card19.42:1AAA
Primary button7.82:1AAA
Secondary button7.41:1AAA
Muted text7.41:1AAA
Accent8.48:1AAA
Destructive4.88:1AA

CSS variables

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);
}