Welcome for shadcn/ui

Welcome is a shadcn/ui theme built around a deep teal primary color (#193830) with deep pink accents (#381922). The light mode uses a neutral background (#f6fdfb). Dark mode keeps the deep teal primary (#193830) on a neutral background (#020806).

Color palette

TokenLightDark
Background
#f6fdfbmintcream
#020806black
Foreground
#000000black
#f8fbfbghostwhite
Card
#f6fdfbmintcream
#020806black
Card foreground
#000000black
#f8fbfbghostwhite
Popover
#f6fdfbmintcream
#020806black
Popover foreground
#000000black
#f8fbfbghostwhite
Primary
#193830darkslategray
#193830darkslategray
Primary foreground
#abd9cclightblue
#abd9cclightblue
Secondary
#381922black
#381922black
Secondary foreground
#d9abb8silver
#d9abb8silver
Muted
#e4e2e2gainsboro
#1d1b1bblack
Muted foreground
#625055dimgray
#af9da2darkgray
Accent
#381922black
#381922black
Accent foreground
#d9abb8silver
#d9abb8silver
Destructive
#66160amaroon
#ec5841tomato
Destructive foreground
#f7b5ablightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#193830darkslategray
#193830darkslategray

Contrast

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

Light mode
Text on background20.42:1AAA
Text on card20.42:1AAA
Primary button8.17:1AAA
Secondary button7.84:1AAA
Muted text5.80:1AA
Accent7.84:1AAA
Destructive7.19:1AAA
Dark mode
Text on background19.39:1AAA
Text on card19.39:1AAA
Primary button8.17:1AAA
Secondary button7.84:1AAA
Muted text6.67:1AA
Accent7.84:1AAA
Destructive6.03:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.008 177.49);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.914 0.003 357.815);
  --muted-foreground: oklch(0.452 0.025 359.248);
  --popover: oklch(0.989 0.008 177.49);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.008 177.49);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.315 0.041 172.994);
  --primary-foreground: oklch(0.849 0.052 175.808);
  --secondary: oklch(0.262 0.05 3.095);
  --secondary-foreground: oklch(0.786 0.057 359.715);
  --accent: oklch(0.262 0.05 3.095);
  --accent-foreground: oklch(0.786 0.057 359.715);
  --destructive: oklch(0.339 0.115 31.66);
  --destructive-foreground: oklch(0.832 0.078 28.699);
  --ring: oklch(0.315 0.041 172.994);
  --chart-1: oklch(0.315 0.041 172.994);
  --chart-2: oklch(0.262 0.05 3.095);
  --chart-3: oklch(0.262 0.05 3.095);
  --chart-4: oklch(0.291 0.058 3.35);
  --chart-5: oklch(0.318 0.043 172.633);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.015 177.86);
  --foreground: oklch(0.987 0.004 177.61);
  --muted: oklch(0.224 0.005 358.298);
  --muted-foreground: oklch(0.712 0.022 358.587);
  --popover: oklch(0.125 0.015 177.86);
  --popover-foreground: oklch(0.987 0.004 177.61);
  --card: oklch(0.125 0.015 177.86);
  --card-foreground: oklch(0.987 0.004 177.61);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.315 0.041 172.994);
  --primary-foreground: oklch(0.849 0.052 175.808);
  --secondary: oklch(0.262 0.05 3.095);
  --secondary-foreground: oklch(0.786 0.057 359.715);
  --accent: oklch(0.262 0.05 3.095);
  --accent-foreground: oklch(0.786 0.057 359.715);
  --destructive: oklch(0.653 0.188 31.301);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.315 0.041 172.994);
  --chart-1: oklch(0.315 0.041 172.994);
  --chart-2: oklch(0.262 0.05 3.095);
  --chart-3: oklch(0.262 0.05 3.095);
  --chart-4: oklch(0.291 0.058 3.35);
  --chart-5: oklch(0.318 0.043 172.633);
}