The Guardian vs shadcn/ui
88 token-level differences between these two design systems.
Background
#ffffff → #ffffff Text
#121212 → #0a0a0a Brand
#052962 → #0a0a0a Border
#dcdcdc → #e4e4e7 Display font
GuardianEgyp → Geist Body size
17px → 16px colors 76 changed
~
surface #ffffff → #fafafa ~
surface-strong #dcdcdc → #f4f4f5 ~
text #121212 → #0a0a0a ~
text-muted #707070 → #71717a ~
text-faint #bbbbbb → #a1a1aa ~
brand #052962 → #0a0a0a ~
link #052962 → #0a0a0a ~
link-hover #0c4ea0 → #3f3f46 ~
on-brand #ffffff → #fafafa ~
border #dcdcdc → #e4e4e7 ~
border-soft #ebebeb → #f4f4f5 ~
border-strong #999999 → #d4d4d8 ~
success #1a7f37 → #10b981 ~
warning #ff7f0f → #f59e0b ~
info #052962 → #3b82f6 +
surface-muted #f4f4f5 +
surface-accent #f4f4f5 +
surface-elevated #ffffff +
text-secondary #3f3f46 +
brand-hover #1a1a1a +
brand-active #27272a +
destructive #ef4444 +
destructive-hover #dc2626 +
destructive-foreground #fafafa +
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) +
chart-1 #e76e50 +
chart-2 #2a9d90 +
chart-3 #274754 +
chart-4 #e8c468 +
chart-5 #f4a462 −
bg-section-news #ffffff −
bg-section-opinion #f6f6f6 −
bg-section-longread #fff4e2 −
bg-section-sport #fff4f2 −
bg-section-culture #fdf0e9 −
bg-section-lifestyle #fbeee7 −
bg-dark #1a1a1a −
surface-soft #f6f6f6 −
surface-quote #fff4e2 −
text-soft #999999 −
brand-light #0c4ea0 −
brand-dark #041c46 −
brand-red #c70000 −
brand-red-hover #a30000 −
brand-yellow #ffe500 −
brand-orange #ff7f0f −
brand-pink #ed145b −
brand-blue-sport #0084c6 −
brand-green-environment #509e2f −
brand-purple-lifestyle #7d0068 −
link-visited #5a5a5a −
on-brand-yellow #121212 −
on-brand-red #ffffff −
border-rule #052962 −
shadow-card rgba(0,0,0,0.04) −
shadow-elev rgba(0,0,0,0.08) −
shadow-modal rgba(0,0,0,0.18) −
scrim rgba(0,0,0,0.5) −
success-soft #e3f2e7 −
warning-soft #fff0db −
danger #c70000 −
danger-soft #fde2e2 −
info-soft #e3eaf2 −
live-red #c70000 −
live-pulse #ff3333 −
pillar-news #bb3a3c −
pillar-opinion #e05e00 −
pillar-sport #0084c6 −
pillar-culture #ab0613 −
pillar-lifestyle #bb3b80 typography 5 changed
~
display {"family":"GuardianEgyp","size":72} → {"family":"Geist","size":56} ~
h1 {"family":"GuardianEgyp","size":26} → {"family":"Geist","size":40} ~
h2 {"family":"GuardianEgyp","size":22} → {"family":"Geist","size":32} ~
body {"family":"GuardianTextEgyptian","size":17} → {"family":"Geist","size":16} ~
label {"family":"Courier New","size":11} → {"family":"Geist Mono","size":14} radius 2 changed
~
button 9999px → 8px ~
card 14px → 12px spacing 5 changed
~
xs 2px → 4px ~
sm 4px → 8px ~
md 12px → 16px ~
lg 24px → 32px ~
xl 40px → 48px