Phantom vs Khan Academy
76 token-level differences between these two design systems.
Background
#0c0c0e → #ffffff Text
#ffffff → #21242c Brand
#ab9ff2 → #14bf96 Border
rgba(255, 255, 255, 0.08) → #d6d8de Display font
Phantom Sans → Lato Body size
15px → 16px colors 64 changed
~
bg #0c0c0e → #ffffff ~
bg-deep #06060a → #21242c ~
surface #15151a → #ffffff ~
surface-strong #22222a → #e7e9ed ~
brand #ab9ff2 → #14bf96 ~
brand-hover #bdb3f6 → #0e9a78 ~
brand-deep #534bb1 → #0a7d63 ~
on-brand #0c0c0e → #ffffff ~
text #ffffff → #21242c ~
text-strong #ffffff → #0c0d0f ~
text-muted #a8a8b8 → #5b5e6b ~
text-soft #7a7a8c → #797d8a ~
text-on-brand #0c0c0e → #ffffff ~
border rgba(255, 255, 255, 0.08) → #d6d8de ~
border-strong rgba(255, 255, 255, 0.16) → #a8aab2 ~
success #5dd4a8 → #0a7d63 ~
warning #f5c842 → #d68a17 ~
danger #ff6b6b → #d23a48 ~
info #ab9ff2 → #1865f2 +
bg-warm #f7f8fa +
bg-muted #fafbfc +
bg-cream #fef9e9 +
bg-promo #e3f9f1 +
surface-elevated #ffffff +
surface-hover #f7f8fa +
surface-soft #f0fcf7 +
text-disabled #a8aab2 +
text-link #0a7d63 +
text-link-hover #06664f +
brand-active #0a7d63 +
brand-soft #e3f9f1 +
accent-blue #1865f2 +
accent-yellow #f4cf3e +
accent-orange #e07c2c +
accent-purple #9059ff +
accent-red #d23a48 +
accent-pink #e879b7 +
border-soft #e7e9ed +
border-focus #14bf96 +
mastery-attempted #a8aab2 +
mastery-familiar #1865f2 +
mastery-proficient #9059ff +
mastery-mastered #0a7d63 +
energy-points #f4cf3e +
streak-fire #e07c2c +
shadow-card rgba(33,36,44,0.08) +
shadow-modal rgba(33,36,44,0.20) +
shadow-popover rgba(33,36,44,0.12) +
success-soft #e3f9f1 +
warning-soft #fef9e9 +
danger-soft #fdebed +
info-soft #e6efff −
bg-section #15151a −
bg-elev #1f1f25 −
surface-translucent rgba(12, 12, 14, 0.85) −
brand-pressed #9b8ee8 −
brand-deeper #3d3686 −
brand-tint rgba(171, 159, 242, 0.15) −
text-faint #5a5a6c −
link #ab9ff2 −
link-hover #ffffff −
selected-bg rgba(171, 159, 242, 0.15) −
border-brand #ab9ff2 −
ghost-glow #ab9ff2 typography 5 changed
~
display {"family":"Phantom Sans","size":88} → {"family":"Lato","size":56} ~
h1 {"family":"Phantom Sans","size":40} → {"family":"Lato","size":40} ~
h2 {"family":"Phantom Sans","size":32} → {"family":"Lato","size":32} ~
body {"family":"Phantom Sans","size":15} → {"family":"Lato","size":16} ~
label {"family":"JetBrains Mono","size":12} → {"family":"Source Code Pro","size":11} radius 2 changed
~
button 8px → 6px ~
card 12px → 8px spacing 5 changed
~
xs 0px → 4px ~
sm 4px → 8px ~
md 12px → 16px ~
lg 24px → 32px ~
xl 40px → 48px