Diff

Tailwind CSS vs Cognition

68 token-level differences between these two design systems.

Role tokens
Background
#ffffff #f7f6f5
Text
#0f172a #000000
Brand
#06b6d4 #191919
Border
#e2e8f0 #000000
Display font
Inter Variable nbInternational
Body size
16px 16px
colors 56 changed
~ bg #ffffff #f7f6f5
~ text #0f172a #000000
~ text-soft #475569 #3d3d3d
~ text-muted #64748b #9a9a9a
~ text-faint #94a3b8 #6b6b6b
~ brand #06b6d4 #191919
~ brand-hover #0891b2 #000000
~ border #e2e8f0 #000000
~ border-soft #f1f5f9 rgba(0, 0, 0, 0.12)
~ link #0891b2 #000000
~ link-hover #0e7490 #191919
~ on-brand #ffffff #f7f6f5
+ 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
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)
typography 5 changed
~ display {"family":"Inter Variable","size":96} {"family":"nbInternational","size":72}
~ h1 {"family":"Inter Variable","size":56} {"family":"nbInternational","size":36}
~ h2 {"family":"Inter Variable","size":36} {"family":"nbInternational","size":20}
~ body {"family":"Inter Variable","size":16} {"family":"stkBureauSerif","size":16}
~ label {"family":"Fira Code Variable","size":12} {"family":"SFMono-Regular","size":13}
radius 3 changed
~ button 8px 0px
~ card 12px 0px
~ pill 9999px 0px
spacing 4 changed
~ xs 4px 0px
~ sm 8px 4px
~ md 16px 12px
~ xl 48px 64px
↻ Swap direction · Cognition → Tailwind CSS