From daa56f4b136715393eb5d969354847c66c57c598 Mon Sep 17 00:00:00 2001 From: Sascha Moser <28950736+xopez@users.noreply.github.com> Date: Mon, 1 Feb 2021 09:09:20 +0100 Subject: [PATCH] Add display swap (#179) We should ensure that the text remains visible during webfont load. Further link: https://web.dev/font-display/ This should be also done for font awesome but I didn't find a way to make it with the load of the font. Maybe we should place this in CSS. --- src/css/themes/dark.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/css/themes/dark.css b/src/css/themes/dark.css index fa75eec..89e5869 100644 --- a/src/css/themes/dark.css +++ b/src/css/themes/dark.css @@ -4,7 +4,7 @@ * (c) Wruczek 2017 - 2019 */ -@import url('https://fonts.googleapis.com/css?family=Exo+2'); +@import url('https://fonts.googleapis.com/css?family=Exo+2&display=swap'); :root { --site-background: #1e202f;