Diff

Cognition vs Klarna

55 token-level differences between these two design systems.

Role tokens
Background
#f7f6f5 #ffffff
Text
#000000 #0b051d
Brand
#191919 #ffa8cd
Border
#000000 #e4e2e8
Display font
nbInternational Klarna Title
Body size
16px 16px
colors 45 changed
~ bg #f7f6f5 #ffffff
~ surface #ffffff #0b051d
~ text #000000 #0b051d
~ text-muted #9a9a9a #4a4458
~ brand #191919 #ffa8cd
~ on-brand #f7f6f5 #0b051d
~ link #000000 #0b051d
~ link-hover #191919 #eb6f9e
~ border #000000 #e4e2e8
+ bg-soft #f7f7f8
+ bg-pink-wash #fff0f6
+ surface-card #0b051d
+ surface-light #ffffff
+ text-on-dark #ffffff
+ text-subtle #76707f
+ brand-strong #ffb3c7
+ brand-deep #eb6f9e
+ brand-soft #ffe2ee
+ cta-dark #0b051d
+ cta-dark-hover #1c1430
+ on-cta-dark #ffffff
+ border-strong #0b051d
+ border-pink #ffa8cd
+ semantic-success #1f8a4c
+ semantic-warning #b8740f
+ semantic-danger #d23c3c
+ semantic-info #0b051d
+ focus-ring #0b051d
+ shadow-ambient rgba(11, 5, 29, 0.06)
+ shadow-soft rgba(11, 5, 29, 0.10)
+ shadow-strong rgba(11, 5, 29, 0.16)
bg-secondary #f0efed
text-soft #3d3d3d
text-faint #6b6b6b
brand-hover #000000
selected-bg #0000000d
disabled #9a9a9a
border-soft rgba(0, 0, 0, 0.12)
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 4 changed
~ display {"family":"nbInternational","size":72} {"family":"Klarna Title","size":96}
~ h1 {"family":"nbInternational","size":36} {"family":"Klarna Title","size":56}
~ h2 {"family":"nbInternational","size":20} {"family":"Klarna Title","size":40}
~ body {"family":"stkBureauSerif","size":16} {"family":"Klarna Title","size":16}
radius 3 changed
~ button 0px 8px
~ card 0px 24px
~ pill 0px 9999px
spacing 3 changed
~ xs 0px 4px
~ sm 4px 8px
~ md 12px 16px
↻ Swap direction · Klarna → Cognition