choffmeister / roboto-fontface-bower

Bower package for the Roboto font-face
Apache License 2.0
153 stars 57 forks source link

Add font-display to css #63

Open DemigodCode opened 3 years ago

DemigodCode commented 3 years ago

Set font-display to swap, to minimize blocking time while loading font. https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display

DemigodCode commented 3 years ago

Another option would be to set a variable to set font-display. It's a backwards compatibility issue.