@fontsource/m-plus-2 4.5.3 → 4.5.4
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/package.json +1 -1
- package/scss/mixins.scss +7 -7
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@fontsource/m-plus-2","version":"4.5.
|
|
1
|
+
{"name":"@fontsource/m-plus-2","version":"4.5.4","description":"Self-host the M PLUS 2 font in a neatly bundled NPM package.","main":"index.css","publishConfig":{"access":"public"},"keywords":["fontsource","font","font family","google fonts","M PLUS 2","m-plus-2","css","sass","front-end","web","typeface"],"author":"Lotus <declininglotus@gmail.com>","license":"MIT","homepage":"https://github.com/fontsource/fontsource/tree/master/packages/m-plus-2#readme","repository":{"type":"git","url":"https://github.com/fontsource/fontsource.git","directory":"packages/m-plus-2"}}
|
package/scss/mixins.scss
CHANGED
|
@@ -62,17 +62,17 @@ $unicodeRangeValues: ();
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
$
|
|
66
|
-
$
|
|
65
|
+
$fontNameVariable: "M PLUS 2Variable";
|
|
66
|
+
$weightVariable: 100 900;
|
|
67
67
|
$type: "wghtOnly";
|
|
68
68
|
$stretch: null;
|
|
69
|
-
|
|
69
|
+
|
|
70
70
|
@mixin fontFaceVariable(
|
|
71
|
-
$fontName: $
|
|
71
|
+
$fontName: $fontNameVariable,
|
|
72
72
|
$fontId: $fontId,
|
|
73
73
|
$style: $style,
|
|
74
74
|
$display: $display,
|
|
75
|
-
$weight: $
|
|
75
|
+
$weight: $weightVariable,
|
|
76
76
|
$fontDir: $fontDir,
|
|
77
77
|
$type: $type,
|
|
78
78
|
$stretch: $stretch,
|
|
@@ -94,11 +94,11 @@ $stretch: null;
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
@mixin fontFaceVariableCustom(
|
|
97
|
-
$fontName: $
|
|
97
|
+
$fontName: $fontNameVariable,
|
|
98
98
|
$fontId: $fontId,
|
|
99
99
|
$style: $style,
|
|
100
100
|
$display: $display,
|
|
101
|
-
$weight: $
|
|
101
|
+
$weight: $weightVariable,
|
|
102
102
|
$woff2Path: null,
|
|
103
103
|
$unicodeRange: $unicodeRange,
|
|
104
104
|
$unicodeRangeValues: $unicodeRangeValues
|