Klarna vs Sourcegraph
51 token-level differences between these two design systems.
Background
#ffffff → #1a1817 Text
#0b051d → #ededed Brand
#ffa8cd → #f34e3f Border
#e4e2e8 → #34302d Display font
Klarna Title → PolySans Body size
16px → 16px colors 44 changed
~
bg #ffffff → #1a1817 ~
bg-soft #f7f7f8 → #211f1d ~
surface #0b051d → #222222 ~
text #0b051d → #ededed ~
text-muted #4a4458 → #a0a0a0 ~
brand #ffa8cd → #f34e3f ~
brand-soft #ffe2ee → rgba(243, 78, 63, 0.12) ~
on-brand #0b051d → #ffffff ~
link #0b051d → #f34e3f ~
link-hover #eb6f9e → #ff6354 ~
border #e4e2e8 → #34302d ~
border-strong #0b051d → #48433f ~
semantic-success #1f8a4c → #4ec77f ~
semantic-warning #b8740f → #e0a64b ~
semantic-danger #d23c3c → #f34e3f ~
semantic-info #0b051d → #5aa9f0 ~
focus-ring #0b051d → #f34e3f +
bg-elev #252321 +
surface-soft #1f1d1c +
surface-strong #2c2a28 +
text-strong #ffffff +
text-soft #b8b8b8 +
text-faint #7a7672 +
brand-hover #ff6354 +
brand-emphasis #d63b2d +
brand-soft-fg #ff7a6e +
border-soft #2a2724 +
diff-add-bg rgba(78, 199, 127, 0.14) +
diff-remove-bg rgba(243, 78, 63, 0.14) +
shadow-tint rgba(0, 0, 0, 0.55) −
bg-pink-wash #fff0f6 −
surface-card #0b051d −
surface-light #ffffff −
text-on-dark #ffffff −
text-subtle #76707f −
brand-strong #ffb3c7 −
brand-deep #eb6f9e −
cta-dark #0b051d −
cta-dark-hover #1c1430 −
on-cta-dark #ffffff −
border-pink #ffa8cd −
shadow-ambient rgba(11, 5, 29, 0.06) −
shadow-soft rgba(11, 5, 29, 0.10) −
shadow-strong rgba(11, 5, 29, 0.16) typography 4 changed
~
display {"family":"Klarna Title","size":96} → {"family":"PolySans","size":80} ~
h1 {"family":"Klarna Title","size":56} → {"family":"PolySans","size":48} ~
h2 {"family":"Klarna Title","size":40} → {"family":"PolySans","size":36} ~
body {"family":"Klarna Title","size":16} → {"family":"PolySans","size":16} radius identical
No differences.
spacing 3 changed
~
xs 4px → 0px ~
sm 8px → 4px ~
md 16px → 12px