@kth/style 0.18.5 → 0.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/fonts.css +4 -0
- package/package.json +1 -1
package/assets/fonts.css
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
src: url("figtree.woff2") format("woff2-variations");
|
|
4
4
|
font-weight: 100 900;
|
|
5
5
|
font-style: normal;
|
|
6
|
+
/* Text is displayed directly and the font face is displayed as soon as it is downloaded and ready to use */
|
|
7
|
+
font-display: swap;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
@font-face {
|
|
@@ -10,4 +12,6 @@
|
|
|
10
12
|
src: url("figtree-italic.woff2") format("woff2-variations");
|
|
11
13
|
font-weight: 100 900;
|
|
12
14
|
font-style: italic;
|
|
15
|
+
/* Text is displayed directly and the font face is displayed as soon as it is downloaded and ready to use */
|
|
16
|
+
font-display: swap;
|
|
13
17
|
}
|