From 1a5efacf3a6fc23c1591ea0d2e567592279ccfde Mon Sep 17 00:00:00 2001 From: BorgTen Date: Mon, 11 Apr 2022 12:48:27 +0200 Subject: [PATCH] Update _font-roboto.scss MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit font-display: swap; hinzugefĆ¼gt, damit die Seiten beim Aufruf schneller dargestellt werden. Siehe auch https://web.dev/font-display/ --- src/sass/fonts/_font-roboto.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sass/fonts/_font-roboto.scss b/src/sass/fonts/_font-roboto.scss index 8f5934d..39fb3b1 100644 --- a/src/sass/fonts/_font-roboto.scss +++ b/src/sass/fonts/_font-roboto.scss @@ -13,6 +13,7 @@ url('./fonts/roboto/Roboto-Bold-webfont.svg#robotobold') format('svg'); font-weight: bold; font-style: normal; + font-display: swap; } @font-face { @@ -24,6 +25,7 @@ url('./fonts/roboto/Roboto-BoldItalic-webfont.svg#robotobold_italic') format('svg'); font-weight: bold; font-style: italic; + font-display: swap; } @font-face { @@ -35,6 +37,7 @@ url('./fonts/roboto/Roboto-Italic-webfont.svg#robotoitalic') format('svg'); font-weight: normal; font-style: italic; + font-display: swap; } @font-face { @@ -46,6 +49,7 @@ url('./fonts/roboto/Roboto-Regular-webfont.svg#robotoregular') format('svg'); font-weight: normal; font-style: normal; + font-display: swap; } @font-face { @@ -57,4 +61,5 @@ url('./fonts/roboto/Roboto-Light-webfont.svg#robotolight') format('svg'); font-weight: normal; font-style: normal; + font-display: swap; }