Alexandria Marsupial for shadcn/ui

Alexandria Marsupial is a shadcn/ui theme built around a vivid red primary color (#fc9173) with vivid indigo accents (#9173fc). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the vivid red primary (#fc9173) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#fdf8f7snow
#040201black
Foreground
#000000black
#fafaf9snow
Card
#fdf8f7snow
#040201black
Card foreground
#000000black
#fafaf9snow
Popover
#fdf8f7snow
#040201black
Popover foreground
#000000black
#fafaf9snow
Primary
#fc9173lightsalmon
#fc9173lightsalmon
Primary foreground
#3c0e01black
#3c0e01black
Secondary
#73fc91lightgreen
#73fc91lightgreen
Secondary foreground
#013c0edarkgreen
#013c0edarkgreen
Muted
#d1e6d5gainsboro
#192e1eblack
Muted foreground
#4d564fdarkslategray
#a9b2abdarkgray
Accent
#9173fcmediumslateblue
#9173fcmediumslateblue
Accent foreground
#000000black
#000000black
Destructive
#d43b11firebrick
#de3e12orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#efececlinen
#1e1b1ablack
Input
#efececlinen
#1e1b1ablack
Ring
#fc9173lightsalmon
#fc9173lightsalmon

Contrast

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

Light mode
Text on background19.95:1AAA
Text on card19.95:1AAA
Primary button7.50:1AAA
Secondary button9.72:1AAA
Muted text5.79:1AA
Accent6.06:1AA
Destructive4.71:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button7.50:1AAA
Secondary button9.72:1AAA
Muted text6.61:1AA
Accent6.06:1AA
Destructive4.37:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.006 35.992);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.904 0.032 152.049);
  --muted-foreground: oklch(0.444 0.017 151.984);
  --popover: oklch(0.983 0.006 35.992);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.983 0.006 35.992);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.946 0.003 36.002);
  --input: oklch(0.946 0.003 36.002);
  --primary: oklch(0.764 0.137 36.329);
  --primary-foreground: oklch(0.242 0.076 38.035);
  --secondary: oklch(0.89 0.189 148.435);
  --secondary-foreground: oklch(0.31 0.094 145.925);
  --accent: oklch(0.65 0.196 289.818);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.579 0.196 34.714);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.764 0.137 36.329);
  --chart-1: oklch(0.764 0.137 36.329);
  --chart-2: oklch(0.89 0.189 148.435);
  --chart-3: oklch(0.65 0.196 289.818);
  --chart-4: oklch(0.898 0.172 148.986);
  --chart-5: oklch(0.764 0.141 36.344);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.011 43.145);
  --foreground: oklch(0.984 0.001 36.009);
  --muted: oklch(0.279 0.041 149.962);
  --muted-foreground: oklch(0.755 0.015 152.294);
  --popover: oklch(0.088 0.011 43.145);
  --popover-foreground: oklch(0.984 0.001 36.009);
  --card: oklch(0.088 0.011 43.145);
  --card-foreground: oklch(0.984 0.001 36.009);
  --border: oklch(0.225 0.006 35.951);
  --input: oklch(0.225 0.006 35.951);
  --primary: oklch(0.764 0.137 36.329);
  --primary-foreground: oklch(0.242 0.076 38.035);
  --secondary: oklch(0.89 0.189 148.435);
  --secondary-foreground: oklch(0.31 0.094 145.925);
  --accent: oklch(0.65 0.196 289.818);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.598 0.203 34.677);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.764 0.137 36.329);
  --chart-1: oklch(0.764 0.137 36.329);
  --chart-2: oklch(0.89 0.189 148.435);
  --chart-3: oklch(0.65 0.196 289.818);
  --chart-4: oklch(0.898 0.172 148.986);
  --chart-5: oklch(0.764 0.141 36.344);
}