Massive for shadcn/ui

Massive is a shadcn/ui theme built around a blue primary color (#7fbde6) with muted light blue accents (#c4ced4). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the blue primary (#7fbde6) on a neutral background (#020304).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#020304black
Foreground
#020609black
#ffffffwhite
Card
#fcfdfdwhite
#020304black
Card foreground
#020609black
#ffffffwhite
Popover
#fcfdfdwhite
#020304black
Popover foreground
#020609black
#ffffffwhite
Primary
#7fbde6skyblue
#7fbde6skyblue
Primary foreground
#081d2bblack
#081d2bblack
Secondary
#dbdee1gainsboro
#161718black
Secondary foreground
#3f464adarkslategray
#adb1b3darkgray
Muted
#ecf0f4whitesmoke
#0b1013black
Muted foreground
#414649darkslategray
#b6bbbesilver
Accent
#c4ced4lightgrey
#232a2edarkslategray
Accent foreground
#2b353bdarkslategray
#bac3casilver
Destructive
#c11b15firebrick
#e6201acrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#7fbde6skyblue
#7fbde6skyblue

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 button8.43:1AAA
Secondary button7.13:1AAA
Muted text8.36:1AAA
Accent7.81:1AAA
Destructive6.12:1AA
Dark mode
Text on background20.67:1AAA
Text on card20.67:1AAA
Primary button8.43:1AAA
Secondary button8.29:1AAA
Muted text9.86:1AAA
Accent8.14:1AAA
Destructive4.59:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.001 236.456);
  --foreground: oklch(0.115 0.015 227.958);
  --muted: oklch(0.954 0.006 236.532);
  --muted-foreground: oklch(0.39 0.009 236.76);
  --popover: oklch(0.992 0.001 236.456);
  --popover-foreground: oklch(0.115 0.015 227.958);
  --card: oklch(0.992 0.001 236.456);
  --card-foreground: oklch(0.115 0.015 227.958);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.771 0.086 238.572);
  --primary-foreground: oklch(0.221 0.038 240.536);
  --secondary: oklch(0.9 0.005 236.507);
  --secondary-foreground: oklch(0.39 0.011 236.874);
  --accent: oklch(0.845 0.014 236.677);
  --accent-foreground: oklch(0.321 0.018 237.305);
  --destructive: oklch(0.519 0.199 28.779);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.771 0.086 238.572);
  --chart-1: oklch(0.771 0.086 238.572);
  --chart-2: oklch(0.9 0.005 236.507);
  --chart-3: oklch(0.845 0.014 236.677);
  --chart-4: oklch(0.923 0.003 236.489);
  --chart-5: oklch(0.772 0.09 238.698);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.091 0.007 231.205);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.17 0.01 237.343);
  --muted-foreground: oklch(0.789 0.007 236.568);
  --popover: oklch(0.091 0.007 231.205);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.091 0.007 231.205);
  --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.771 0.086 238.572);
  --primary-foreground: oklch(0.221 0.038 240.536);
  --secondary: oklch(0.204 0.002 236.595);
  --secondary-foreground: oklch(0.757 0.006 236.542);
  --accent: oklch(0.28 0.012 237.089);
  --accent-foreground: oklch(0.813 0.014 236.683);
  --destructive: oklch(0.59 0.227 28.866);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.771 0.086 238.572);
  --chart-1: oklch(0.771 0.086 238.572);
  --chart-2: oklch(0.204 0.002 236.595);
  --chart-3: oklch(0.28 0.012 237.089);
  --chart-4: oklch(0.237 0.003 236.612);
  --chart-5: oklch(0.772 0.09 238.698);
}