Sourcegraph vs Klarna
51 token-level differences between these two design systems.
Background
#1a1817 → #ffffff Text
#ededed → #0b051d Brand
#f34e3f → #ffa8cd Border
#34302d → #e4e2e8 Display font
PolySans → Klarna Title Body size
16px → 16px colors 44 changed
~
bg #1a1817 → #ffffff ~
bg-soft #211f1d → #f7f7f8 ~
surface #222222 → #0b051d ~
text #ededed → #0b051d ~
text-muted #a0a0a0 → #4a4458 ~
brand #f34e3f → #ffa8cd ~
brand-soft rgba(243, 78, 63, 0.12) → #ffe2ee ~
on-brand #ffffff → #0b051d ~
link #f34e3f → #0b051d ~
link-hover #ff6354 → #eb6f9e ~
border #34302d → #e4e2e8 ~
border-strong #48433f → #0b051d ~
focus-ring #f34e3f → #0b051d ~
semantic-success #4ec77f → #1f8a4c ~
semantic-warning #e0a64b → #b8740f ~
semantic-danger #f34e3f → #d23c3c ~
semantic-info #5aa9f0 → #0b051d +
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) −
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) typography 4 changed
~
display {"family":"PolySans","size":80} → {"family":"Klarna Title","size":96} ~
h1 {"family":"PolySans","size":48} → {"family":"Klarna Title","size":56} ~
h2 {"family":"PolySans","size":36} → {"family":"Klarna Title","size":40} ~
body {"family":"PolySans","size":16} → {"family":"Klarna Title","size":16} radius identical
No differences.
spacing 3 changed
~
xs 0px → 4px ~
sm 4px → 8px ~
md 12px → 16px