From 058e99d6775a9f1f310a7e192fb0bade8a1b6a9f Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 31 Jul 2020 12:10:31 -0500 Subject: [PATCH] Font display to prevent blocking --- themes/lyte/static/styles.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/lyte/static/styles.css b/themes/lyte/static/styles.css index 0cf98f2..9d4e83b 100644 --- a/themes/lyte/static/styles.css +++ b/themes/lyte/static/styles.css @@ -61,6 +61,7 @@ https://github.com/jonathantneal/system-font-css/blob/gh-pages/system-font.css * font-style: normal; font-weight: 300; src: url("/font/iosevka/ss07-regular.woff2"); + font-display: swap; } @font-face { @@ -68,6 +69,7 @@ https://github.com/jonathantneal/system-font-css/blob/gh-pages/system-font.css * font-style: italic; font-weight: 300; src: url("/font/iosevka/ss07-italic.woff2"); + font-display: swap; } @font-face { @@ -75,6 +77,7 @@ https://github.com/jonathantneal/system-font-css/blob/gh-pages/system-font.css * font-style: italic; font-weight: 500; src: url("/font/iosevka/ss07-bold-italic.woff2"); + font-display: swap; } *,*::before,*::after {