From 21377ff19f2ccf0df72c5cebc1c256d7c95c301c Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Tue, 13 Aug 2024 22:47:47 -0500 Subject: [PATCH] Ensure text visibility while fonts load --- public/css/webfonts/webfonts.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/css/webfonts/webfonts.css b/public/css/webfonts/webfonts.css index 981a581..e159953 100644 --- a/public/css/webfonts/webfonts.css +++ b/public/css/webfonts/webfonts.css @@ -1,16 +1,19 @@ @font-face { + font-display: swap; font-family: Manrope; font-style: normal; font-weight: 200 900; src: url(/css/webfonts/Manrope[wght].woff2) format("woff2"); } @font-face { + font-display: swap; font-family: Fraunces; font-style: normal; font-weight: 100 900; src: url(/css/webfonts/Fraunces[SOFT,WONK,opsz,wght].woff2) format("woff2"); } @font-face { + font-display: swap; font-family: Fraunces; font-style: italic; font-weight: 100 900;