Armor for shadcn/ui

Armor is a shadcn/ui theme built around a vivid teal primary color (#1ff4bc) with vivid yellow accents (#f4bc1f). The light mode uses a neutral background (#f6fdfc). Dark mode keeps the vivid teal primary (#1ff4bc) on a teal-tinted background (#060e0c).

Color palette

TokenLightDark
Background
#f6fdfcmintcream
#060e0cblack
Foreground
#020807black
#f9fbfamintcream
Card
#f6fdfcmintcream
#060e0cblack
Card foreground
#020807black
#f9fbfamintcream
Popover
#f6fdfcmintcream
#060e0cblack
Popover foreground
#020807black
#f9fbfamintcream
Primary
#1ff4bcturquoise
#1ff4bcturquoise
Primary foreground
#034433darkslategray
#034433darkslategray
Secondary
#bc1ff4blueviolet
#bc1ff4blueviolet
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e1d0e7gainsboro
#29182fdarkslategray
Muted foreground
#4c3d51darkslategray
#bcaec2silver
Accent
#f4bc1fgoldenrod
#f4bc1fgoldenrod
Accent foreground
#443303darkolivegreen
#443303darkolivegreen
Destructive
#8b1804darkred
#f83d1borangered
Destructive foreground
#fdccc4pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1ff4bcturquoise
#1ff4bcturquoise

Contrast

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

Light mode
Text on background19.64:1AAA
Text on card19.64:1AAA
Primary button7.86:1AAA
Secondary button4.53:1AA
Muted text6.85:1AA
Accent6.99:1AA
Destructive6.56:1AA
Dark mode
Text on background18.76:1AAA
Text on card18.76:1AAA
Primary button7.86:1AAA
Secondary button4.53:1AA
Muted text7.86:1AAA
Accent6.99:1AA
Destructive3.70:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.008 178.556);
  --foreground: oklch(0.125 0.016 178.891);
  --muted: oklch(0.878 0.036 317.096);
  --muted-foreground: oklch(0.385 0.038 316.959);
  --popover: oklch(0.99 0.008 178.556);
  --popover-foreground: oklch(0.125 0.016 178.891);
  --card: oklch(0.99 0.008 178.556);
  --card-foreground: oklch(0.125 0.016 178.891);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.862 0.171 167.805);
  --primary-foreground: oklch(0.345 0.068 168.695);
  --secondary: oklch(0.605 0.285 313.76);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.823 0.163 85.491);
  --accent-foreground: oklch(0.331 0.065 86.69);
  --destructive: oklch(0.412 0.151 32.07);
  --destructive-foreground: oklch(0.886 0.057 29.835);
  --ring: oklch(0.862 0.171 167.805);
  --chart-1: oklch(0.862 0.171 167.805);
  --chart-2: oklch(0.605 0.285 313.76);
  --chart-3: oklch(0.823 0.163 85.491);
  --chart-4: oklch(0.619 0.277 314.438);
  --chart-5: oklch(0.871 0.174 167.481);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.155 0.013 177.028);
  --foreground: oklch(0.986 0.001 178.741);
  --muted: oklch(0.243 0.048 316.671);
  --muted-foreground: oklch(0.768 0.032 317.093);
  --popover: oklch(0.155 0.013 177.028);
  --popover-foreground: oklch(0.986 0.001 178.741);
  --card: oklch(0.155 0.013 177.028);
  --card-foreground: oklch(0.986 0.001 178.741);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.862 0.171 167.805);
  --primary-foreground: oklch(0.345 0.068 168.695);
  --secondary: oklch(0.605 0.285 313.76);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.823 0.163 85.491);
  --accent-foreground: oklch(0.331 0.065 86.69);
  --destructive: oklch(0.642 0.227 32.166);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.862 0.171 167.805);
  --chart-1: oklch(0.862 0.171 167.805);
  --chart-2: oklch(0.605 0.285 313.76);
  --chart-3: oklch(0.823 0.163 85.491);
  --chart-4: oklch(0.619 0.277 314.438);
  --chart-5: oklch(0.871 0.174 167.481);
}