Journey for shadcn/ui

Journey is a shadcn/ui theme built around a vivid red primary color (#f38ca0) with vivid teal accents (#8cf3de). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid red primary (#f38ca0) on a red-tinted background (#0b0506).

Color palette

TokenLightDark
Background
#fefbfbsnow
#0b0506black
Foreground
#090103black
#fdfbfcsnow
Card
#fefbfbsnow
#0b0506black
Card foreground
#090103black
#fdfbfcsnow
Popover
#fefbfbsnow
#0b0506black
Popover foreground
#090103black
#fdfbfcsnow
Primary
#f38ca0lightcoral
#f38ca0lightcoral
Primary foreground
#450714maroon
#450714maroon
Secondary
#8cf3deaquamarine
#8cf3deaquamarine
Secondary foreground
#074539darkslategray
#074539darkslategray
Muted
#cce5e0gainsboro
#1a332edarkslategray
Muted foreground
#3d4d4adarkslategray
#b2c2bfsilver
Accent
#8cf3deaquamarine
#8cf3deaquamarine
Accent foreground
#074539darkslategray
#074539darkslategray
Destructive
#8e3810saddlebrown
#e65a1achocolate
Destructive foreground
#fae1d6antiquewhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f38ca0lightcoral
#f38ca0lightcoral

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card20.03:1AAA
Primary button6.99:1AA
Secondary button8.32:1AAA
Muted text6.74:1AA
Accent8.32:1AAA
Destructive6.16:1AA
Dark mode
Text on background19.66:1AAA
Text on card19.66:1AAA
Primary button6.99:1AA
Secondary button8.32:1AAA
Muted text7.31:1AAA
Accent8.32:1AAA
Destructive3.60:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 3.288);
  --foreground: oklch(0.101 0.025 3.565);
  --muted: oklch(0.903 0.028 182.331);
  --muted-foreground: oklch(0.405 0.022 181.654);
  --popover: oklch(0.99 0.004 3.288);
  --popover-foreground: oklch(0.101 0.025 3.565);
  --card: oklch(0.99 0.004 3.288);
  --card-foreground: oklch(0.101 0.025 3.565);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.754 0.127 7.728);
  --primary-foreground: oklch(0.257 0.091 15.945);
  --secondary: oklch(0.895 0.102 179.476);
  --secondary-foreground: oklch(0.351 0.063 174.956);
  --accent: oklch(0.895 0.102 179.476);
  --accent-foreground: oklch(0.351 0.063 174.956);
  --destructive: oklch(0.455 0.127 41.714);
  --destructive-foreground: oklch(0.928 0.032 46.5);
  --ring: oklch(0.754 0.127 7.728);
  --chart-1: oklch(0.754 0.127 7.728);
  --chart-2: oklch(0.895 0.102 179.476);
  --chart-3: oklch(0.895 0.102 179.476);
  --chart-4: oklch(0.906 0.091 180.01);
  --chart-5: oklch(0.753 0.132 7.922);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.014 3.37);
  --foreground: oklch(0.991 0.002 3.245);
  --muted: oklch(0.298 0.033 179.616);
  --muted-foreground: oklch(0.802 0.019 182.538);
  --popover: oklch(0.124 0.014 3.37);
  --popover-foreground: oklch(0.991 0.002 3.245);
  --card: oklch(0.124 0.014 3.37);
  --card-foreground: oklch(0.991 0.002 3.245);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.754 0.127 7.728);
  --primary-foreground: oklch(0.257 0.091 15.945);
  --secondary: oklch(0.895 0.102 179.476);
  --secondary-foreground: oklch(0.351 0.063 174.956);
  --accent: oklch(0.895 0.102 179.476);
  --accent-foreground: oklch(0.351 0.063 174.956);
  --destructive: oklch(0.642 0.187 41.024);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.754 0.127 7.728);
  --chart-1: oklch(0.754 0.127 7.728);
  --chart-2: oklch(0.895 0.102 179.476);
  --chart-3: oklch(0.895 0.102 179.476);
  --chart-4: oklch(0.906 0.091 180.01);
  --chart-5: oklch(0.753 0.132 7.922);
}