Miami Marmalade Magpie for shadcn/ui

Miami Marmalade Magpie is a shadcn/ui theme built around a vivid orange primary color (#f7951d) with near-white accents (#ededed). The light mode uses a neutral background (#fafafa). Dark mode keeps the vivid orange primary (#f7951d) on a neutral background (#0a0909).

Color palette

TokenLightDark
Background
#fafafasnow
#0a0909black
Foreground
#0d0802black
#fafafasnow
Card
#fcfcfcsnow
#050403black
Card foreground
#090502black
#fafafasnow
Popover
#fcfcfcsnow
#030303black
Popover foreground
#090502black
#fafafasnow
Primary
#f7951ddarkorange
#f7951ddarkorange
Primary foreground
#452702maroon
#452702maroon
Secondary
#e6e6e6gainsboro
#212121black
Secondary foreground
#584b3cdarkolivegreen
#cacacalightgrey
Muted
#edededwhitesmoke
#181818black
Muted foreground
#4a453fdarkslategray
#c0bbb5silver
Accent
#edededwhitesmoke
#1d1d1dblack
Accent foreground
#4c3c2adarkolivegreen
#d9d4celightgrey
Destructive
#d12416firebrick
#f55b19orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#eeedeclinen
#292929darkslategray
Input
#eeedeclinen
#353535darkslategray
Ring
#f7951ddarkorange
#f7951ddarkorange

Contrast

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

Light mode
Text on background19.11:1AAA
Text on card19.86:1AAA
Primary button5.98:1AA
Secondary button6.73:1AA
Muted text8.12:1AAA
Accent9.05:1AAA
Destructive5.28:1AA
Dark mode
Text on background19.02:1AAA
Text on card19.59:1AAA
Primary button5.98:1AA
Secondary button9.82:1AAA
Muted text9.31:1AAA
Accent11.44:1AAA
Destructive6.40:1AA

CSS variables

Paste this into your globals.css to use Miami Marmalade Magpie in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0 170.538);
  --foreground: oklch(0.139 0.019 81.375);
  --muted: oklch(0.947 0 158.199);
  --muted-foreground: oklch(0.395 0.012 72.965);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.121 0.017 82.495);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.121 0.017 82.495);
  --border: oklch(0.947 0.002 73.202);
  --input: oklch(0.947 0.002 73.202);
  --primary: oklch(0.755 0.165 63.275);
  --primary-foreground: oklch(0.305 0.065 65.562);
  --secondary: oklch(0.923 0 153.435);
  --secondary-foreground: oklch(0.422 0.03 72.459);
  --accent: oklch(0.947 0 158.199);
  --accent-foreground: oklch(0.369 0.037 71.891);
  --destructive: oklch(0.554 0.208 29.836);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.755 0.165 63.275);
  --chart-1: oklch(0.755 0.165 63.275);
  --chart-2: oklch(0.923 0 153.435);
  --chart-3: oklch(0.947 0 158.199);
  --chart-4: oklch(0.947 0 180);
  --chart-5: oklch(0.76 0.168 62.665);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.002 85.3);
  --foreground: oklch(0.985 0 170.538);
  --muted: oklch(0.209 0 180);
  --muted-foreground: oklch(0.793 0.01 73.122);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.985 0 170.538);
  --card: oklch(0.11 0.005 93.554);
  --card-foreground: oklch(0.985 0 170.538);
  --border: oklch(0.281 0 180);
  --input: oklch(0.329 0 180);
  --primary: oklch(0.755 0.165 63.275);
  --primary-foreground: oklch(0.305 0.065 65.562);
  --secondary: oklch(0.248 0 180);
  --secondary-foreground: oklch(0.839 0 172.405);
  --accent: oklch(0.231 0 180);
  --accent-foreground: oklch(0.873 0.009 73.139);
  --destructive: oklch(0.668 0.201 39.589);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.755 0.165 63.275);
  --chart-1: oklch(0.755 0.165 63.275);
  --chart-2: oklch(0.248 0 180);
  --chart-3: oklch(0.231 0 180);
  --chart-4: oklch(0.279 0 180);
  --chart-5: oklch(0.76 0.168 62.665);
}