Correspondent for shadcn/ui

Correspondent is a shadcn/ui theme built around a light pink primary color (#ee96cf) with light blue accents (#96cfee). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the light pink primary (#ee96cf) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8fbsnow
#000000black
Foreground
#0e0209black
#f9f6f8whitesmoke
Card
#fcf8fbsnow
#000000black
Card foreground
#0e0209black
#f9f6f8whitesmoke
Popover
#fcf8fbsnow
#000000black
Popover foreground
#0e0209black
#f9f6f8whitesmoke
Primary
#ee96cfplum
#ee96cfplum
Primary foreground
#460b32maroon
#460b32maroon
Secondary
#cfee96khaki
#cfee96khaki
Secondary foreground
#32460bdarkgreen
#32460bdarkgreen
Muted
#eaeee2beige
#191d11black
Muted foreground
#4e5049darkslategray
#b4b6afdarkgray
Accent
#96cfeeskyblue
#96cfeeskyblue
Accent foreground
#0b3246darkslategray
#0b3246darkslategray
Destructive
#c2150ffirebrick
#da1710crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ee96cfplum
#ee96cfplum

Contrast

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

Light mode
Text on background19.30:1AAA
Text on card19.30:1AAA
Primary button7.29:1AAA
Secondary button8.08:1AAA
Muted text6.96:1AA
Accent7.98:1AAA
Destructive6.14:1AA
Dark mode
Text on background19.56:1AAA
Text on card19.56:1AAA
Primary button7.29:1AAA
Secondary button8.08:1AAA
Muted text8.34:1AAA
Accent7.98:1AAA
Destructive5.09:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 338.117);
  --foreground: oklch(0.118 0.037 339.277);
  --muted: oklch(0.944 0.018 122.509);
  --muted-foreground: oklch(0.427 0.013 122.687);
  --popover: oklch(0.982 0.006 338.117);
  --popover-foreground: oklch(0.118 0.037 339.277);
  --card: oklch(0.982 0.006 338.117);
  --card-foreground: oklch(0.118 0.037 339.277);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.779 0.127 341.13);
  --primary-foreground: oklch(0.274 0.098 345.702);
  --secondary: oklch(0.906 0.118 124.411);
  --secondary-foreground: oklch(0.365 0.086 127.402);
  --accent: oklch(0.826 0.073 232.315);
  --accent-foreground: oklch(0.3 0.056 236.829);
  --destructive: oklch(0.519 0.203 29.067);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.779 0.127 341.13);
  --chart-1: oklch(0.779 0.127 341.13);
  --chart-2: oklch(0.906 0.118 124.411);
  --chart-3: oklch(0.826 0.073 232.315);
  --chart-4: oklch(0.917 0.104 124.091);
  --chart-5: oklch(0.778 0.132 341.257);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.976 0.004 338.069);
  --muted: oklch(0.223 0.025 124.041);
  --muted-foreground: oklch(0.773 0.011 122.439);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.976 0.004 338.069);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.976 0.004 338.069);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.779 0.127 341.13);
  --primary-foreground: oklch(0.274 0.098 345.702);
  --secondary: oklch(0.906 0.118 124.411);
  --secondary-foreground: oklch(0.365 0.086 127.402);
  --accent: oklch(0.826 0.073 232.315);
  --accent-foreground: oklch(0.3 0.056 236.829);
  --destructive: oklch(0.565 0.222 29.11);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.779 0.127 341.13);
  --chart-1: oklch(0.779 0.127 341.13);
  --chart-2: oklch(0.906 0.118 124.411);
  --chart-3: oklch(0.826 0.073 232.315);
  --chart-4: oklch(0.917 0.104 124.091);
  --chart-5: oklch(0.778 0.132 341.257);
}