Anxious Amor for shadcn/ui

Anxious Amor is a shadcn/ui theme built around a vivid pink primary color (#f5327a) with vivid teal accents (#32f5ae). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#f5327a) on a neutral background (#070305).

Color palette

TokenLightDark
Background
#ffffffwhite
#070305black
Foreground
#040102black
#fdfcfcsnow
Card
#fcfcfcsnow
#0b0507black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#070305black
Popover foreground
#040102black
#fdfcfcsnow
Primary
#f5327adeeppink
#f5327adeeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#32f5aeturquoise
#32f5aeturquoise
Secondary foreground
#045839darkslategray
#045839darkslategray
Muted
#d7eae3gainsboro
#152821black
Muted foreground
#5c6662dimgray
#99a39fdarkgray
Accent
#32f5aeturquoise
#32f5aeturquoise
Accent foreground
#045839darkslategray
#045839darkslategray
Destructive
#781c08maroon
#f14822orangered
Destructive foreground
#fac3b7lightpink
#ffffffwhite
Border
#f4f1f2whitesmoke
#281f23black
Input
#f4f1f2whitesmoke
#281f23black
Ring
#f5327adeeppink
#f5327adeeppink

Contrast

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

Light mode
Text on background20.78:1AAA
Text on card20.54:1AAA
Primary button3.72:1AA Large
Secondary button6.03:1AA
Muted text4.75:1AA
Accent6.03:1AA
Destructive6.88:1AA
Dark mode
Text on background20.01:1AAA
Text on card20.25:1AAA
Primary button3.72:1AA Large
Secondary button6.03:1AA
Muted text5.94:1AA
Accent6.03:1AA
Destructive3.68:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.082 0.019 352.094);
  --muted: oklch(0.921 0.023 171.838);
  --muted-foreground: oklch(0.5 0.013 171.791);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.082 0.019 352.094);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.96 0.004 352.683);
  --input: oklch(0.96 0.004 352.683);
  --primary: oklch(0.644 0.23 5.259);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.863 0.179 162.214);
  --secondary-foreground: oklch(0.406 0.089 160.843);
  --accent: oklch(0.863 0.179 162.214);
  --accent-foreground: oklch(0.406 0.089 160.843);
  --destructive: oklch(0.379 0.129 33.575);
  --destructive-foreground: oklch(0.864 0.066 32.884);
  --ring: oklch(0.644 0.23 5.259);
  --chart-1: oklch(0.644 0.23 5.259);
  --chart-2: oklch(0.863 0.179 162.214);
  --chart-3: oklch(0.863 0.179 162.214);
  --chart-4: oklch(0.868 0.171 163.309);
  --chart-5: oklch(0.648 0.235 5.767);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.013 352.319);
  --foreground: oklch(0.991 0.002 352.628);
  --muted: oklch(0.259 0.029 168.677);
  --muted-foreground: oklch(0.706 0.012 172.069);
  --popover: oklch(0.109 0.013 352.319);
  --popover-foreground: oklch(0.991 0.002 352.628);
  --card: oklch(0.124 0.015 352.359);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.252 0.014 354.142);
  --input: oklch(0.252 0.014 354.142);
  --primary: oklch(0.644 0.23 5.259);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.863 0.179 162.214);
  --secondary-foreground: oklch(0.406 0.089 160.843);
  --accent: oklch(0.863 0.179 162.214);
  --accent-foreground: oklch(0.406 0.089 160.843);
  --destructive: oklch(0.641 0.211 33.773);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.644 0.23 5.259);
  --chart-1: oklch(0.644 0.23 5.259);
  --chart-2: oklch(0.863 0.179 162.214);
  --chart-3: oklch(0.863 0.179 162.214);
  --chart-4: oklch(0.868 0.171 163.309);
  --chart-5: oklch(0.648 0.235 5.767);
}