Diff

Cognition vs Bun

62 token-level differences between these two design systems.

Role tokens
Background
#f7f6f5 #fbf0df
Text
#000000 #15151b
Brand
#191919 #f472b6
Border
#000000 #15151b1a
Display font
nbInternational CoFo Sans
Body size
16px 17px
colors 51 changed
~ bg #f7f6f5 #fbf0df
~ text #000000 #15151b
~ text-faint #6b6b6b #9a9a9a
~ text-muted #9a9a9a #6b6b6b
~ brand #191919 #f472b6
~ on-brand #f7f6f5 #15151b
~ link #000000 #db2777
~ link-hover #191919 #9d174d
~ border #000000 #15151b1a
~ border-subtle rgba(0, 0, 0, 0.06) #15151b0d
~ success-text #1f5130 #166534
~ warning-text #7a5e1f #854d0e
~ danger-text #8a2b2b #991b1b
~ info-text #26416b #9d174d
+ bg-soft #fff7e8
+ bg-strong #f5e8d0
+ surface-strong #fdfaf2
+ text-strong #000000
+ brand-strong #db2777
+ brand-soft #fce7f3
+ brand-faint #fdf2f8
+ accent #fbbf24
+ accent-strong #f59e0b
+ accent-soft #fef3c7
+ selected #fce7f3
+ disabled-bg #f5e8d0
+ disabled-text #9a9a9a
+ border-strong #15151b33
+ divider #15151b14
+ inverse-bg #15151b
+ inverse-text #fbf0df
+ inverse-text-muted #a1a1aa
+ shadow-warm rgba(21, 21, 27, 0.08)
+ shadow-pink rgba(244, 114, 182, 0.18)
+ success-bg #dcfce7
+ success-border #86efac
+ warning-bg #fef3c7
+ warning-border #fbbf24
+ danger-bg #fee2e2
+ danger-border #fca5a5
+ info-bg #fce7f3
+ info-border #f9a8d4
+ on-accent #15151b
bg-secondary #f0efed
text-soft #3d3d3d
brand-hover #000000
selected-bg #0000000d
disabled #9a9a9a
border-soft rgba(0, 0, 0, 0.12)
input-bg rgba(0, 0, 0, 0.031)
input-bg-hover rgba(0, 0, 0, 0.051)
typography 5 changed
~ display {"family":"nbInternational","size":72} {"family":"CoFo Sans","size":96}
~ h1 {"family":"nbInternational","size":36} {"family":"CoFo Sans","size":52}
~ h2 {"family":"nbInternational","size":20} {"family":"CoFo Sans","size":40}
~ body {"family":"stkBureauSerif","size":16} {"family":"Inter","size":17}
~ label {"family":"SFMono-Regular","size":13} {"family":"Berkeley Mono","size":11}
radius 3 changed
~ button 0px 6px
~ card 0px 12px
~ pill 0px 9999px
spacing 3 changed
~ xs 0px 2px
~ lg 32px 24px
~ xl 64px 40px
↻ Swap direction · Bun → Cognition