@unocss/preset-uno 0.52.7 → 0.53.1
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.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -33,7 +33,7 @@ function shade(color, weight) {
|
|
|
33
33
|
return mixColor("#000", color, weight);
|
|
34
34
|
}
|
|
35
35
|
function shift(color, weight) {
|
|
36
|
-
const num = parseFloat(`${weight}`);
|
|
36
|
+
const num = Number.parseFloat(`${weight}`);
|
|
37
37
|
if (!Number.isNaN(num))
|
|
38
38
|
return num > 0 ? shade(color, weight) : tint(color, -num);
|
|
39
39
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ function shade(color, weight) {
|
|
|
29
29
|
return mixColor("#000", color, weight);
|
|
30
30
|
}
|
|
31
31
|
function shift(color, weight) {
|
|
32
|
-
const num = parseFloat(`${weight}`);
|
|
32
|
+
const num = Number.parseFloat(`${weight}`);
|
|
33
33
|
if (!Number.isNaN(num))
|
|
34
34
|
return num > 0 ? shade(color, weight) : tint(color, -num);
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-uno",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.1",
|
|
4
4
|
"description": "The default preset for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"*.css"
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@unocss/core": "0.
|
|
54
|
-
"@unocss/preset-
|
|
55
|
-
"@unocss/preset-
|
|
53
|
+
"@unocss/core": "0.53.1",
|
|
54
|
+
"@unocss/preset-mini": "0.53.1",
|
|
55
|
+
"@unocss/preset-wind": "0.53.1"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "unbuild",
|