Affirm vs shadcn/ui
76 token-level differences between these two design systems.
Background
#13131f → #ffffff Text
#101820 → #0a0a0a Brand
#4a4af4 → #0a0a0a Border
rgba(255,255,255,0.12) → #e4e4e7 Display font
Axiforma for Affirm → Geist Body size
16px → 16px colors 65 changed
~
bg #13131f → #ffffff ~
surface #1c1c2b → #fafafa ~
text #101820 → #0a0a0a ~
brand #4a4af4 → #0a0a0a ~
brand-hover #3a3ad6 → #1a1a1a ~
on-brand #ffffff → #fafafa ~
border rgba(255,255,255,0.12) → #e4e4e7 ~
border-strong rgba(255,255,255,0.24) → #d4d4d8 ~
link #9fa0ff → #0a0a0a ~
success #1f9d55 → #10b981 ~
warning #b06a00 → #f59e0b +
surface-strong #f4f4f5 +
surface-muted #f4f4f5 +
surface-accent #f4f4f5 +
surface-elevated #ffffff +
text-strong #000000 +
text-secondary #3f3f46 +
text-muted #71717a +
text-faint #a1a1aa +
brand-active #27272a +
link-hover #3f3f46 +
destructive #ef4444 +
destructive-hover #dc2626 +
destructive-foreground #fafafa +
border-soft #f4f4f5 +
input #e4e4e7 +
input-border #e4e4e7 +
ring #0a0a0a +
selection-bg rgba(10, 10, 10, 0.1) +
shadow-color rgba(0, 0, 0, 0.05) +
shadow-color-md rgba(0, 0, 0, 0.1) +
shadow-color-lg rgba(0, 0, 0, 0.15) +
info #3b82f6 +
chart-1 #e76e50 +
chart-2 #2a9d90 +
chart-3 #274754 +
chart-4 #e8c468 +
chart-5 #f4a462 −
bg-deep #0c0c14 −
surface-elev #23233a −
surface-light #ffffff −
surface-light-quiet #f6f6fb −
text-on-dark #ffffff −
text-on-dark-muted rgba(255,255,255,0.72) −
text-on-dark-subtle rgba(255,255,255,0.55) −
text-soft #4a4a57 −
text-subdued #6b6b78 −
brand-deep #2e2eb0 −
brand-light #7a7af7 −
brand-tint #e6e6fe −
brand-bg-hover rgba(74,74,244,0.08) −
brand-on-dark-tint rgba(74,74,244,0.18) −
accent-mint #7affc1 −
accent-sky #9fd8ff −
border-light #e2e2ec −
border-brand #4a4af4 −
link-on-light #4a4af4 −
success-text #0f7a3e −
success-bg rgba(31,157,85,0.16) −
warning-bg rgba(176,106,0,0.14) −
danger #d92d2d −
danger-bg rgba(217,45,45,0.14) −
shadow-deep rgba(0,0,0,0.45) −
shadow-soft rgba(0,0,0,0.28) −
shadow-light rgba(16,24,32,0.10) typography 5 changed
~
display {"family":"Axiforma for Affirm","size":80} → {"family":"Geist","size":56} ~
h1 {"family":"Axiforma for Affirm","size":40} → {"family":"Geist","size":40} ~
h2 {"family":"Axiforma for Affirm","size":32} → {"family":"Geist","size":32} ~
body {"family":"Calibre","size":16} → {"family":"Geist","size":16} ~
label {"family":"SFMono-Regular","size":13} → {"family":"Geist Mono","size":14} radius 2 changed
~
card 24px → 12px ~
pill 96px → 9999px spacing 4 changed
~
xs 0px → 4px ~
sm 4px → 8px ~
md 12px → 16px ~
xl 64px → 48px