Deaf East Side for shadcn/ui

Deaf East Side is a shadcn/ui theme built around a muted violet primary color (#a789bd) with muted green accents (#a0bd89). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted violet primary (#a789bd) on a violet-tinted background (#0b050f).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b050fblack
Foreground
#0b0411black
#fdfcfdwhite
Card
#fcfcfcsnow
#0e0713black
Card foreground
#08030dblack
#ffffffwhite
Popover
#ffffffwhite
#0b050fblack
Popover foreground
#0b0411black
#fdfcfdwhite
Primary
#a789bddarkgray
#a789bddarkgray
Primary foreground
#0b070dblack
#0b070dblack
Secondary
#a0bd89darkseagreen
#a0bd89darkseagreen
Secondary foreground
#0a0d07black
#0a0d07black
Muted
#e8ebe5beige
#161a14black
Muted foreground
#586250dimgray
#a5af9ddarkgray
Accent
#a0bd89darkseagreen
#a0bd89darkseagreen
Accent foreground
#0a0d07black
#0a0d07black
Destructive
#bc2406firebrick
#e92d07orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f3f0f4whitesmoke
#1f1a23black
Input
#f3f0f4whitesmoke
#1f1a23black
Ring
#a789bddarkgray
#a789bddarkgray

Contrast

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

Light mode
Text on background20.19:1AAA
Text on card19.96:1AAA
Primary button6.64:1AA
Secondary button9.43:1AAA
Muted text5.33:1AA
Accent9.43:1AAA
Destructive6.18:1AA
Dark mode
Text on background19.65:1AAA
Text on card19.88:1AAA
Primary button6.64:1AA
Secondary button9.43:1AAA
Muted text7.70:1AAA
Accent9.43:1AAA
Destructive4.35:1AA Large

CSS variables

Paste this into your globals.css to use Deaf East Side in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.128 0.035 311.099);
  --muted: oklch(0.937 0.01 131.179);
  --muted-foreground: oklch(0.483 0.031 131.66);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.128 0.035 311.099);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.116 0.03 312.761);
  --border: oklch(0.959 0.006 311.034);
  --input: oklch(0.959 0.006 311.034);
  --primary: oklch(0.677 0.081 310.039);
  --primary-foreground: oklch(0.138 0.014 310.944);
  --secondary: oklch(0.763 0.078 132.048);
  --secondary-foreground: oklch(0.153 0.013 131.072);
  --accent: oklch(0.763 0.078 132.048);
  --accent-foreground: oklch(0.153 0.013 131.072);
  --destructive: oklch(0.515 0.19 32.222);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.677 0.081 310.039);
  --chart-1: oklch(0.677 0.081 310.039);
  --chart-2: oklch(0.763 0.078 132.048);
  --chart-3: oklch(0.763 0.078 132.048);
  --chart-4: oklch(0.783 0.071 131.931);
  --chart-5: oklch(0.673 0.089 309.916);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.025 310.999);
  --foreground: oklch(0.991 0.002 311.067);
  --muted: oklch(0.213 0.014 131.704);
  --muted-foreground: oklch(0.74 0.028 131.417);
  --popover: oklch(0.133 0.025 310.999);
  --popover-foreground: oklch(0.991 0.002 311.067);
  --card: oklch(0.144 0.029 309.902);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.228 0.019 310.36);
  --input: oklch(0.228 0.019 310.36);
  --primary: oklch(0.677 0.081 310.039);
  --primary-foreground: oklch(0.138 0.014 310.944);
  --secondary: oklch(0.763 0.078 132.048);
  --secondary-foreground: oklch(0.153 0.013 131.072);
  --accent: oklch(0.763 0.078 132.048);
  --accent-foreground: oklch(0.153 0.013 131.072);
  --destructive: oklch(0.602 0.225 32.017);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.677 0.081 310.039);
  --chart-1: oklch(0.677 0.081 310.039);
  --chart-2: oklch(0.763 0.078 132.048);
  --chart-3: oklch(0.763 0.078 132.048);
  --chart-4: oklch(0.783 0.071 131.931);
  --chart-5: oklch(0.673 0.089 309.916);
}