Mussel for shadcn/ui

Mussel is a shadcn/ui theme built around a red primary color (#e18f89) with orange accents (#e1bb89). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the red primary (#e18f89) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8f8snow
#000000black
Foreground
#160504black
#ffffffwhite
Card
#faf5f4whitesmoke
#030303black
Card foreground
#110403black
#ffffffwhite
Popover
#fcf8f8snow
#000000black
Popover foreground
#160504black
#ffffffwhite
Primary
#e18f89darksalmon
#e18f89darksalmon
Primary foreground
#2d0e0cblack
#2d0e0cblack
Secondary
#e189afpalevioletred
#e189afpalevioletred
Secondary foreground
#2d0c1ablack
#2d0c1ablack
Muted
#f1e4ealinen
#1b0e14black
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#e1bb89burlywood
#e1bb89burlywood
Accent foreground
#2d1e0cblack
#2d1e0cblack
Destructive
#932a10saddlebrown
#e85530chocolate
Destructive foreground
#fbe1damistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e18f89darksalmon
#e18f89darksalmon

Contrast

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

Light mode
Text on background18.84:1AAA
Text on card18.62:1AAA
Primary button7.20:1AAA
Secondary button7.13:1AAA
Muted text6.14:1AA
Accent8.94:1AAA
Destructive6.53:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.20:1AAA
Secondary button7.13:1AAA
Muted text8.17:1AAA
Accent8.94:1AAA
Destructive3.63:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 22.261);
  --foreground: oklch(0.145 0.033 28.103);
  --muted: oklch(0.931 0.016 349.205);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.982 0.004 22.261);
  --popover-foreground: oklch(0.145 0.033 28.103);
  --card: oklch(0.974 0.006 22.285);
  --card-foreground: oklch(0.133 0.028 28.357);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.733 0.1 24.236);
  --primary-foreground: oklch(0.213 0.052 26.471);
  --secondary: oklch(0.733 0.115 352.813);
  --secondary-foreground: oklch(0.214 0.058 356.135);
  --accent: oklch(0.813 0.078 73.814);
  --accent-foreground: oklch(0.249 0.038 71.917);
  --destructive: oklch(0.446 0.144 34.561);
  --destructive-foreground: oklch(0.929 0.03 34.304);
  --ring: oklch(0.733 0.1 24.236);
  --chart-1: oklch(0.733 0.1 24.236);
  --chart-2: oklch(0.733 0.115 352.813);
  --chart-3: oklch(0.813 0.078 73.814);
  --chart-4: oklch(0.76 0.103 352.24);
  --chart-5: oklch(0.731 0.105 24.373);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.184 0.024 352.179);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.733 0.1 24.236);
  --primary-foreground: oklch(0.213 0.052 26.471);
  --secondary: oklch(0.733 0.115 352.813);
  --secondary-foreground: oklch(0.214 0.058 356.135);
  --accent: oklch(0.813 0.078 73.814);
  --accent-foreground: oklch(0.249 0.038 71.917);
  --destructive: oklch(0.642 0.189 35.019);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.733 0.1 24.236);
  --chart-1: oklch(0.733 0.1 24.236);
  --chart-2: oklch(0.733 0.115 352.813);
  --chart-3: oklch(0.813 0.078 73.814);
  --chart-4: oklch(0.76 0.103 352.24);
  --chart-5: oklch(0.731 0.105 24.373);
}