Cognition vs Lego
64 token-level differences between these two design systems.
Background
#f7f6f5 → #ffffff Text
#000000 → #1a1a1a Brand
#191919 → #ffd500 Border
#000000 → #e0e0e0 Display font
nbInternational → Lego Sans Body size
16px → 15px colors 54 changed
~
bg #f7f6f5 → #ffffff ~
text #000000 → #1a1a1a ~
text-soft #3d3d3d → #8a8a8a ~
text-faint #6b6b6b → #bcbcbc ~
text-muted #9a9a9a → #5a5a5a ~
brand #191919 → #ffd500 ~
brand-hover #000000 → #e6c000 ~
on-brand #f7f6f5 → #1a1a1a ~
link #000000 → #0055bf ~
link-hover #191919 → #003e8e ~
selected-bg #0000000d → #fff8d0 ~
border #000000 → #e0e0e0 ~
border-soft rgba(0, 0, 0, 0.12) → #f0f0f0 +
bg-soft #f5f5f5 +
bg-warm #fffaf0 +
surface-soft #fafafa +
surface-strong #f0f0f0 +
brand-pressed #cca900 +
brand-deep #a89200 +
brand-tint #fff8d0 +
brand-soft #ffec8a +
red #d62027 +
red-deep #a8161c +
red-soft #ffd5d8 +
blue #0055bf +
blue-deep #003e8e +
blue-soft #cee0f5 +
green #179a35 +
green-deep #0c7826 +
green-soft #cdf0d4 +
text-strong #000000 +
text-on-brand #1a1a1a +
text-on-red #ffffff +
text-on-blue #ffffff +
text-on-green #ffffff +
border-strong #cccccc +
border-brand #ffd500 +
age-0plus #179a35 +
age-6plus #0055bf +
age-12plus #d62027 +
age-adult #1a1a1a +
success #179a35 +
warning #ffd500 +
danger #d62027 +
info #0055bf −
bg-secondary #f0efed −
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":"Lego Sans","size":56} ~
h1 {"family":"nbInternational","size":36} → {"family":"Lego Sans","size":32} ~
h2 {"family":"nbInternational","size":20} → {"family":"Lego Sans","size":24} ~
body {"family":"stkBureauSerif","size":16} → {"family":"Lego Sans","size":15} ~
label {"family":"SFMono-Regular","size":13} → {"family":"SFMono-Regular","size":12} radius 3 changed
~
button 0px → 12px ~
card 0px → 16px ~
pill 0px → 9999px spacing 2 changed
~
lg 32px → 24px ~
xl 64px → 40px