Skip to content

Commit

Permalink
Update _font-roboto.scss
Browse files Browse the repository at this point in the history
font-display: swap; hinzugefügt, damit die Seiten beim Aufruf schneller dargestellt werden. Siehe auch https://web.dev/font-display/
  • Loading branch information
BorgTen authored Apr 11, 2022
1 parent d681faf commit 1a5efac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sass/fonts/_font-roboto.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -57,4 +61,5 @@
url('./fonts/roboto/Roboto-Light-webfont.svg#robotolight') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}

0 comments on commit 1a5efac

Please sign in to comment.