Klarna vs Tailwind CSS
70 token-level differences between these two design systems.
Background
#ffffff → #ffffff Text
#0b051d → #0f172a Brand
#ffa8cd → #06b6d4 Border
#e4e2e8 → #e2e8f0 Display font
Klarna Title → Inter Variable Body size
16px → 16px colors 63 changed
~
surface #0b051d → #ffffff ~
text #0b051d → #0f172a ~
text-muted #4a4458 → #64748b ~
brand #ffa8cd → #06b6d4 ~
brand-deep #eb6f9e → #155e75 ~
brand-soft #ffe2ee → #cffafe ~
on-brand #0b051d → #ffffff ~
link #0b051d → #0891b2 ~
link-hover #eb6f9e → #0e7490 ~
border #e4e2e8 → #e2e8f0 ~
border-strong #0b051d → #cbd5e1 ~
shadow-soft rgba(11, 5, 29, 0.10) → rgba(15,23,42,0.04) ~
shadow-strong rgba(11, 5, 29, 0.16) → rgba(15,23,42,0.16) +
bg-quiet #f8fafc +
bg-elev #f1f5f9 +
bg-elev-2 #e2e8f0 +
bg-tint #ecfeff +
bg-tint-2 #cffafe +
surface-2 #f8fafc +
text-soft #475569 +
text-faint #94a3b8 +
text-quiet #cbd5e1 +
brand-hover #0891b2 +
brand-active #0e7490 +
brand-soft-2 #ecfeff +
brand-bright #22d3ee +
accent-sky #0ea5e9 +
accent-sky-soft #e0f2fe +
accent-blue #3b82f6 +
accent-violet #8b5cf6 +
accent-pink #ec4899 +
accent-emerald #10b981 +
accent-amber #f59e0b +
accent-rose #f43f5e +
border-soft #f1f5f9 +
border-brand #06b6d4 +
code-bg #0f172a +
code-bg-light #1e293b +
code-text #e2e8f0 +
code-keyword #22d3ee +
code-string #86efac +
code-attribute #fbbf24 +
code-comment #64748b +
code-tag #f87171 +
shadow-medium rgba(15,23,42,0.08) +
shadow-deep rgba(15,23,42,0.24) −
bg-soft #f7f7f8 −
bg-pink-wash #fff0f6 −
surface-card #0b051d −
surface-light #ffffff −
text-on-dark #ffffff −
text-subtle #76707f −
brand-strong #ffb3c7 −
cta-dark #0b051d −
cta-dark-hover #1c1430 −
on-cta-dark #ffffff −
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) typography 5 changed
~
display {"family":"Klarna Title","size":96} → {"family":"Inter Variable","size":96} ~
h1 {"family":"Klarna Title","size":56} → {"family":"Inter Variable","size":56} ~
h2 {"family":"Klarna Title","size":40} → {"family":"Inter Variable","size":36} ~
body {"family":"Klarna Title","size":16} → {"family":"Inter Variable","size":16} ~
label {"family":"SFMono-Regular","size":13} → {"family":"Fira Code Variable","size":12} radius 1 changed
~
card 24px → 12px spacing 1 changed
~
xl 64px → 48px