Incompatible for shadcn/ui

Incompatible is a shadcn/ui theme built around a red primary color (#e27888) with teal accents (#78e2d3). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#e27888) on a red-tinted background (#100506).

Color palette

TokenLightDark
Background
#ffffffwhite
#100506black
Foreground
#0f0507black
#fdfcfcsnow
Card
#fcfcfcsnow
#140608black
Card foreground
#0b0405black
#ffffffwhite
Popover
#fcfcfcsnow
#140608black
Popover foreground
#0b0405black
#ffffffwhite
Primary
#e27888palevioletred
#e27888palevioletred
Primary foreground
#22070bblack
#22070bblack
Secondary
#78e2d3aquamarine
#78e2d3aquamarine
Secondary foreground
#07221eblack
#07221eblack
Muted
#dbebe9gainsboro
#142422black
Muted foreground
#4e5554darkslategray
#aab1b0darkgray
Accent
#78e2d3aquamarine
#78e2d3aquamarine
Accent foreground
#07221eblack
#07221eblack
Destructive
#9a1a04darkred
#f93310orangered
Destructive foreground
#fed9d2bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e27888palevioletred
#e27888palevioletred

Contrast

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

Light mode
Text on background20.09:1AAA
Text on card19.87:1AAA
Primary button6.62:1AA
Secondary button10.87:1AAA
Muted text6.21:1AA
Accent10.87:1AAA
Destructive6.35:1AA
Dark mode
Text on background19.62:1AAA
Text on card19.85:1AAA
Primary button6.62:1AA
Secondary button10.87:1AAA
Muted text7.34:1AAA
Accent10.87:1AAA
Destructive3.81:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.135 0.021 8.192);
  --muted: oklch(0.928 0.018 186.093);
  --muted-foreground: oklch(0.443 0.008 186.104);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.121 0.018 7.346);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.121 0.018 7.346);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.697 0.132 11.588);
  --primary-foreground: oklch(0.178 0.046 13.448);
  --secondary: oklch(0.846 0.102 182.938);
  --secondary-foreground: oklch(0.229 0.033 181.836);
  --accent: oklch(0.846 0.102 182.938);
  --accent-foreground: oklch(0.229 0.033 181.836);
  --destructive: oklch(0.444 0.165 31.92);
  --destructive-foreground: oklch(0.914 0.043 29.703);
  --ring: oklch(0.697 0.132 11.588);
  --chart-1: oklch(0.697 0.132 11.588);
  --chart-2: oklch(0.846 0.102 182.938);
  --chart-3: oklch(0.846 0.102 182.938);
  --chart-4: oklch(0.859 0.094 183.371);
  --chart-5: oklch(0.696 0.138 11.866);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.023 8.351);
  --foreground: oklch(0.991 0.002 6.644);
  --muted: oklch(0.246 0.023 183.932);
  --muted-foreground: oklch(0.754 0.007 186.342);
  --popover: oklch(0.146 0.027 9.533);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.146 0.027 9.533);
  --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.697 0.132 11.588);
  --primary-foreground: oklch(0.178 0.046 13.448);
  --secondary: oklch(0.846 0.102 182.938);
  --secondary-foreground: oklch(0.229 0.033 181.836);
  --accent: oklch(0.846 0.102 182.938);
  --accent-foreground: oklch(0.229 0.033 181.836);
  --destructive: oklch(0.636 0.235 31.833);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.697 0.132 11.588);
  --chart-1: oklch(0.697 0.132 11.588);
  --chart-2: oklch(0.846 0.102 182.938);
  --chart-3: oklch(0.846 0.102 182.938);
  --chart-4: oklch(0.859 0.094 183.371);
  --chart-5: oklch(0.696 0.138 11.866);
}