Diff

Cognition vs tldraw

68 token-level differences between these two design systems.

Role tokens
Background
#f7f6f5 #f8f9fa
Text
#000000 #1d1d1d
Brand
#191919 #3182ed
Border
#000000 #0000001a
Display font
nbInternational Inter
Body size
16px 16px
colors 55 changed
~ bg #f7f6f5 #f8f9fa
~ text #000000 #1d1d1d
~ text-soft #3d3d3d #8b8b8b
~ text-faint #6b6b6b #bababa
~ text-muted #9a9a9a #5c5c5c
~ brand #191919 #3182ed
~ brand-hover #000000 #2870d6
~ on-brand #f7f6f5 #ffffff
~ link #000000 #3182ed
~ border #000000 #0000001a
~ border-soft rgba(0, 0, 0, 0.12) #0000000d
+ bg-canvas #fdfdfd
+ bg-soft #ffffff
+ surface-soft #f1f3f5
+ surface-hover #e9ecef
+ surface-selected #dee2e6
+ text-strong #101010
+ text-display #1d1d1d
+ text-on-brand #ffffff
+ text-on-pastel #1d1d1d
+ brand-active #1f5db8
+ brand-soft #dbeafe
+ brand-faint #eff6ff
+ accent-yellow #fde68a
+ accent-yellow-deep #fcd34d
+ accent-pink #fbcfe8
+ accent-pink-deep #f9a8d4
+ accent-green #bbf7d0
+ accent-green-deep #86efac
+ accent-blue #bfdbfe
+ accent-blue-deep #93c5fd
+ accent-purple #ddd6fe
+ accent-orange #fed7aa
+ border-strong #00000033
+ grid-dot #0000001a
+ grid-dot-soft #0000000d
+ success #16a34a
+ success-bg #dcfce7
+ warning #d97706
+ warning-bg #fef3c7
+ danger #dc2626
+ danger-bg #fee2e2
+ info #3182ed
+ info-bg #dbeafe
bg-secondary #f0efed
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":"Inter","size":80}
~ h1 {"family":"nbInternational","size":36} {"family":"Inter","size":48}
~ h2 {"family":"nbInternational","size":20} {"family":"Inter","size":36}
~ body {"family":"stkBureauSerif","size":16} {"family":"Inter","size":16}
~ label {"family":"SFMono-Regular","size":13} {"family":"Berkeley Mono","size":12}
radius 3 changed
~ button 0px 10px
~ card 0px 16px
~ pill 0px 9999px
spacing 5 changed
~ xs 0px 1px
~ sm 4px 2px
~ md 12px 6px
~ lg 32px 12px
~ xl 64px 20px
↻ Swap direction · tldraw → Cognition