Optimism vs Khan Academy
82 token-level differences between these two design systems.
Background
#ffffff → #ffffff Text
#000000 → #21242c Brand
#ff0420 → #14bf96 Border
#e0e0e0 → #d6d8de Display font
Optimism Display → Lato Body size
16px → 16px colors 73 changed
~
text #000000 → #21242c ~
text-muted #5a5a5a → #5b5e6b ~
brand #ff0420 → #14bf96 ~
brand-hover #cc0319 → #0e9a78 ~
brand-active #a30214 → #0a7d63 ~
brand-soft #ff04201a → #e3f9f1 ~
brand-deep #7d020f → #0a7d63 ~
border #e0e0e0 → #d6d8de ~
border-soft #ebebeb → #e7e9ed ~
border-strong #c0c0c0 → #a8aab2 +
bg-warm #f7f8fa +
bg-muted #fafbfc +
bg-cream #fef9e9 +
bg-deep #21242c +
bg-promo #e3f9f1 +
surface #ffffff +
surface-elevated #ffffff +
surface-hover #f7f8fa +
surface-soft #f0fcf7 +
surface-strong #e7e9ed +
text-strong #0c0d0f +
text-soft #797d8a +
text-disabled #a8aab2 +
text-on-brand #ffffff +
text-link #0a7d63 +
text-link-hover #06664f +
accent-blue #1865f2 +
accent-yellow #f4cf3e +
accent-orange #e07c2c +
accent-purple #9059ff +
accent-red #d23a48 +
accent-pink #e879b7 +
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 #0a7d63 +
success-soft #e3f9f1 +
warning #d68a17 +
warning-soft #fef9e9 +
danger #d23a48 +
danger-soft #fdebed +
info #1865f2 +
info-soft #e6efff −
bg-soft #f5f5f5 −
bg-strong #e6e6e6 −
bg-dark #000000 −
bg-dark-elev #1a1a1a −
bg-dark-deep #0a0a0a −
surface-card #ffffff −
surface-card-soft #f5f5f5 −
text-body #1a1a1a −
text-subtle #8a8a8a −
text-on-dark #ffffff −
text-on-dark-soft #a8a8a8 −
brand-glow rgba(255,4,32,0.40) −
brand-bright #ff3344 −
semantic-up #10b981 −
semantic-down #ef4444 −
semantic-warning #f59e0b −
semantic-info #ff0420 −
gradient-hero linear-gradient(135deg, #000000 0%, #1a1a1a 60%, #7d020f 100%) −
gradient-red linear-gradient(135deg, #ff0420 0%, #cc0319 100%) −
focus-ring rgba(255,4,32,0.45) −
scrim rgba(0,0,0,0.65) −
link #ff0420 −
link-hover #cc0319 typography 5 changed
~
display {"family":"Optimism Display","size":72} → {"family":"Lato","size":56} ~
h1 {"family":"Optimism Display","size":40} → {"family":"Lato","size":40} ~
h2 {"family":"Optimism Display","size":32} → {"family":"Lato","size":32} ~
body {"family":"Inter","size":16} → {"family":"Lato","size":16} ~
label {"family":"JetBrains Mono","size":11} → {"family":"Source Code Pro","size":11} radius 3 changed
~
button 12px → 6px ~
card 12px → 8px ~
pill 999px → 9999px spacing 1 changed
~
xl 64px → 48px