Taut for shadcn/ui

Taut is a shadcn/ui theme built around a light orange primary color (#e7c9ac) with light blue accents (#acc9e7). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the light orange primary (#e7c9ac) on an orange-tinted background (#0a0805).

Color palette

TokenLightDark
Background
#fdfaf7snow
#0a0805black
Foreground
#040301black
#ffffffwhite
Card
#fdfaf7snow
#0a0805black
Card foreground
#040301black
#ffffffwhite
Popover
#fdfaf7snow
#0a0805black
Popover foreground
#040301black
#ffffffwhite
Primary
#e7c9acwheat
#e7c9acwheat
Primary foreground
#4b3016darkolivegreen
#4b3016darkolivegreen
Secondary
#acc9e7lightsteelblue
#acc9e7lightsteelblue
Secondary foreground
#16304bdarkslategray
#16304bdarkslategray
Muted
#cddbeagainsboro
#152432darkslategray
Muted foreground
#626364dimgray
#9b9c9ddarkgray
Accent
#acc9e7lightsteelblue
#acc9e7lightsteelblue
Accent foreground
#16304bdarkslategray
#16304bdarkslategray
Destructive
#d1210afirebrick
#e5240borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e7c9acwheat
#e7c9acwheat

Contrast

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

Light mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button7.72:1AAA
Secondary button7.89:1AAA
Muted text4.28:1AA Large
Accent7.89:1AAA
Destructive5.32:1AA
Dark mode
Text on background20.02:1AAA
Text on card20.02:1AAA
Primary button7.72:1AAA
Secondary button7.89:1AAA
Muted text5.75:1AA
Accent7.89:1AAA
Destructive4.57:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.006 67.76);
  --foreground: oklch(0.095 0.014 78.539);
  --muted: oklch(0.886 0.025 248.11);
  --muted-foreground: oklch(0.501 0.002 247.864);
  --popover: oklch(0.986 0.006 67.76);
  --popover-foreground: oklch(0.095 0.014 78.539);
  --card: oklch(0.986 0.006 67.76);
  --card-foreground: oklch(0.095 0.014 78.539);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.855 0.052 67.042);
  --primary-foreground: oklch(0.337 0.056 63.874);
  --secondary: oklch(0.825 0.052 248.461);
  --secondary-foreground: oklch(0.304 0.058 250.317);
  --accent: oklch(0.825 0.052 248.461);
  --accent-foreground: oklch(0.304 0.058 250.317);
  --destructive: oklch(0.553 0.211 30.823);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.855 0.052 67.042);
  --chart-1: oklch(0.855 0.052 67.042);
  --chart-2: oklch(0.825 0.052 248.461);
  --chart-3: oklch(0.825 0.052 248.461);
  --chart-4: oklch(0.85 0.045 248.351);
  --chart-5: oklch(0.856 0.054 66.991);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.009 72.48);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.253 0.034 249.275);
  --muted-foreground: oklch(0.691 0.002 247.849);
  --popover: oklch(0.135 0.009 72.48);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.135 0.009 72.48);
  --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.855 0.052 67.042);
  --primary-foreground: oklch(0.337 0.056 63.874);
  --secondary: oklch(0.825 0.052 248.461);
  --secondary-foreground: oklch(0.304 0.058 250.317);
  --accent: oklch(0.825 0.052 248.461);
  --accent-foreground: oklch(0.304 0.058 250.317);
  --destructive: oklch(0.591 0.226 30.793);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.855 0.052 67.042);
  --chart-1: oklch(0.855 0.052 67.042);
  --chart-2: oklch(0.825 0.052 248.461);
  --chart-3: oklch(0.825 0.052 248.461);
  --chart-4: oklch(0.85 0.045 248.351);
  --chart-5: oklch(0.856 0.054 66.991);
}