Inclusion for shadcn/ui

Inclusion is a shadcn/ui theme built around a vivid pink primary color (#e8308f) with neutral gray accents (#d1cccf). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#e8308f) on a neutral background (#040203).

Color palette

TokenLightDark
Background
#ffffffwhite
#040203black
Foreground
#17030dblack
#ffffffwhite
Card
#ffffffwhite
#040203black
Card foreground
#17030dblack
#ffffffwhite
Popover
#ffffffwhite
#040203black
Popover foreground
#17030dblack
#ffffffwhite
Primary
#e8308fdeeppink
#e8308fdeeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dededegainsboro
#1b181ablack
Secondary foreground
#464445darkslategray
#b7aeb3darkgray
Muted
#e5e0e3gainsboro
#1f1a1cblack
Muted foreground
#454042darkslategray
#bfbabdsilver
Accent
#d1cccflightgrey
#31262cdarkslategray
Accent foreground
#393236darkslategray
#cbbdc5silver
Destructive
#c32813firebrick
#da2d16firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e8308fdeeppink
#e8308fdeeppink

Contrast

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

Light mode
Text on background19.90:1AAA
Text on card19.90:1AAA
Primary button3.99:1AA Large
Secondary button7.16:1AAA
Muted text7.82:1AAA
Accent7.85:1AAA
Destructive5.78:1AA
Dark mode
Text on background20.74:1AAA
Text on card20.74:1AAA
Primary button3.99:1AA Large
Secondary button8.15:1AAA
Muted text9.01:1AAA
Accent8.05:1AAA
Destructive4.81:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.145 0.046 348.747);
  --muted: oklch(0.913 0.006 344.467);
  --muted-foreground: oklch(0.376 0.009 344.857);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.145 0.046 348.747);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.145 0.046 348.747);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.628 0.229 354.977);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.9 0.001 344.311);
  --secondary-foreground: oklch(0.389 0.002 344.43);
  --accent: oklch(0.85 0.008 344.514);
  --accent-foreground: oklch(0.326 0.011 345.108);
  --destructive: oklch(0.531 0.193 31.026);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.628 0.229 354.977);
  --chart-1: oklch(0.628 0.229 354.977);
  --chart-2: oklch(0.9 0.001 344.311);
  --chart-3: oklch(0.85 0.008 344.514);
  --chart-4: oklch(0.923 0.001 344.304);
  --chart-5: oklch(0.631 0.234 355.424);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.012 344.188);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.223 0.009 345.322);
  --muted-foreground: oklch(0.794 0.007 344.512);
  --popover: oklch(0.087 0.012 344.188);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.087 0.012 344.188);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.628 0.229 354.977);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.213 0.006 344.955);
  --secondary-foreground: oklch(0.76 0.012 344.698);
  --accent: oklch(0.283 0.018 345.851);
  --accent-foreground: oklch(0.813 0.019 344.864);
  --destructive: oklch(0.577 0.211 31.015);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.628 0.229 354.977);
  --chart-1: oklch(0.628 0.229 354.977);
  --chart-2: oklch(0.213 0.006 344.955);
  --chart-3: oklch(0.283 0.018 345.851);
  --chart-4: oklch(0.245 0.007 345.015);
  --chart-5: oklch(0.631 0.234 355.424);
}