diff options
author | Volpeon <git@volpeon.ink> | 2021-04-29 18:11:24 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-04-29 18:11:24 +0200 |
commit | 39812bc5d9f49454aad5498255da8c00b6645110 (patch) | |
tree | d9a0c93694818eb68c8f1e824bacc98acdc06e18 /assets/css | |
parent | Update (diff) | |
download | volpeon.ink-39812bc5d9f49454aad5498255da8c00b6645110.tar.gz volpeon.ink-39812bc5d9f49454aad5498255da8c00b6645110.tar.bz2 volpeon.ink-39812bc5d9f49454aad5498255da8c00b6645110.zip |
Add font-display: swap
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/_fonts.scss | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/assets/css/_fonts.scss b/assets/css/_fonts.scss index e278abe..1a1e72a 100644 --- a/assets/css/_fonts.scss +++ b/assets/css/_fonts.scss | |||
@@ -1,20 +1,23 @@ | |||
1 | @font-face { | 1 | @font-face { |
2 | font-family: 'IBM Plex Sans'; | 2 | font-family: 'IBM Plex Sans'; |
3 | font-style: normal; | 3 | font-style: normal; |
4 | font-weight: normal; | 4 | font-weight: normal; |
5 | src: url('/IBMPlexSans-Regular.woff2') format('woff2'); | 5 | font-display: swap; |
6 | src: url('/IBMPlexSans-Regular.woff2') format('woff2'); | ||
6 | } | 7 | } |
7 | 8 | ||
8 | @font-face { | 9 | @font-face { |
9 | font-family: 'IBM Plex Sans'; | 10 | font-family: 'IBM Plex Sans'; |
10 | font-style: normal; | 11 | font-style: normal; |
11 | font-weight: bold; | 12 | font-weight: bold; |
12 | src: url('/IBMPlexSans-Bold.woff2') format('woff2'); | 13 | font-display: swap; |
14 | src: url('/IBMPlexSans-Bold.woff2') format('woff2'); | ||
13 | } | 15 | } |
14 | 16 | ||
15 | @font-face { | 17 | @font-face { |
16 | font-family: 'Garet'; | 18 | font-family: 'Garet'; |
17 | font-style: normal; | 19 | font-style: normal; |
18 | font-weight: 50 950; | 20 | font-weight: 50 950; |
19 | src: url('/GaretVariable.woff2') format('woff2-variations'); | 21 | font-display: swap; |
22 | src: url('/GaretVariable.woff2') format('woff2-variations'); | ||
20 | } | 23 | } |