shadcn/ui vs Cognition
61 token-level differences between these two design systems.
Background
#ffffff → #f7f6f5 Text
#0a0a0a → #000000 Brand
#0a0a0a → #191919 Border
#e4e4e7 → #000000 Display font
Geist → nbInternational Body size
16px → 16px colors 49 changed
~
bg #ffffff → #f7f6f5 ~
surface #fafafa → #ffffff ~
text #0a0a0a → #000000 ~
text-muted #71717a → #9a9a9a ~
text-faint #a1a1aa → #6b6b6b ~
brand #0a0a0a → #191919 ~
brand-hover #1a1a1a → #000000 ~
on-brand #fafafa → #f7f6f5 ~
link #0a0a0a → #000000 ~
link-hover #3f3f46 → #191919 ~
border #e4e4e7 → #000000 ~
border-soft #f4f4f5 → rgba(0, 0, 0, 0.12) +
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 −
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 typography 5 changed
~
display {"family":"Geist","size":56} → {"family":"nbInternational","size":72} ~
h1 {"family":"Geist","size":40} → {"family":"nbInternational","size":36} ~
h2 {"family":"Geist","size":32} → {"family":"nbInternational","size":20} ~
body {"family":"Geist","size":16} → {"family":"stkBureauSerif","size":16} ~
label {"family":"Geist Mono","size":14} → {"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