From 39812bc5d9f49454aad5498255da8c00b6645110 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 29 Apr 2021 18:11:24 +0200 Subject: Add font-display: swap --- assets/css/_fonts.scss | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'assets/css/_fonts.scss') diff --git a/assets/css/_fonts.scss b/assets/css/_fonts.scss index e278abe..1a1e72a 100644 --- a/assets/css/_fonts.scss +++ b/assets/css/_fonts.scss @@ -1,20 +1,23 @@ @font-face { - font-family: 'IBM Plex Sans'; - font-style: normal; - font-weight: normal; - src: url('/IBMPlexSans-Regular.woff2') format('woff2'); + font-family: 'IBM Plex Sans'; + font-style: normal; + font-weight: normal; + font-display: swap; + src: url('/IBMPlexSans-Regular.woff2') format('woff2'); } @font-face { - font-family: 'IBM Plex Sans'; - font-style: normal; - font-weight: bold; - src: url('/IBMPlexSans-Bold.woff2') format('woff2'); + font-family: 'IBM Plex Sans'; + font-style: normal; + font-weight: bold; + font-display: swap; + src: url('/IBMPlexSans-Bold.woff2') format('woff2'); } @font-face { - font-family: 'Garet'; - font-style: normal; - font-weight: 50 950; - src: url('/GaretVariable.woff2') format('woff2-variations'); + font-family: 'Garet'; + font-style: normal; + font-weight: 50 950; + font-display: swap; + src: url('/GaretVariable.woff2') format('woff2-variations'); } -- cgit v1.2.3-54-g00ecf