Cognition vs shadcn/ui
61 token-level differences between these two design systems.
Background
#f7f6f5 → #ffffff Text
#000000 → #0a0a0a Brand
#191919 → #0a0a0a Border
#000000 → #e4e4e7 Display font
nbInternational → Geist Body size
16px → 16px colors 49 changed
~
bg #f7f6f5 → #ffffff ~
surface #ffffff → #fafafa ~
text #000000 → #0a0a0a ~
text-faint #6b6b6b → #a1a1aa ~
text-muted #9a9a9a → #71717a ~
brand #191919 → #0a0a0a ~
brand-hover #000000 → #1a1a1a ~
on-brand #f7f6f5 → #fafafa ~
link #000000 → #0a0a0a ~
link-hover #191919 → #3f3f46 ~
border #000000 → #e4e4e7 ~
border-soft rgba(0, 0, 0, 0.12) → #f4f4f5 +
surface-strong #f4f4f5 +
surface-muted #f4f4f5 +
surface-accent #f4f4f5 +
surface-elevated #ffffff +
text-strong #000000 +
text-secondary #3f3f46 +
brand-active #27272a +
destructive #ef4444 +
destructive-hover #dc2626 +
destructive-foreground #fafafa +
border-strong #d4d4d8 +
input #e4e4e7 +
input-border #e4e4e7 +
ring #0a0a0a +
selection-bg rgba(10, 10, 10, 0.1) +
shadow-color rgba(0, 0, 0, 0.05) +
shadow-color-md rgba(0, 0, 0, 0.1) +
shadow-color-lg rgba(0, 0, 0, 0.15) +
success #10b981 +
warning #f59e0b +
info #3b82f6 +
chart-1 #e76e50 +
chart-2 #2a9d90 +
chart-3 #274754 +
chart-4 #e8c468 +
chart-5 #f4a462 −
bg-secondary #f0efed −
text-soft #3d3d3d −
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":"Geist","size":56} ~
h1 {"family":"nbInternational","size":36} → {"family":"Geist","size":40} ~
h2 {"family":"nbInternational","size":20} → {"family":"Geist","size":32} ~
body {"family":"stkBureauSerif","size":16} → {"family":"Geist","size":16} ~
label {"family":"SFMono-Regular","size":13} → {"family":"Geist Mono","size":14} 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