Cognition vs Udemy
80 token-level differences between these two design systems.
Background
#f7f6f5 → #ffffff Text
#000000 → #1c1d1f Brand
#191919 → #a435f0 Border
#000000 → #d1d7dc Display font
nbInternational → Udemy Sans Body size
16px → 16px colors 68 changed
~
bg #f7f6f5 → #ffffff ~
text #000000 → #1c1d1f ~
text-soft #3d3d3d → #8b8d92 ~
text-muted #9a9a9a → #6a6f73 ~
brand #191919 → #a435f0 ~
brand-hover #000000 → #8710d8 ~
on-brand #f7f6f5 → #ffffff ~
border #000000 → #d1d7dc ~
border-soft rgba(0, 0, 0, 0.12) → #e9ebee +
bg-warm #f7f9fa +
bg-muted #f3f4f6 +
bg-deep #1c1d1f +
bg-promo #f3eaff +
bg-sale #fef2cd +
surface-elevated #ffffff +
surface-hover #f7f9fa +
surface-soft #faf9fc +
surface-strong #e7e9eb +
surface-dark #2d2f31 +
text-strong #000000 +
text-disabled #a8aaae +
text-on-brand #ffffff +
text-on-dark #ffffff +
text-link #5624d0 +
text-link-hover #401b9c +
brand-active #6d28d9 +
brand-soft #f3eaff +
brand-deep #5624d0 +
accent-yellow #f69c08 +
accent-yellow-bg #eceb98 +
accent-orange #f3ca8c +
accent-red #cc0c39 +
accent-green #1c8c2e +
accent-blue #3268bd +
border-strong #9b9fa3 +
border-focus #5624d0 +
rating-star #f69c08 +
rating-star-empty #d1d7dc +
badge-bestseller #eceb98 +
badge-bestseller-text #3d3c0a +
badge-hot #f3ca8c +
badge-hot-text #3d2305 +
price-current #1c1d1f +
price-original #6a6f73 +
shadow-card rgba(0,0,0,0.10) +
shadow-modal rgba(0,0,0,0.24) +
shadow-popover rgba(0,0,0,0.16) +
success #1c8c2e +
success-soft #e6f2e8 +
warning #f4951f +
warning-soft #fff5db +
danger #cc0c39 +
danger-soft #fbeaea +
info #5624d0 +
info-soft #f3eaff −
bg-secondary #f0efed −
text-faint #6b6b6b −
link #000000 −
link-hover #191919 −
selected-bg #0000000d −
disabled #9a9a9a −
border-subtle rgba(0, 0, 0, 0.06) −
input-bg rgba(0, 0, 0, 0.031) −
input-bg-hover rgba(0, 0, 0, 0.051) −
success-text #1f5130 −
warning-text #7a5e1f −
danger-text #8a2b2b −
info-text #26416b typography 5 changed
~
display {"family":"nbInternational","size":72} → {"family":"Udemy Sans","size":56} ~
h1 {"family":"nbInternational","size":36} → {"family":"Udemy Sans","size":40} ~
h2 {"family":"nbInternational","size":20} → {"family":"Udemy Sans","size":32} ~
body {"family":"stkBureauSerif","size":16} → {"family":"Udemy Sans","size":16} ~
label {"family":"SFMono-Regular","size":13} → {"family":"Roboto Mono","size":11} radius 3 changed
~
button 0px → 6px ~
card 0px → 8px ~
pill 0px → 9999px spacing 4 changed
~
xs 0px → 4px ~
sm 4px → 8px ~
md 12px → 16px ~
xl 64px → 48px