Skip to content

Commit 340e3c1

Browse files
dogiMutugiii
andauthored
all: smoother custom fonts swapping (fixes #9178) (#9154)
Co-authored-by: mutugiii <[email protected]>
1 parent 1ae6fd3 commit 340e3c1

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@
300300
"cli": {
301301
"schematicCollections": [
302302
"@angular-eslint/schematics"
303-
]
303+
],
304+
"analytics": false
304305
}
305306
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "planet",
33
"license": "AGPL-3.0",
4-
"version": "0.20.38",
4+
"version": "0.20.39",
55
"myplanet": {
6-
"latest": "v0.33.38",
7-
"min": "v0.32.38"
6+
"latest": "v0.33.52",
7+
"min": "v0.32.52"
88
},
99
"scripts": {
1010
"ng": "ng",

src/styles/_mixins.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@mixin fontdef-woff($FontPath, $FontName, $FontVersion:"1.0.0", $FontType:"Regular") {
2-
src: url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.woff2') format('woff2'),
2+
src: url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.woff2') format('woff2'),
33
url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.woff') format('woff');
4+
font-display: swap;
45
}

0 commit comments

Comments
 (0)