I Was Shipping Five Font Files. One Variable Font Replaced Them All.
DEV Community
I Was Shipping Five Font Files. One Variable Font Replaced Them All.
Regular, Medium, Semibold, Bold, Bold Italic — five @font-face blocks, five network requests, just to render a design system's type scale. A single variable font file replaces all of them, and it's been supported everywhere since 2018.
0 comments
No comments yet.