diff options
-rw-r--r-- | client/src/sass/include/_fonts.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/sass/include/_fonts.scss b/client/src/sass/include/_fonts.scss index d4694a747..46cd37971 100644 --- a/client/src/sass/include/_fonts.scss +++ b/client/src/sass/include/_fonts.scss | |||
@@ -5,6 +5,7 @@ $FontPathSourceSansPro: '~npm-font-source-sans-pro/fonts'; | |||
5 | font-weight: 400; | 5 | font-weight: 400; |
6 | font-style: normal; | 6 | font-style: normal; |
7 | font-stretch: normal; | 7 | font-stretch: normal; |
8 | font-display: swap; | ||
8 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Regular.ttf.woff2') format('woff2'), | 9 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Regular.ttf.woff2') format('woff2'), |
9 | } | 10 | } |
10 | 11 | ||
@@ -13,6 +14,7 @@ $FontPathSourceSansPro: '~npm-font-source-sans-pro/fonts'; | |||
13 | font-weight: 400; | 14 | font-weight: 400; |
14 | font-style: italic; | 15 | font-style: italic; |
15 | font-stretch: normal; | 16 | font-stretch: normal; |
17 | font-display: swap; | ||
16 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-It.ttf.woff2') format('woff2'), | 18 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-It.ttf.woff2') format('woff2'), |
17 | } | 19 | } |
18 | 20 | ||
@@ -21,6 +23,7 @@ $FontPathSourceSansPro: '~npm-font-source-sans-pro/fonts'; | |||
21 | font-weight: 600; | 23 | font-weight: 600; |
22 | font-style: normal; | 24 | font-style: normal; |
23 | font-stretch: normal; | 25 | font-stretch: normal; |
26 | font-display: swap; | ||
24 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Semibold.ttf.woff2') format('woff2'), | 27 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Semibold.ttf.woff2') format('woff2'), |
25 | } | 28 | } |
26 | 29 | ||
@@ -29,6 +32,7 @@ $FontPathSourceSansPro: '~npm-font-source-sans-pro/fonts'; | |||
29 | font-weight: 600; | 32 | font-weight: 600; |
30 | font-style: italic; | 33 | font-style: italic; |
31 | font-stretch: normal; | 34 | font-stretch: normal; |
35 | font-display: swap; | ||
32 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-SemiboldIt.ttf.woff2') format('woff2'), | 36 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-SemiboldIt.ttf.woff2') format('woff2'), |
33 | } | 37 | } |
34 | 38 | ||
@@ -37,5 +41,6 @@ $FontPathSourceSansPro: '~npm-font-source-sans-pro/fonts'; | |||
37 | font-weight: 700; | 41 | font-weight: 700; |
38 | font-style: normal; | 42 | font-style: normal; |
39 | font-stretch: normal; | 43 | font-stretch: normal; |
44 | font-display: swap; | ||
40 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Bold.ttf.woff2') format('woff2'), | 45 | src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Bold.ttf.woff2') format('woff2'), |
41 | } \ No newline at end of file | 46 | } \ No newline at end of file |