diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-19 10:35:16 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-19 10:35:16 +0100 |
commit | 2656729e25ba438d3f80f5178a430b2c54339bb3 (patch) | |
tree | b7700d8b90dc0ae63b02e6db910f5a3243c64657 | |
parent | 9f39c5466ea643bc46bc4d4751ce09cb05b6c762 (diff) | |
download | PeerTube-2656729e25ba438d3f80f5178a430b2c54339bb3.tar.gz PeerTube-2656729e25ba438d3f80f5178a430b2c54339bb3.tar.zst PeerTube-2656729e25ba438d3f80f5178a430b2c54339bb3.zip |
Add font display swap
-rw-r--r-- | client/src/sass/include/_fonts.scss | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/sass/include/_fonts.scss b/client/src/sass/include/_fonts.scss index be1132160..6313736e0 100644 --- a/client/src/sass/include/_fonts.scss +++ b/client/src/sass/include/_fonts.scss | |||
@@ -3,6 +3,7 @@ | |||
3 | font-weight: 200 900; | 3 | font-weight: 200 900; |
4 | font-style: normal; | 4 | font-style: normal; |
5 | font-stretch: normal; | 5 | font-stretch: normal; |
6 | font-display: swap; | ||
6 | src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2') format('woff2'); | 7 | src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2') format('woff2'); |
7 | } | 8 | } |
8 | 9 | ||
@@ -11,5 +12,6 @@ | |||
11 | font-weight: 200 900; | 12 | font-weight: 200 900; |
12 | font-style: italic; | 13 | font-style: italic; |
13 | font-stretch: normal; | 14 | font-stretch: normal; |
15 | font-display: swap; | ||
14 | src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2') format('woff2'); | 16 | src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2') format('woff2'); |
15 | } | 17 | } |