Diff

Cognition vs Storybook

53 token-level differences between these two design systems.

Role tokens
Background
#f7f6f5 #ffffff
Text
#000000 #000000
Brand
#191919 #ff4785
Border
#000000 #e5e7eb
Display font
nbInternational Nunito Sans
Body size
16px 16px
colors 45 changed
~ bg #f7f6f5 #ffffff
~ text-faint #6b6b6b #9aa5ad
~ brand #191919 #ff4785
~ brand-hover #000000 #e63a73
~ on-brand #f7f6f5 #ffffff
~ link #000000 #ff4785
~ link-hover #191919 #e63a73
~ border #000000 #e5e7eb
~ border-soft rgba(0, 0, 0, 0.12) #f1f3f5
+ bg-elev #f8f9fa
+ bg-deeper #f1f3f5
+ surface-ink #0d1026
+ text-secondary #454545
+ text-tertiary #73828c
+ text-on-ink #ffffff
+ text-on-ink-soft #b0b8c0
+ brand-deep #cc3066
+ brand-soft rgba(255, 71, 133, 0.10)
+ brand-tint rgba(255, 71, 133, 0.06)
+ cta-bg #ffffff
+ cta-text #000000
+ cta-bg-brand #ff4785
+ cta-text-brand #ffffff
+ border-strong #cdd2d6
+ focus #ff4785
+ success #66bf3c
+ success-soft rgba(102, 191, 60, 0.10)
+ warning #e69d00
+ warning-soft rgba(230, 157, 0, 0.10)
+ danger #ff4400
+ danger-soft rgba(255, 68, 0, 0.10)
+ info #1ea7fd
+ info-soft rgba(30, 167, 253, 0.10)
bg-secondary #f0efed
text-soft #3d3d3d
text-muted #9a9a9a
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":"Nunito Sans","size":80}
~ h1 {"family":"nbInternational","size":36} {"family":"Nunito Sans","size":40}
~ h2 {"family":"nbInternational","size":20} {"family":"Nunito Sans","size":32}
~ body {"family":"stkBureauSerif","size":16} {"family":"Nunito Sans","size":16}
~ label {"family":"SFMono-Regular","size":13} {"family":"Operator Mono","size":13}
radius 3 changed
~ button 0px 8px
~ card 0px 12px
~ pill 0px 9999px
spacing identical
No differences.
↻ Swap direction · Storybook → Cognition