No More Drama Mollusk for shadcn/ui

No More Drama Mollusk is a shadcn/ui theme built around a red primary color (#a54042) with indigo accents (#4042a5). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#a54042) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#ffffffwhite
#030202black
Foreground
#0c0303black
#fbf9f9snow
Card
#ffffffwhite
#030202black
Card foreground
#0c0303black
#fbf9f9snow
Popover
#ffffffwhite
#030202black
Popover foreground
#0c0303black
#fbf9f9snow
Primary
#a54042sienna
#a54042sienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#42a540seagreen
#42a540seagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d3e9d3gainsboro
#172c16black
Muted foreground
#515851darkslategray
#a8aea7darkgray
Accent
#4042a5darkslateblue
#4042a5darkslateblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#bf280dfirebrick
#f15337tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e7e4e4gainsboro
#1d1b1bblack
Input
#e7e4e4gainsboro
#1d1b1bblack
Ring
#a54042sienna
#a54042sienna

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.38:1AAA
Primary button6.13:1AA
Secondary button3.13:1AA Large
Muted text5.70:1AA
Accent8.25:1AAA
Destructive5.97:1AA
Dark mode
Text on background19.76:1AAA
Text on card19.76:1AAA
Primary button6.13:1AA
Secondary button3.13:1AA Large
Muted text6.58:1AA
Accent8.25:1AAA
Destructive3.48:1AA Large

CSS variables

Paste this into your globals.css to use No More Drama Mollusk in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.119 0.022 19.244);
  --muted: oklch(0.911 0.037 144.81);
  --muted-foreground: oklch(0.451 0.014 144.886);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.119 0.022 19.244);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.119 0.022 19.244);
  --border: oklch(0.922 0.003 16.027);
  --input: oklch(0.922 0.003 16.027);
  --primary: oklch(0.511 0.134 22.128);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.642 0.167 143.055);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.438 0.156 277.054);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.523 0.19 31.991);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.511 0.134 22.128);
  --chart-1: oklch(0.511 0.134 22.128);
  --chart-2: oklch(0.642 0.167 143.055);
  --chart-3: oklch(0.438 0.156 277.054);
  --chart-4: oklch(0.673 0.176 143.046);
  --chart-5: oklch(0.511 0.142 22.669);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.007 17.265);
  --foreground: oklch(0.983 0.003 16.025);
  --muted: oklch(0.268 0.048 143.733);
  --muted-foreground: oklch(0.744 0.012 144.986);
  --popover: oklch(0.087 0.007 17.265);
  --popover-foreground: oklch(0.983 0.003 16.025);
  --card: oklch(0.087 0.007 17.265);
  --card-foreground: oklch(0.983 0.003 16.025);
  --border: oklch(0.224 0.004 16.323);
  --input: oklch(0.224 0.004 16.323);
  --primary: oklch(0.511 0.134 22.128);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.642 0.167 143.055);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.438 0.156 277.054);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.654 0.199 32.346);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.511 0.134 22.128);
  --chart-1: oklch(0.511 0.134 22.128);
  --chart-2: oklch(0.642 0.167 143.055);
  --chart-3: oklch(0.438 0.156 277.054);
  --chart-4: oklch(0.673 0.176 143.046);
  --chart-5: oklch(0.511 0.142 22.669);
}