BLOODMOON AI for shadcn/ui

BLOODMOON AI is a shadcn/ui theme built around a vivid yellow primary color (#ffd86b) with green accents (#33cc33). The light mode uses a blue-tinted background (#34374b). Dark mode switches to a vivid orange primary (#c25f00) on an indigo-tinted background (#2f2f4c).

Color palette

TokenLightDark
Background
#34374bdarkslategray
#2f2f4cdarkslategray
Foreground
#e8f3f1whitesmoke
#e9f1f1whitesmoke
Card
#303345darkslategray
#272640darkslategray
Card foreground
#f9fbfbghostwhite
#f9fbfbghostwhite
Popover
#2a2c3cdarkslategray
#222137darkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#ffd86bkhaki
#c25f00chocolate
Primary foreground
#382900black
#e9f1f1whitesmoke
Secondary
#2d3953darkslategray
#6527cablueviolet
Secondary foreground
#cdd5e4lightgrey
#e9f1f1whitesmoke
Muted
#343542darkslategray
#7b7d93slategray
Muted foreground
#b2b4c2silver
#b2b4c2silver
Accent
#33cc33limegreen
#33cc33limegreen
Accent foreground
#d6f5d6gainsboro
#d6f5d6gainsboro
Destructive
#f4502ftomato
#e54c28chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#383942darkslategray
#373843darkslategray
Input
#3f414adarkslategray
#3e3e6cdarkslateblue
Ring
#ffd86bkhaki
#f7a84fsandybrown

Contrast

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

Light mode
Text on background10.31:1AAA
Text on card12.04:1AAA
Primary button10.26:1AAA
Secondary button7.79:1AAA
Muted text5.87:1AA
Accent1.82:1Fail
Destructive3.48:1AA Large
Dark mode
Text on background11.22:1AAA
Text on card14.02:1AAA
Primary button3.70:1AA Large
Secondary button6.80:1AA
Muted text1.95:1Fail
Accent1.82:1Fail
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.343 0.036 278.494);
  --foreground: oklch(0.954 0.011 188.624);
  --muted: oklch(0.333 0.022 279.217);
  --muted-foreground: oklch(0.772 0.021 279.898);
  --popover: oklch(0.298 0.03 278.59);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.325 0.033 278.529);
  --card-foreground: oklch(0.987 0.003 188.847);
  --border: oklch(0.349 0.015 279.62);
  --input: oklch(0.376 0.017 279.603);
  --primary: oklch(0.894 0.134 89.51);
  --primary-foreground: oklch(0.291 0.059 87.335);
  --secondary: oklch(0.347 0.048 263.643);
  --secondary-foreground: oklch(0.872 0.023 264.45);
  --accent: oklch(0.739 0.227 142.85);
  --accent-foreground: oklch(0.939 0.052 145.148);
  --destructive: oklch(0.654 0.206 33.181);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.894 0.134 89.51);
  --chart-1: oklch(0.894 0.134 89.51);
  --chart-2: oklch(0.347 0.048 263.643);
  --chart-3: oklch(0.739 0.227 142.85);
  --chart-4: oklch(0.373 0.053 263.618);
  --chart-5: oklch(0.897 0.137 89.42);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.319 0.051 283.108);
  --foreground: oklch(0.951 0.008 204.435);
  --muted: oklch(0.596 0.033 279.406);
  --muted-foreground: oklch(0.772 0.021 279.898);
  --popover: oklch(0.26 0.041 285.258);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.284 0.046 285.116);
  --card-foreground: oklch(0.987 0.003 188.847);
  --border: oklch(0.344 0.019 279.432);
  --input: oklch(0.386 0.077 282.183);
  --primary: oklch(0.595 0.152 52.636);
  --primary-foreground: oklch(0.952 0.009 197.013);
  --secondary: oklch(0.467 0.227 292.149);
  --secondary-foreground: oklch(0.952 0.009 197.013);
  --accent: oklch(0.739 0.227 142.85);
  --accent-foreground: oklch(0.939 0.052 145.148);
  --destructive: oklch(0.626 0.196 34.245);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.792 0.139 66.26);
  --chart-1: oklch(0.595 0.152 52.636);
  --chart-2: oklch(0.467 0.227 292.149);
  --chart-3: oklch(0.739 0.227 142.85);
  --chart-4: oklch(0.488 0.236 292.219);
  --chart-5: oklch(0.599 0.155 52.054);
}