hi5dev / google-webfonts

Provides a helper for using Google Webfonts in a Rails application.
MIT License
28 stars 16 forks source link

font-display support #12

Open AlecRust opened 5 years ago

AlecRust commented 5 years ago

Google Fonts now supports font-display (info).

In fact it's included in the default <link> if you copy it from Google Fonts e.g.

<link href="https://fonts.googleapis.com/css?family=Livvic&display=swap" rel="stylesheet">

Would be great if this gem had support for setting this to improve performance.