From 17371cc9659bb580c5fd7b81801ba5d2f7fb68a0 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Fri, 15 Dec 2023 12:15:01 +0000 Subject: [PATCH] Switch to font-display swap --- apps/frontend/static_src/scss/typography.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/frontend/static_src/scss/typography.scss b/apps/frontend/static_src/scss/typography.scss index cccdff07..2eac1200 100644 --- a/apps/frontend/static_src/scss/typography.scss +++ b/apps/frontend/static_src/scss/typography.scss @@ -2,11 +2,12 @@ font-family: 'Kumbh Sans'; src: url('../fonts/KumbhSans-Regular.woff2') format('woff2'); font-weight: 400; - font-display: block; + font-display: swap; } @font-face { font-family: 'Kumbh Sans'; src: url('../fonts/KumbhSans-Bold.woff2') format('woff2'); font-weight: 700; + font-display: swap; }