Trend for shadcn/ui

Trend is a shadcn/ui theme built around a pink primary color (#d56c8d) with teal accents (#6cd5b4). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the pink primary (#d56c8d) on a pink-tinted background (#0a0507).

Color palette

TokenLightDark
Background
#fdf7f9snow
#0a0507black
Foreground
#0d0206black
#faf5f6whitesmoke
Card
#fdf7f9snow
#0a0507black
Card foreground
#0d0206black
#faf5f6whitesmoke
Popover
#fdf7f9snow
#0a0507black
Popover foreground
#0d0206black
#faf5f6whitesmoke
Primary
#d56c8dpalevioletred
#d56c8dpalevioletred
Primary foreground
#0c0306black
#0c0306black
Secondary
#6cd5b4mediumaquamarine
#6cd5b4mediumaquamarine
Secondary foreground
#030c09black
#030c09black
Muted
#eff6f3whitesmoke
#09100eblack
Muted foreground
#505e59dimgray
#a1afabdarkgray
Accent
#6cd5b4mediumaquamarine
#6cd5b4mediumaquamarine
Accent foreground
#030c09black
#030c09black
Destructive
#af410esaddlebrown
#de5212chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d56c8dpalevioletred
#d56c8dpalevioletred

Contrast

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

Light mode
Text on background19.27:1AAA
Text on card19.27:1AAA
Primary button6.17:1AA
Secondary button11.18:1AAA
Muted text6.18:1AA
Accent11.18:1AAA
Destructive5.87:1AA
Dark mode
Text on background18.75:1AAA
Text on card18.75:1AAA
Primary button6.17:1AA
Secondary button11.18:1AAA
Muted text8.44:1AAA
Accent11.18:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 355.825);
  --foreground: oklch(0.117 0.031 355.709);
  --muted: oklch(0.966 0.008 175.387);
  --muted-foreground: oklch(0.467 0.019 174.407);
  --popover: oklch(0.981 0.007 355.825);
  --popover-foreground: oklch(0.117 0.031 355.709);
  --card: oklch(0.981 0.007 355.825);
  --card-foreground: oklch(0.117 0.031 355.709);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.663 0.137 1.426);
  --primary-foreground: oklch(0.121 0.022 355.536);
  --secondary: oklch(0.802 0.11 170.415);
  --secondary-foreground: oklch(0.143 0.017 175.328);
  --accent: oklch(0.802 0.11 170.415);
  --accent-foreground: oklch(0.143 0.017 175.328);
  --destructive: oklch(0.521 0.154 40.688);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.663 0.137 1.426);
  --chart-1: oklch(0.663 0.137 1.426);
  --chart-2: oklch(0.802 0.11 170.415);
  --chart-3: oklch(0.802 0.11 170.415);
  --chart-4: oklch(0.817 0.103 171.025);
  --chart-5: oklch(0.662 0.144 1.775);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.013 355.432);
  --foreground: oklch(0.974 0.006 355.797);
  --muted: oklch(0.165 0.011 173.476);
  --muted-foreground: oklch(0.743 0.017 174.945);
  --popover: oklch(0.125 0.013 355.432);
  --popover-foreground: oklch(0.974 0.006 355.797);
  --card: oklch(0.125 0.013 355.432);
  --card-foreground: oklch(0.974 0.006 355.797);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.663 0.137 1.426);
  --primary-foreground: oklch(0.121 0.022 355.536);
  --secondary: oklch(0.802 0.11 170.415);
  --secondary-foreground: oklch(0.143 0.017 175.328);
  --accent: oklch(0.802 0.11 170.415);
  --accent-foreground: oklch(0.143 0.017 175.328);
  --destructive: oklch(0.62 0.186 40.312);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.663 0.137 1.426);
  --chart-1: oklch(0.663 0.137 1.426);
  --chart-2: oklch(0.802 0.11 170.415);
  --chart-3: oklch(0.802 0.11 170.415);
  --chart-4: oklch(0.817 0.103 171.025);
  --chart-5: oklch(0.662 0.144 1.775);
}