@unocss/preset-web-fonts 65.4.3 → 65.5.0
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/dist/index.mjs +4 -4
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -83,9 +83,9 @@ function createFontSourceProvider(name, host) {
|
|
|
83
83
|
format: "woff2-variations"
|
|
84
84
|
}],
|
|
85
85
|
variable: {
|
|
86
|
-
wght: mergeAxes.wght ??
|
|
87
|
-
wdth: mergeAxes.wdth ??
|
|
88
|
-
slnt: mergeAxes.slnt ??
|
|
86
|
+
wght: mergeAxes.wght ?? void 0,
|
|
87
|
+
wdth: mergeAxes.wdth ?? void 0,
|
|
88
|
+
slnt: mergeAxes.slnt ?? void 0
|
|
89
89
|
},
|
|
90
90
|
unicodeRange: metadata.unicodeRange[subset],
|
|
91
91
|
comment: `${metadata.id}-${subset}-wght-normal`
|
|
@@ -307,7 +307,7 @@ function createWebFontPreset(fetcher) {
|
|
|
307
307
|
css = await processor.transformCSS?.(css) || css;
|
|
308
308
|
return css;
|
|
309
309
|
},
|
|
310
|
-
layer: inlineImports ?
|
|
310
|
+
layer: inlineImports ? void 0 : LAYER_IMPORTS
|
|
311
311
|
}
|
|
312
312
|
]
|
|
313
313
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-web-fonts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "65.
|
|
4
|
+
"version": "65.5.0",
|
|
5
5
|
"description": "Web Fonts support for Uno CSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"homepage": "https://unocss.dev",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "https://github.com/unocss/unocss",
|
|
12
|
+
"url": "git+https://github.com/unocss/unocss",
|
|
13
13
|
"directory": "packages-presets/preset-web-fonts"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"ofetch": "^1.4.1",
|
|
53
|
-
"@unocss/core": "65.
|
|
53
|
+
"@unocss/core": "65.5.0"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "unbuild",
|