Welcome for shadcn/ui

Welcome is a shadcn/ui theme built around a neutral gray primary color (#d5d7d8) with neutral gray accents (#d7d8d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#d5d7d8) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#ffffffwhite
#010404black
Foreground
#010809black
#ffffffwhite
Card
#fcfcfcsnow
#020708black
Card foreground
#010404black
#ffffffwhite
Popover
#ffffffwhite
#010404black
Popover foreground
#010809black
#ffffffwhite
Primary
#d5d7d8lightgrey
#d5d7d8lightgrey
Primary foreground
#3b3f40darkslategray
#3b3f40darkslategray
Secondary
#d8d5d7lightgrey
#d8d5d7lightgrey
Secondary foreground
#403b3fdarkslategray
#403b3fdarkslategray
Muted
#ece4eblavender
#1b131ablack
Muted foreground
#644a61dimgray
#b59bb2darkgray
Accent
#d7d8d5lightgrey
#d7d8d5lightgrey
Accent foreground
#3f403bdarkslategray
#3f403bdarkslategray
Destructive
#840a06maroon
#f6332ccrimson
Destructive foreground
#fcc1bflightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d5d7d8lightgrey
#d5d7d8lightgrey

Contrast

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

Light mode
Text on background20.19:1AAA
Text on card20.13:1AAA
Primary button7.39:1AAA
Secondary button7.50:1AAA
Muted text6.27:1AA
Accent7.30:1AAA
Destructive6.66:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.22:1AAA
Primary button7.39:1AAA
Secondary button7.50:1AAA
Muted text7.18:1AAA
Accent7.30:1AAA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.124 0.016 202.993);
  --muted: oklch(0.928 0.012 329.279);
  --muted-foreground: oklch(0.444 0.05 330.367);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.124 0.016 202.993);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.099 0.013 202.993);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.878 0.003 206.419);
  --primary-foreground: oklch(0.364 0.006 206.351);
  --secondary: oklch(0.875 0.005 329.203);
  --secondary-foreground: oklch(0.358 0.01 329.451);
  --accent: oklch(0.88 0.004 111.874);
  --accent-foreground: oklch(0.368 0.008 112.198);
  --destructive: oklch(0.39 0.153 29.226);
  --destructive-foreground: oklch(0.864 0.068 20.839);
  --ring: oklch(0.878 0.003 206.419);
  --chart-1: oklch(0.878 0.003 206.419);
  --chart-2: oklch(0.875 0.005 329.203);
  --chart-3: oklch(0.88 0.004 111.874);
  --chart-4: oklch(0.899 0.004 329.188);
  --chart-5: oklch(0.88 0.006 206.403);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.01 203.52);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.2 0.017 330.09);
  --muted-foreground: oklch(0.721 0.044 329.825);
  --popover: oklch(0.097 0.01 203.52);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.123 0.013 203.52);
  --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.878 0.003 206.419);
  --primary-foreground: oklch(0.364 0.006 206.351);
  --secondary: oklch(0.875 0.005 329.203);
  --secondary-foreground: oklch(0.358 0.01 329.451);
  --accent: oklch(0.88 0.004 111.874);
  --accent-foreground: oklch(0.368 0.008 112.198);
  --destructive: oklch(0.633 0.23 28.144);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.878 0.003 206.419);
  --chart-1: oklch(0.878 0.003 206.419);
  --chart-2: oklch(0.875 0.005 329.203);
  --chart-3: oklch(0.88 0.004 111.874);
  --chart-4: oklch(0.899 0.004 329.188);
  --chart-5: oklch(0.88 0.006 206.403);
}