Tender for shadcn/ui

Tender is a shadcn/ui theme built around a deep orange primary color (#2a1b0e) with deep blue accents (#0e1d2a). The light mode uses a neutral background (#fdfcfb). Dark mode keeps the deep orange primary (#2a1b0e) on an orange-tinted background (#0e0a06).

Color palette

TokenLightDark
Background
#fdfcfbsnow
#0e0a06black
Foreground
#080502black
#fdfcfcsnow
Card
#fcfaf8snow
#120c08black
Card foreground
#040201black
#ffffffwhite
Popover
#fcfaf8snow
#120c08black
Popover foreground
#040201black
#ffffffwhite
Primary
#2a1b0eblack
#2a1b0eblack
Primary foreground
#dbb18ftan
#dbb18ftan
Secondary
#0e1d2ablack
#0e1d2ablack
Secondary foreground
#8fb9dbskyblue
#8fb9dbskyblue
Muted
#dadee2gainsboro
#1d2225black
Muted foreground
#4a5054darkslategray
#abb0b5darkgray
Accent
#0e1d2ablack
#0e1d2ablack
Accent foreground
#8fb9dbskyblue
#8fb9dbskyblue
Destructive
#600b0bmaroon
#e82c2ccrimson
Destructive foreground
#f5a8a8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2a1b0eblack
#2a1b0eblack

Contrast

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

Light mode
Text on background19.90:1AAA
Text on card19.84:1AAA
Primary button8.49:1AAA
Secondary button8.21:1AAA
Muted text6.05:1AA
Accent8.21:1AAA
Destructive7.11:1AAA
Dark mode
Text on background19.26:1AAA
Text on card19.39:1AAA
Primary button8.49:1AAA
Secondary button8.21:1AAA
Muted text7.37:1AAA
Accent8.21:1AAA
Destructive4.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 62.172);
  --foreground: oklch(0.118 0.012 70.156);
  --muted: oklch(0.899 0.007 242.294);
  --muted-foreground: oklch(0.426 0.01 242.498);
  --popover: oklch(0.985 0.003 62.15);
  --popover-foreground: oklch(0.093 0.01 70.156);
  --card: oklch(0.985 0.003 62.15);
  --card-foreground: oklch(0.093 0.01 70.156);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.237 0.034 59.471);
  --primary-foreground: oklch(0.79 0.067 60.909);
  --secondary: oklch(0.226 0.033 244.7);
  --secondary-foreground: oklch(0.767 0.066 243.435);
  --accent: oklch(0.226 0.033 244.7);
  --accent-foreground: oklch(0.767 0.066 243.435);
  --destructive: oklch(0.317 0.118 27.295);
  --destructive-foreground: oklch(0.806 0.092 19.272);
  --ring: oklch(0.237 0.034 59.471);
  --chart-1: oklch(0.237 0.034 59.471);
  --chart-2: oklch(0.226 0.033 244.7);
  --chart-3: oklch(0.226 0.033 244.7);
  --chart-4: oklch(0.258 0.041 244.969);
  --chart-5: oklch(0.238 0.035 59.226);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.148 0.012 65.074);
  --foreground: oklch(0.993 0.001 62.182);
  --muted: oklch(0.247 0.009 242.701);
  --muted-foreground: oklch(0.756 0.008 242.342);
  --popover: oklch(0.161 0.014 62.022);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.161 0.014 62.022);
  --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.237 0.034 59.471);
  --primary-foreground: oklch(0.79 0.067 60.909);
  --secondary: oklch(0.226 0.033 244.7);
  --secondary-foreground: oklch(0.767 0.066 243.435);
  --accent: oklch(0.226 0.033 244.7);
  --accent-foreground: oklch(0.767 0.066 243.435);
  --destructive: oklch(0.602 0.221 27.083);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.237 0.034 59.471);
  --chart-1: oklch(0.237 0.034 59.471);
  --chart-2: oklch(0.226 0.033 244.7);
  --chart-3: oklch(0.226 0.033 244.7);
  --chart-4: oklch(0.258 0.041 244.969);
  --chart-5: oklch(0.238 0.035 59.226);
}