Untrue for shadcn/ui

Untrue is a shadcn/ui theme built around a muted pink primary color (#ae7a91) with muted teal accents (#7aae96). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the muted pink primary (#ae7a91) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#fdf7fasnow
#040102black
Foreground
#080205black
#f9f6f7whitesmoke
Card
#fdf7fasnow
#040102black
Card foreground
#080205black
#f9f6f7whitesmoke
Popover
#fdf7fasnow
#040102black
Popover foreground
#080205black
#f9f6f7whitesmoke
Primary
#ae7a91rosybrown
#ae7a91rosybrown
Primary foreground
#000000black
#000000black
Secondary
#7aae96darkseagreen
#7aae96darkseagreen
Secondary foreground
#000000black
#000000black
Muted
#ebf4f0whitesmoke
#0b1410black
Muted foreground
#404543darkslategray
#babfbdsilver
Accent
#7aae96darkseagreen
#7aae96darkseagreen
Accent foreground
#000000black
#000000black
Destructive
#c91208firebrick
#f6291eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ae7a91rosybrown
#ae7a91rosybrown

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button5.99:1AA
Secondary button8.29:1AAA
Muted text8.72:1AAA
Accent8.29:1AAA
Destructive5.88:1AA
Dark mode
Text on background19.32:1AAA
Text on card19.32:1AAA
Primary button5.99:1AA
Secondary button8.29:1AAA
Muted text10.06:1AAA
Accent8.29:1AAA
Destructive4.01: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.982 0.006 347.992);
  --foreground: oklch(0.105 0.023 347.465);
  --muted: oklch(0.96 0.011 167.489);
  --muted-foreground: oklch(0.384 0.008 167.222);
  --popover: oklch(0.982 0.006 347.992);
  --popover-foreground: oklch(0.105 0.023 347.465);
  --card: oklch(0.982 0.006 347.992);
  --card-foreground: oklch(0.105 0.023 347.465);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.639 0.071 350.666);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.707 0.064 164.978);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.707 0.064 164.978);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.53 0.21 29.492);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.639 0.071 350.666);
  --chart-1: oklch(0.639 0.071 350.666);
  --chart-2: oklch(0.707 0.064 164.978);
  --chart-3: oklch(0.707 0.064 164.978);
  --chart-4: oklch(0.728 0.06 165.299);
  --chart-5: oklch(0.637 0.08 351.028);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.013 347.568);
  --foreground: oklch(0.976 0.003 347.896);
  --muted: oklch(0.18 0.016 165.018);
  --muted-foreground: oklch(0.801 0.007 167.578);
  --popover: oklch(0.086 0.013 347.568);
  --popover-foreground: oklch(0.976 0.003 347.896);
  --card: oklch(0.086 0.013 347.568);
  --card-foreground: oklch(0.976 0.003 347.896);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.639 0.071 350.666);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.707 0.064 164.978);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.707 0.064 164.978);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.624 0.237 29.174);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.639 0.071 350.666);
  --chart-1: oklch(0.639 0.071 350.666);
  --chart-2: oklch(0.707 0.064 164.978);
  --chart-3: oklch(0.707 0.064 164.978);
  --chart-4: oklch(0.728 0.06 165.299);
  --chart-5: oklch(0.637 0.08 351.028);
}