Reprocessing for shadcn/ui

Reprocessing is a shadcn/ui theme built around a vivid light red primary color (#ffe1db) with vivid light cyan accents (#dbf9ff). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light red primary (#ffe1db) on a neutral background (#080302).

Color palette

TokenLightDark
Background
#ffffffwhite
#080302black
Foreground
#000000black
#fdfcfcsnow
Card
#ffffffwhite
#080302black
Card foreground
#000000black
#fdfcfcsnow
Popover
#ffffffwhite
#080302black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#ffe1dbmistyrose
#ffe1dbmistyrose
Primary foreground
#a81c00firebrick
#a81c00firebrick
Secondary
#dbf9fflightcyan
#dbf9fflightcyan
Secondary foreground
#003742darkslategray
#003742darkslategray
Muted
#eef1f1whitesmoke
#0e1011black
Muted foreground
#4e5456darkslategray
#a9b0b1darkgray
Accent
#dbf9fflightcyan
#dbf9fflightcyan
Accent foreground
#003742darkslategray
#003742darkslategray
Destructive
#973402saddlebrown
#e24e03orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ffe1dbmistyrose
#ffe1dbmistyrose

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.03:1AA
Secondary button11.70:1AAA
Muted text6.77:1AA
Accent11.70:1AAA
Destructive7.50:1AAA
Dark mode
Text on background20.01:1AAA
Text on card20.01:1AAA
Primary button6.03:1AA
Secondary button11.70:1AAA
Muted text8.64:1AAA
Accent11.70:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.956 0.003 211.042);
  --muted-foreground: oklch(0.441 0.009 211.043);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.933 0.034 31.154);
  --primary-foreground: oklch(0.472 0.178 32.253);
  --secondary: oklch(0.963 0.032 211.07);
  --secondary-foreground: oklch(0.311 0.055 215.904);
  --accent: oklch(0.963 0.032 211.07);
  --accent-foreground: oklch(0.311 0.055 215.904);
  --destructive: oklch(0.463 0.142 40.586);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.933 0.034 31.154);
  --chart-1: oklch(0.933 0.034 31.154);
  --chart-2: oklch(0.963 0.032 211.07);
  --chart-3: oklch(0.963 0.032 211.07);
  --chart-4: oklch(0.978 0.018 211.041);
  --chart-5: oklch(0.933 0.035 31.159);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.015 37.868);
  --foreground: oklch(0.992 0.002 31.047);
  --muted: oklch(0.172 0.004 211.049);
  --muted-foreground: oklch(0.753 0.008 211.038);
  --popover: oklch(0.109 0.015 37.868);
  --popover-foreground: oklch(0.992 0.002 31.047);
  --card: oklch(0.109 0.015 37.868);
  --card-foreground: oklch(0.992 0.002 31.047);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.933 0.034 31.154);
  --primary-foreground: oklch(0.472 0.178 32.253);
  --secondary: oklch(0.963 0.032 211.07);
  --secondary-foreground: oklch(0.311 0.055 215.904);
  --accent: oklch(0.963 0.032 211.07);
  --accent-foreground: oklch(0.311 0.055 215.904);
  --destructive: oklch(0.621 0.196 39.484);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.933 0.034 31.154);
  --chart-1: oklch(0.933 0.034 31.154);
  --chart-2: oklch(0.963 0.032 211.07);
  --chart-3: oklch(0.963 0.032 211.07);
  --chart-4: oklch(0.978 0.018 211.041);
  --chart-5: oklch(0.933 0.035 31.159);
}