Most for shadcn/ui

Most is a shadcn/ui theme built around a deep purple primary color (#331537) with deep pink accents (#37152a). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep purple primary (#331537) on a purple-tinted background (#0f0410).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f0410black
Foreground
#0f0510black
#fbf9fbsnow
Card
#fcfcfcsnow
#120614black
Card foreground
#0b030cblack
#fdfcfdwhite
Popover
#ffffffwhite
#0f0410black
Popover foreground
#0f0510black
#fbf9fbsnow
Primary
#331537midnightblue
#331537midnightblue
Primary foreground
#d5a3dcplum
#d5a3dcplum
Secondary
#221537midnightblue
#221537midnightblue
Secondary foreground
#b9a3dclightsteelblue
#b9a3dclightsteelblue
Muted
#dbd1ebgainsboro
#1e142eblack
Muted foreground
#4b4653darkslategray
#b1acb9darkgray
Accent
#37152adarkslategray
#37152adarkslategray
Accent foreground
#dca3c6plum
#dca3c6plum
Destructive
#ab4712sienna
#ec8046coral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#331537midnightblue
#331537midnightblue

Contrast

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

Light mode
Text on background20.00:1AAA
Text on card19.90:1AAA
Primary button7.73:1AAA
Secondary button7.57:1AAA
Muted text6.22:1AA
Accent7.72:1AAA
Destructive5.75:1AA
Dark mode
Text on background19.15:1AAA
Text on card19.34:1AAA
Primary button7.73:1AAA
Secondary button7.57:1AAA
Muted text7.91:1AAA
Accent7.72:1AAA
Destructive7.74:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.137 0.032 323.218);
  --muted: oklch(0.876 0.037 303.02);
  --muted-foreground: oklch(0.403 0.024 302.767);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.137 0.032 323.218);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.123 0.028 323.634);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.257 0.073 322.833);
  --primary-foreground: oklch(0.78 0.097 322.508);
  --secondary: oklch(0.233 0.065 298.98);
  --secondary-foreground: oklch(0.753 0.084 301.961);
  --accent: oklch(0.257 0.063 344.527);
  --accent-foreground: oklch(0.778 0.082 341.652);
  --destructive: oklch(0.524 0.144 43.782);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.257 0.073 322.833);
  --chart-1: oklch(0.257 0.073 322.833);
  --chart-2: oklch(0.233 0.065 298.98);
  --chart-3: oklch(0.257 0.063 344.527);
  --chart-4: oklch(0.259 0.076 298.69);
  --chart-5: oklch(0.258 0.077 322.847);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.032 323.241);
  --foreground: oklch(0.984 0.003 322.124);
  --muted: oklch(0.219 0.05 299.954);
  --muted-foreground: oklch(0.752 0.02 303.24);
  --popover: oklch(0.136 0.032 323.241);
  --popover-foreground: oklch(0.984 0.003 322.124);
  --card: oklch(0.149 0.037 323.022);
  --card-foreground: oklch(0.992 0.002 322.118);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.257 0.073 322.833);
  --primary-foreground: oklch(0.78 0.097 322.508);
  --secondary: oklch(0.233 0.065 298.98);
  --secondary-foreground: oklch(0.753 0.084 301.961);
  --accent: oklch(0.257 0.063 344.527);
  --accent-foreground: oklch(0.778 0.082 341.652);
  --destructive: oklch(0.71 0.15 47.145);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.257 0.073 322.833);
  --chart-1: oklch(0.257 0.073 322.833);
  --chart-2: oklch(0.233 0.065 298.98);
  --chart-3: oklch(0.257 0.063 344.527);
  --chart-4: oklch(0.259 0.076 298.69);
  --chart-5: oklch(0.258 0.077 322.847);
}