Discover

github.com vs huggingface.co

Two design systems side by side, measured from the live sites — colour, type, shape, depth, components, states and responsive behaviour.

github.com
github.com· read 2026-08-09

Worth knowing

  • Neither side has named colour roles, so both predate role-based extraction. Re-generating either one fills in the palette comparison.
  • Interaction states are missing on at least one side — that site's stylesheets were cross-origin and could not be read.

Ground and ink

Each side painted in its own measured canvas, ink, muted and primary roles.

github.com

No colour roles measured on this side, so there is no ground to paint. The palette below is still real; re-extracting the site fills this in.

huggingface.co

No colour roles measured on this side, so there is no ground to paint. The palette below is still real; re-extracting the site fills this in.

Palette

Named roles first, then every colour measured without one.

github.com

No named roles measured.

16 more, no measured role

huggingface.co

No named roles measured.

3 more, no measured role

Type scale

Set at the measured size, weight, tracking and leading. Brand typefaces are not loaded, so the metrics are real and the letterforms are not.

github.com

h1

64px · 425 · shown smaller

h1

64px · 800 · shown smaller

h1

56px · 440 · shown smaller

h3

40px · 460 · shown smaller

body

28px · 480

h2

24px · 600

h3

22px · 480

huggingface.co

h1

72px · 700 · shown smaller

h1

48px · 700 · shown smaller

h2

36px · 700

h1

30px · 700

body

24px · 400

h1

24px · 600

h3

20px · 600

Corners

Drawn at the measured radii.

github.com

6px

8px

12px

60px

16px

16px

huggingface.co

8px

pill

16px

2px

4px

6px

Spacing

One shared scale across both sides, so the bars are directly comparable.

github.com

4
8
12
16
20
24
32
40

huggingface.co

4
8
12
16
20
24
32
40

Depth

Shadows cast on each side's own ground.

github.com

sm

md

lg

xl

huggingface.co

sm

md

lg

xl

Buttons

Rendered from the measured computed styles.

github.com

default

huggingface.co

default

The measured values behind the panels above.

github.comhuggingface.co

At a glance

Corners — these differRoundedPill
Display size — these differ64px72px
Spacing base4px4px
Accent colours — these differ31
Type families22
Components55

Full palette

Every colour each extraction kept, including the ones with no measured role.

All colours — these differ#0000#010409#58635B#1F2328#FFF0#25292E#59636E#656C76#000000#FFFFFF#F0F6FC#D1D9E0#9198A1#D2D9D4#CF222E#D29922#0B0F19#000000#FFFFFF
Semantic — these differError/Danger #CF222EWarning #D29922

Typography

Families — these differMona Sans VFMona SansSource Sans ProIBM Plex Mono
h1 — these differ56px · 440 · 61.6px · Mona Sans48px · 700 · 48px · Source Sans Pro
h2 — these differ24px · 600 · 36px · Mona Sans VF18px · 600 · 28px · Source Sans Pro
h3 — these differ22px · 480 · 30.8px · Mona Sans20px · 600 · 28px · Source Sans Pro
body — these differ18px · 400 · 27px · Mona Sans18px · 400 · 28px · Source Sans Pro
button16px · 400 · 24px · Mona Sans VF
label16px · 400 · 24px · Mona Sans
link16px · 400 · 24px · Source Sans Pro
span — these differ14px · 400 · 21px · Mona Sans VF18px · 700 · 28px · Source Sans Pro
h4 — these differ14px · 600 · 21px · Mona Sans14px · 400 · 20px · IBM Plex Mono

Shape and rhythm

Radius — these differ6px8px12px16px 0px 0px16px60px2px4px6px8px16px9999px
Spacing — these differ4px8px12px16px20px24px32px40px48px64px80px128px4px8px12px16px20px24px32px40px48px56px64px80px
Border widths — these differ1px2px1px

Depth

Strategy
Shadows — these differrgba(209, 217, 224, 0.25) 0px 0px 0px 1px, rgba(37, 41, 46, 0.04) 0px 6px 12px -3px, rgba(37, 41, 46, 0.12) 0px 6px 18px 0pxrgba(0, 0, 0, 0.01) 0px 100px 80px 0px, rgba(0, 0, 0, 0.02) 0px 41px 33px 0px, rgba(0, 0, 0, 0.02) 0px 22px 17px 0px, rgba(0, 0, 0, 0.03) 0px 12px 10px 0px, rgba(0, 0, 0, 0.04) 0px 6px 5px 0px, rgba(0, 0, 0, 0.07) 0px 2px 2px 0pxrgba(0, 0, 0, 0.15) 0px 0px 0px 1px insetrgba(209, 217, 224, 0) 0px 0px 0px 1px, rgba(37, 41, 46, 0.32) 0px 56px 112px 0pxrgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 2px 4px 0px insetrgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0pxrgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1pxrgba(0, 0, 0, 0.04) 0px 10px 20px 0px, rgba(0, 0, 0, 0.04) 0px 2px 6px 0px, rgba(0, 0, 0, 0.04) 0px 0px 1px 0px
Gradients
Opacity — these differ0.500.600.080.300.570.580.500.250.600.900.400.75
Z-index — these differbase 1base 2base 3dropdown 32dropdown 91dropdown 92dropdown 98dropdown 99base 1base 2base 5dropdown 10dropdown 20dropdown 40

Components

Sharedbuttoninputcardnavigationlinkbuttoninputcardnavigationlink
Only here
Signature

How this was measured

Differences here are ours, not the brands'.

Pages read66
Extracted2026-08-092026-08-09
Stylesheets
Roles unassigned

Measured by DesignMD from the live sites. Compare two others. Generate a DESIGN.md for your own site.