Process for shadcn/ui

Process is a shadcn/ui theme built around a pink primary color (#b42253) with neutral gray accents (#d9d8d9). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#b42253) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefbfcsnow
#000000black
Foreground
#000000black
#f9f6f7whitesmoke
Card
#fefbfcsnow
#000000black
Card foreground
#000000black
#f9f6f7whitesmoke
Popover
#fefbfcsnow
#000000black
Popover foreground
#000000black
#f9f6f7whitesmoke
Primary
#b42253brown
#b42253brown
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d9d8d9gainsboro
#231f20black
Secondary foreground
#403f40darkslategray
#beb6b9silver
Muted
#dfd3d7gainsboro
#2c2024darkslategray
Muted foreground
#4d4d4ddarkslategray
#b3b3b3darkgray
Accent
#d9d8d9gainsboro
#231f20black
Accent foreground
#403f40darkslategray
#beb6b9silver
Destructive
#98190bdarkred
#ef3925orangered
Destructive foreground
#fcddd9mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b42253brown
#b42253brown

Contrast

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

Light mode
Text on background20.43:1AAA
Text on card20.43:1AAA
Primary button6.37:1AA
Secondary button7.39:1AAA
Muted text5.79:1AA
Accent7.39:1AAA
Destructive6.64:1AA
Dark mode
Text on background19.55:1AAA
Text on card19.55:1AAA
Primary button6.37:1AA
Secondary button8.19:1AAA
Muted text7.46:1AAA
Accent8.19:1AAA
Destructive3.98:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 354.669);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.877 0.015 355.063);
  --muted-foreground: oklch(0.418 0 173.29);
  --popover: oklch(0.991 0.003 354.669);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.003 354.669);
  --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.509 0.181 7.515);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.884 0.001 354.617);
  --secondary-foreground: oklch(0.37 0.002 354.734);
  --accent: oklch(0.884 0.001 354.617);
  --accent-foreground: oklch(0.37 0.002 354.734);
  --destructive: oklch(0.439 0.163 30.52);
  --destructive-foreground: oklch(0.921 0.035 25.349);
  --ring: oklch(0.509 0.181 7.515);
  --chart-1: oklch(0.509 0.181 7.515);
  --chart-2: oklch(0.884 0.001 354.617);
  --chart-3: oklch(0.884 0.001 354.617);
  --chart-4: oklch(0.908 0.001 354.61);
  --chart-5: oklch(0.513 0.186 8.216);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.976 0.003 354.671);
  --muted: oklch(0.26 0.02 356.72);
  --muted-foreground: oklch(0.765 0 172.405);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.976 0.003 354.671);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.976 0.003 354.671);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.509 0.181 7.515);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.245 0.007 355.345);
  --secondary-foreground: oklch(0.784 0.01 354.957);
  --accent: oklch(0.245 0.007 355.345);
  --accent-foreground: oklch(0.784 0.01 354.957);
  --destructive: oklch(0.623 0.22 30.426);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.509 0.181 7.515);
  --chart-1: oklch(0.509 0.181 7.515);
  --chart-2: oklch(0.245 0.007 355.345);
  --chart-3: oklch(0.245 0.007 355.345);
  --chart-4: oklch(0.276 0.008 355.39);
  --chart-5: oklch(0.513 0.186 8.216);
}