Diff

Lego vs Cognition

64 token-level differences between these two design systems.

Role tokens
Background
#ffffff #f7f6f5
Text
#1a1a1a #000000
Brand
#ffd500 #191919
Border
#e0e0e0 #000000
Display font
Lego Sans nbInternational
Body size
15px 16px
colors 54 changed
~ bg #ffffff #f7f6f5
~ brand #ffd500 #191919
~ brand-hover #e6c000 #000000
~ on-brand #1a1a1a #f7f6f5
~ text #1a1a1a #000000
~ text-muted #5a5a5a #9a9a9a
~ text-soft #8a8a8a #3d3d3d
~ text-faint #bcbcbc #6b6b6b
~ link #0055bf #000000
~ link-hover #003e8e #191919
~ selected-bg #fff8d0 #0000000d
~ border #e0e0e0 #000000
~ border-soft #f0f0f0 rgba(0, 0, 0, 0.12)
+ 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
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
typography 5 changed
~ display {"family":"Lego Sans","size":56} {"family":"nbInternational","size":72}
~ h1 {"family":"Lego Sans","size":32} {"family":"nbInternational","size":36}
~ h2 {"family":"Lego Sans","size":24} {"family":"nbInternational","size":20}
~ body {"family":"Lego Sans","size":15} {"family":"stkBureauSerif","size":16}
~ label {"family":"SFMono-Regular","size":12} {"family":"SFMono-Regular","size":13}
radius 3 changed
~ button 12px 0px
~ card 16px 0px
~ pill 9999px 0px
spacing 2 changed
~ lg 24px 32px
~ xl 40px 64px
↻ Swap direction · Cognition → Lego