Ironclad for shadcn/ui

Ironclad is a shadcn/ui theme built around a vivid pink primary color (#f04774) with vivid blue accents (#4774f0). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#f04774) on a pink-tinted background (#0d0709).

Color palette

TokenLightDark
Background
#ffffffwhite
#0d0709black
Foreground
#080204black
#faf5f6whitesmoke
Card
#fcfcfcsnow
#11090bblack
Card foreground
#040102black
#fbf8f9snow
Popover
#fcfcfcsnow
#11090bblack
Popover foreground
#040102black
#fbf8f9snow
Primary
#f04774indianred
#f04774indianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#74f047yellowgreen
#74f047yellowgreen
Secondary foreground
#020500black
#020500black
Muted
#d8ebd1gainsboro
#1b2e14black
Muted foreground
#464b44darkslategray
#b6bbb4silver
Accent
#4774f0royalblue
#4774f0royalblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b14202saddlebrown
#fd650dorangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f04774indianred
#f04774indianred

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.33:1AAA
Primary button3.58:1AA Large
Secondary button13.96:1AAA
Muted text7.11:1AAA
Accent4.17:1AA Large
Destructive5.76:1AA
Dark mode
Text on background18.48:1AAA
Text on card18.65:1AAA
Primary button3.58:1AA Large
Secondary button13.96:1AAA
Muted text7.39:1AAA
Accent4.17:1AA Large
Destructive7.01:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.105 0.019 358.616);
  --muted: oklch(0.919 0.041 137.297);
  --muted-foreground: oklch(0.406 0.014 137.269);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.083 0.015 358.616);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.083 0.015 358.616);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.651 0.206 9.255);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.852 0.232 138.749);
  --secondary-foreground: oklch(0.102 0.025 134.693);
  --accent: oklch(0.595 0.193 265.723);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.525 0.157 42.288);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.651 0.206 9.255);
  --chart-1: oklch(0.651 0.206 9.255);
  --chart-2: oklch(0.852 0.232 138.749);
  --chart-3: oklch(0.595 0.193 265.723);
  --chart-4: oklch(0.86 0.219 138.482);
  --chart-5: oklch(0.652 0.211 9.713);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.012 359.565);
  --foreground: oklch(0.974 0.005 358.935);
  --muted: oklch(0.278 0.053 137.868);
  --muted-foreground: oklch(0.786 0.012 137.224);
  --popover: oklch(0.151 0.014 1.148);
  --popover-foreground: oklch(0.983 0.003 358.883);
  --card: oklch(0.151 0.014 1.148);
  --card-foreground: oklch(0.983 0.003 358.883);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.651 0.206 9.255);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.852 0.232 138.749);
  --secondary-foreground: oklch(0.102 0.025 134.693);
  --accent: oklch(0.595 0.193 265.723);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.691 0.202 42.707);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.651 0.206 9.255);
  --chart-1: oklch(0.651 0.206 9.255);
  --chart-2: oklch(0.852 0.232 138.749);
  --chart-3: oklch(0.595 0.193 265.723);
  --chart-4: oklch(0.86 0.219 138.482);
  --chart-5: oklch(0.652 0.211 9.713);
}