Thanks for shadcn/ui

Thanks is a shadcn/ui theme built around a deep teal primary color (#173a2b) with deep teal accents (#17383a). The light mode uses a neutral background (#fbfefd). Dark mode keeps the deep teal primary (#173a2b) on a teal-tinted background (#04100b).

Color palette

TokenLightDark
Background
#fbfefdwhite
#04100bblack
Foreground
#03120bblack
#f5faf8mintcream
Card
#fbfefdwhite
#04100bblack
Card foreground
#03120bblack
#f5faf8mintcream
Popover
#fbfefdwhite
#04100bblack
Popover foreground
#03120bblack
#f5faf8mintcream
Primary
#173a2bdarkslategray
#173a2bdarkslategray
Primary foreground
#a7dcc5lightblue
#a7dcc5lightblue
Secondary
#173a1adarkgreen
#173a1adarkgreen
Secondary foreground
#a7dcabpalegreen
#a7dcabpalegreen
Muted
#daecdbgainsboro
#132514black
Muted foreground
#474747darkslategray
#b8b8b8silver
Accent
#17383adarkslategray
#17383adarkslategray
Accent foreground
#a7d9dclightblue
#a7d9dclightblue
Destructive
#b72a0bfirebrick
#d9320dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#173a2bdarkslategray
#173a2bdarkslategray

Contrast

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

Light mode
Text on background18.87:1AAA
Text on card18.87:1AAA
Primary button8.12:1AAA
Secondary button8.09:1AAA
Muted text7.51:1AAA
Accent8.17:1AAA
Destructive6.25:1AA
Dark mode
Text on background18.35:1AAA
Text on card18.35:1AAA
Primary button8.12:1AAA
Secondary button8.09:1AAA
Muted text8.12:1AAA
Accent8.17:1AAA
Destructive4.76:1AA

CSS variables

Paste this into your globals.css to use Thanks in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 168.637);
  --foreground: oklch(0.164 0.028 165.792);
  --muted: oklch(0.925 0.029 147.227);
  --muted-foreground: oklch(0.399 0 180);
  --popover: oklch(0.994 0.003 168.637);
  --popover-foreground: oklch(0.164 0.028 165.792);
  --card: oklch(0.994 0.003 168.637);
  --card-foreground: oklch(0.164 0.028 165.792);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.319 0.05 163.032);
  --primary-foreground: oklch(0.852 0.063 166.465);
  --secondary: oklch(0.314 0.07 144.967);
  --secondary-foreground: oklch(0.845 0.087 146.464);
  --accent: oklch(0.317 0.038 201.615);
  --accent-foreground: oklch(0.851 0.051 201.691);
  --destructive: oklch(0.511 0.181 33.111);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.319 0.05 163.032);
  --chart-1: oklch(0.319 0.05 163.032);
  --chart-2: oklch(0.314 0.07 144.967);
  --chart-3: oklch(0.317 0.038 201.615);
  --chart-4: oklch(0.351 0.08 144.875);
  --chart-5: oklch(0.322 0.052 162.642);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.022 166.416);
  --foreground: oklch(0.981 0.007 168.539);
  --muted: oklch(0.243 0.04 145.756);
  --muted-foreground: oklch(0.781 0 180);
  --popover: oklch(0.159 0.022 166.416);
  --popover-foreground: oklch(0.981 0.007 168.539);
  --card: oklch(0.159 0.022 166.416);
  --card-foreground: oklch(0.981 0.007 168.539);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.319 0.05 163.032);
  --primary-foreground: oklch(0.852 0.063 166.465);
  --secondary: oklch(0.314 0.07 144.967);
  --secondary-foreground: oklch(0.845 0.087 146.464);
  --accent: oklch(0.317 0.038 201.615);
  --accent-foreground: oklch(0.851 0.051 201.691);
  --destructive: oklch(0.578 0.207 32.98);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.319 0.05 163.032);
  --chart-1: oklch(0.319 0.05 163.032);
  --chart-2: oklch(0.314 0.07 144.967);
  --chart-3: oklch(0.317 0.038 201.615);
  --chart-4: oklch(0.351 0.08 144.875);
  --chart-5: oklch(0.322 0.052 162.642);
}