Untrue for shadcn/ui

Untrue is a shadcn/ui theme built around a muted deep teal primary color (#375350) with muted deep red accents (#533739). The light mode uses a neutral background (#fbfefe). Dark mode keeps the muted deep teal primary (#375350) on a teal-tinted background (#040b0b).

Color palette

TokenLightDark
Background
#fbfefewhite
#040b0bblack
Foreground
#05100fblack
#fcfdfdwhite
Card
#f7fdfcmintcream
#060f0eblack
Card foreground
#040c0bblack
#ffffffwhite
Popover
#f7fdfcmintcream
#060f0eblack
Popover foreground
#040c0bblack
#ffffffwhite
Primary
#375350darkslategray
#375350darkslategray
Primary foreground
#d7e4e3gainsboro
#d7e4e3gainsboro
Secondary
#533739darkslategray
#533739darkslategray
Secondary foreground
#e4d7d8gainsboro
#e4d7d8gainsboro
Muted
#f0e6e6linen
#1a0f10black
Muted foreground
#6a4e50dimgray
#b19598rosybrown
Accent
#533739darkslategray
#533739darkslategray
Accent foreground
#e4d7d8gainsboro
#e4d7d8gainsboro
Destructive
#c2180ffirebrick
#f04138tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#375350darkslategray
#375350darkslategray

Contrast

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

Light mode
Text on background19.02:1AAA
Text on card19.17:1AAA
Primary button6.42:1AA
Secondary button7.61:1AAA
Muted text6.06:1AA
Accent7.61:1AAA
Destructive6.10:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.42:1AAA
Primary button6.42:1AA
Secondary button7.61:1AAA
Muted text6.80:1AA
Accent7.61:1AAA
Destructive3.80:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 191.186);
  --foreground: oklch(0.16 0.017 189.293);
  --muted: oklch(0.932 0.011 11.511);
  --muted-foreground: oklch(0.454 0.037 13.084);
  --popover: oklch(0.989 0.006 191.12);
  --popover-foreground: oklch(0.143 0.015 190.04);
  --card: oklch(0.989 0.006 191.12);
  --card-foreground: oklch(0.143 0.015 190.04);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.418 0.033 189.431);
  --primary-foreground: oklch(0.91 0.014 190.906);
  --secondary: oklch(0.37 0.04 13.671);
  --secondary-foreground: oklch(0.891 0.015 11.611);
  --accent: oklch(0.37 0.04 13.671);
  --accent-foreground: oklch(0.891 0.015 11.611);
  --destructive: oklch(0.52 0.202 29.37);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.418 0.033 189.431);
  --chart-1: oklch(0.418 0.033 189.431);
  --chart-2: oklch(0.37 0.04 13.671);
  --chart-3: oklch(0.37 0.04 13.671);
  --chart-4: oklch(0.397 0.043 13.719);
  --chart-5: oklch(0.423 0.038 189.195);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.013 190.253);
  --foreground: oklch(0.993 0.001 191.234);
  --muted: oklch(0.184 0.017 13.373);
  --muted-foreground: oklch(0.697 0.033 12.293);
  --popover: oklch(0.158 0.015 189.507);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.158 0.015 189.507);
  --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.418 0.033 189.431);
  --primary-foreground: oklch(0.91 0.014 190.906);
  --secondary: oklch(0.37 0.04 13.671);
  --secondary-foreground: oklch(0.891 0.015 11.611);
  --accent: oklch(0.37 0.04 13.671);
  --accent-foreground: oklch(0.891 0.015 11.611);
  --destructive: oklch(0.634 0.213 27.984);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.418 0.033 189.431);
  --chart-1: oklch(0.418 0.033 189.431);
  --chart-2: oklch(0.37 0.04 13.671);
  --chart-3: oklch(0.37 0.04 13.671);
  --chart-4: oklch(0.397 0.043 13.719);
  --chart-5: oklch(0.423 0.038 189.195);
}