momo for shadcn/ui

momo is a shadcn/ui theme built around a vivid pink primary color (#ff0a95) with neutral gray accents (#d0cecf). The light mode uses a neutral background (#fefbfd). Dark mode keeps the vivid pink primary (#ff0a95) on a neutral background (#040203).

Color palette

TokenLightDark
Background
#fefbfdsnow
#040203black
Foreground
#090106black
#faf5f8whitesmoke
Card
#fefbfdsnow
#040203black
Card foreground
#090106black
#faf5f8whitesmoke
Popover
#fefbfdsnow
#040203black
Popover foreground
#090106black
#faf5f8whitesmoke
Primary
#ff0a95deeppink
#ff0a95deeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d0cecflightgrey
#211c1fblack
Secondary foreground
#373436darkslategray
#beb1b8silver
Muted
#dddadcgainsboro
#252224black
Muted foreground
#554a50darkslategray
#b5aab1darkgray
Accent
#d0cecflightgrey
#211c1fblack
Accent foreground
#373436darkslategray
#beb1b8silver
Destructive
#691907maroon
#f04019orangered
Destructive foreground
#f9b8a9lightpink
#ffffffwhite
Border
#e9e2e6gainsboro
#231a1fblack
Input
#e9e2e6gainsboro
#231a1fblack
Ring
#ff0a95deeppink
#ff0a95deeppink

Contrast

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

Light mode
Text on background20.06:1AAA
Text on card20.06:1AAA
Primary button3.66:1AA Large
Secondary button7.82:1AAA
Muted text6.07:1AA
Accent7.82:1AAA
Destructive7.13:1AAA
Dark mode
Text on background19.24:1AAA
Text on card19.24:1AAA
Primary button3.66:1AA Large
Secondary button8.13:1AAA
Muted text7.01:1AAA
Accent8.13:1AAA
Destructive3.83:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 341.889);
  --foreground: oklch(0.104 0.028 341.839);
  --muted: oklch(0.89 0.005 341.935);
  --muted-foreground: oklch(0.421 0.018 342.794);
  --popover: oklch(0.991 0.003 341.889);
  --popover-foreground: oklch(0.104 0.028 341.839);
  --card: oklch(0.991 0.003 341.889);
  --card-foreground: oklch(0.104 0.028 341.839);
  --border: oklch(0.919 0.01 342.069);
  --input: oklch(0.919 0.01 342.069);
  --primary: oklch(0.654 0.265 356.148);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.852 0.003 341.881);
  --secondary-foreground: oklch(0.33 0.004 342.071);
  --accent: oklch(0.852 0.003 341.881);
  --accent-foreground: oklch(0.33 0.004 342.071);
  --destructive: oklch(0.348 0.117 33.751);
  --destructive-foreground: oklch(0.838 0.08 33.002);
  --ring: oklch(0.654 0.265 356.148);
  --chart-1: oklch(0.654 0.265 356.148);
  --chart-2: oklch(0.852 0.003 341.881);
  --chart-3: oklch(0.852 0.003 341.881);
  --chart-4: oklch(0.876 0.002 341.867);
  --chart-5: oklch(0.659 0.268 356.613);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.012 341.824);
  --foreground: oklch(0.974 0.006 341.964);
  --muted: oklch(0.256 0.006 342.404);
  --muted-foreground: oklch(0.751 0.015 342.292);
  --popover: oklch(0.087 0.012 341.824);
  --popover-foreground: oklch(0.974 0.006 341.964);
  --card: oklch(0.087 0.012 341.824);
  --card-foreground: oklch(0.974 0.006 341.964);
  --border: oklch(0.231 0.017 343.509);
  --input: oklch(0.231 0.017 343.509);
  --primary: oklch(0.654 0.265 356.148);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.233 0.01 342.831);
  --secondary-foreground: oklch(0.774 0.018 342.348);
  --accent: oklch(0.233 0.01 342.831);
  --accent-foreground: oklch(0.774 0.018 342.348);
  --destructive: oklch(0.632 0.218 33.439);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.654 0.265 356.148);
  --chart-1: oklch(0.654 0.265 356.148);
  --chart-2: oklch(0.233 0.01 342.831);
  --chart-3: oklch(0.233 0.01 342.831);
  --chart-4: oklch(0.265 0.012 342.9);
  --chart-5: oklch(0.659 0.268 356.613);
}