Wide for shadcn/ui

Wide is a shadcn/ui theme built around a light pink primary color (#e1a3cb) with light green accents (#a3e1b8). The light mode uses a neutral background (#ffffff). Dark mode keeps the light pink primary (#e1a3cb) on a pink-tinted background (#10040c).

Color palette

TokenLightDark
Background
#ffffffwhite
#10040cblack
Foreground
#080206black
#faf5f8whitesmoke
Card
#fcfcfcsnow
#14050fblack
Card foreground
#040103black
#fbf8fasnow
Popover
#ffffffwhite
#10040cblack
Popover foreground
#080206black
#faf5f8whitesmoke
Primary
#e1a3cbplum
#e1a3cbplum
Primary foreground
#3e142fdarkslategray
#3e142fdarkslategray
Secondary
#a3e1b8palegreen
#a3e1b8palegreen
Secondary foreground
#143e23darkslategray
#143e23darkslategray
Muted
#e0e6e2gainsboro
#191f1bblack
Muted foreground
#404040darkslategray
#bfbfbfsilver
Accent
#a3e1b8palegreen
#a3e1b8palegreen
Accent foreground
#143e23darkslategray
#143e23darkslategray
Destructive
#b9220efirebrick
#f04d38tomato
Destructive foreground
#fffbfasnow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e1a3cbplum
#e1a3cbplum

Contrast

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

Light mode
Text on background20.55:1AAA
Text on card20.32:1AAA
Primary button7.63:1AAA
Secondary button8.04:1AAA
Muted text8.19:1AAA
Accent8.04:1AAA
Destructive6.19:1AA
Dark mode
Text on background18.62:1AAA
Text on card18.78:1AAA
Primary button7.63:1AAA
Secondary button8.04:1AAA
Muted text9.08:1AAA
Accent8.04:1AAA
Destructive3.60:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.105 0.026 338.385);
  --muted: oklch(0.92 0.009 157.772);
  --muted-foreground: oklch(0.371 0 168.69);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.105 0.026 338.385);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.084 0.021 338.385);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.785 0.09 340.231);
  --primary-foreground: oklch(0.268 0.075 343.506);
  --secondary: oklch(0.857 0.085 155.683);
  --secondary-foreground: oklch(0.325 0.067 152.265);
  --accent: oklch(0.857 0.085 155.683);
  --accent-foreground: oklch(0.325 0.067 152.265);
  --destructive: oklch(0.508 0.188 30.98);
  --destructive-foreground: oklch(0.99 0.004 26.468);
  --ring: oklch(0.785 0.09 340.231);
  --chart-1: oklch(0.785 0.09 340.231);
  --chart-2: oklch(0.857 0.085 155.683);
  --chart-3: oklch(0.857 0.085 155.683);
  --chart-4: oklch(0.874 0.074 156.042);
  --chart-5: oklch(0.784 0.096 340.36);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.03 340.316);
  --foreground: oklch(0.975 0.006 338.123);
  --muted: oklch(0.233 0.013 156.761);
  --muted-foreground: oklch(0.805 0 169.695);
  --popover: oklch(0.136 0.03 340.316);
  --popover-foreground: oklch(0.975 0.006 338.123);
  --card: oklch(0.149 0.034 341.429);
  --card-foreground: oklch(0.983 0.004 338.076);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.785 0.09 340.231);
  --primary-foreground: oklch(0.268 0.075 343.506);
  --secondary: oklch(0.857 0.085 155.683);
  --secondary-foreground: oklch(0.325 0.067 152.265);
  --accent: oklch(0.857 0.085 155.683);
  --accent-foreground: oklch(0.325 0.067 152.265);
  --destructive: oklch(0.646 0.203 30.717);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.785 0.09 340.231);
  --chart-1: oklch(0.785 0.09 340.231);
  --chart-2: oklch(0.857 0.085 155.683);
  --chart-3: oklch(0.857 0.085 155.683);
  --chart-4: oklch(0.874 0.074 156.042);
  --chart-5: oklch(0.784 0.096 340.36);
}