Cognition vs Tailwind CSS
68 token-level differences between these two design systems.
Background
#f7f6f5 → #ffffff Text
#000000 → #0f172a Brand
#191919 → #06b6d4 Border
#000000 → #e2e8f0 Display font
nbInternational → Inter Variable Body size
16px → 16px colors 56 changed
~
bg #f7f6f5 → #ffffff ~
text #000000 → #0f172a ~
text-soft #3d3d3d → #475569 ~
text-faint #6b6b6b → #94a3b8 ~
text-muted #9a9a9a → #64748b ~
brand #191919 → #06b6d4 ~
brand-hover #000000 → #0891b2 ~
on-brand #f7f6f5 → #ffffff ~
link #000000 → #0891b2 ~
link-hover #191919 → #0e7490 ~
border #000000 → #e2e8f0 ~
border-soft rgba(0, 0, 0, 0.12) → #f1f5f9 +
bg-quiet #f8fafc +
bg-elev #f1f5f9 +
bg-elev-2 #e2e8f0 +
bg-tint #ecfeff +
bg-tint-2 #cffafe +
surface-2 #f8fafc +
text-quiet #cbd5e1 +
brand-active #0e7490 +
brand-soft #cffafe +
brand-soft-2 #ecfeff +
brand-deep #155e75 +
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-strong #cbd5e1 +
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-soft rgba(15,23,42,0.04) +
shadow-medium rgba(15,23,42,0.08) +
shadow-strong rgba(15,23,42,0.16) +
shadow-deep rgba(15,23,42,0.24) −
bg-secondary #f0efed −
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":"Inter Variable","size":96} ~
h1 {"family":"nbInternational","size":36} → {"family":"Inter Variable","size":56} ~
h2 {"family":"nbInternational","size":20} → {"family":"Inter Variable","size":36} ~
body {"family":"stkBureauSerif","size":16} → {"family":"Inter Variable","size":16} ~
label {"family":"SFMono-Regular","size":13} → {"family":"Fira Code Variable","size":12} radius 3 changed
~
button 0px → 8px ~
card 0px → 12px ~
pill 0px → 9999px spacing 4 changed
~
xs 0px → 4px ~
sm 4px → 8px ~
md 12px → 16px ~
xl 64px → 48px