Massive for shadcn/ui

Massive is a shadcn/ui theme built around a muted light pink primary color (#d9bfc7) with neutral gray accents (#dfddde). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the muted light pink primary (#d9bfc7) on a pink-tinted background (#0f0508).

Color palette

TokenLightDark
Background
#fdf7f9snow
#0f0508black
Foreground
#000000black
#fbf9fasnow
Card
#fdf7f9snow
#0f0508black
Card foreground
#000000black
#fbf9fasnow
Popover
#fdf7f9snow
#0f0508black
Popover foreground
#000000black
#fbf9fasnow
Primary
#d9bfc7thistle
#d9bfc7thistle
Primary foreground
#40262edarkslategray
#40262edarkslategray
Secondary
#dfdddegainsboro
#363032darkslategray
Secondary foreground
#464344darkslategray
#cfc9cblightgrey
Muted
#ecdfe3gainsboro
#201317black
Muted foreground
#644f55dimgray
#b09ba1darkgray
Accent
#dfdddegainsboro
#363032darkslategray
Accent foreground
#464344darkslategray
#cfc9cblightgrey
Destructive
#923402saddlebrown
#f65904orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d9bfc7thistle
#d9bfc7thistle

Contrast

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

Light mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button7.95:1AAA
Secondary button7.23:1AAA
Muted text5.82:1AA
Accent7.23:1AAA
Destructive7.73:1AAA
Dark mode
Text on background19.13:1AAA
Text on card19.13:1AAA
Primary button7.95:1AAA
Secondary button7.92:1AAA
Muted text6.88:1AA
Accent7.92:1AAA
Destructive3.31:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 356.831);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.916 0.014 357.102);
  --muted-foreground: oklch(0.45 0.03 358.522);
  --popover: oklch(0.981 0.006 356.831);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.006 356.831);
  --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.829 0.032 357.74);
  --primary-foreground: oklch(0.304 0.042 0.435);
  --secondary: oklch(0.899 0.002 356.707);
  --secondary-foreground: oklch(0.388 0.004 356.951);
  --accent: oklch(0.899 0.002 356.707);
  --accent-foreground: oklch(0.388 0.004 356.951);
  --destructive: oklch(0.455 0.136 41.853);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.829 0.032 357.74);
  --chart-1: oklch(0.829 0.032 357.74);
  --chart-2: oklch(0.899 0.002 356.707);
  --chart-3: oklch(0.899 0.002 356.707);
  --chart-4: oklch(0.923 0.001 356.695);
  --chart-5: oklch(0.827 0.036 357.867);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.021 357.862);
  --foreground: oklch(0.984 0.002 356.722);
  --muted: oklch(0.206 0.021 359.482);
  --muted-foreground: oklch(0.71 0.027 357.717);
  --popover: oklch(0.136 0.021 357.862);
  --popover-foreground: oklch(0.984 0.002 356.722);
  --card: oklch(0.136 0.021 357.862);
  --card-foreground: oklch(0.984 0.002 356.722);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.829 0.032 357.74);
  --primary-foreground: oklch(0.304 0.042 0.435);
  --secondary: oklch(0.316 0.009 357.493);
  --secondary-foreground: oklch(0.841 0.007 356.905);
  --accent: oklch(0.316 0.009 357.493);
  --accent-foreground: oklch(0.841 0.007 356.905);
  --destructive: oklch(0.666 0.206 40.399);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.829 0.032 357.74);
  --chart-1: oklch(0.829 0.032 357.74);
  --chart-2: oklch(0.316 0.009 357.493);
  --chart-3: oklch(0.316 0.009 357.493);
  --chart-4: oklch(0.345 0.01 357.517);
  --chart-5: oklch(0.827 0.036 357.867);
}