@unocss/preset-wind 0.63.4 → 0.63.5
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 +2 -2
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -171,7 +171,7 @@ const backgroundStyles = [
|
|
|
171
171
|
[/^bg-gradient-to-([rltb]{1,2})$/, ([, d]) => {
|
|
172
172
|
if (d in positionMap) {
|
|
173
173
|
return {
|
|
174
|
-
"--un-gradient-shape": `to ${positionMap[d]}`,
|
|
174
|
+
"--un-gradient-shape": `to ${positionMap[d]} in oklch`,
|
|
175
175
|
"--un-gradient": "var(--un-gradient-shape), var(--un-gradient-stops)",
|
|
176
176
|
"background-image": "linear-gradient(var(--un-gradient))"
|
|
177
177
|
};
|
|
@@ -181,7 +181,7 @@ const backgroundStyles = [
|
|
|
181
181
|
const v = d in positionMap ? `to ${positionMap[d]}` : h.bracket(d);
|
|
182
182
|
if (v != null) {
|
|
183
183
|
return {
|
|
184
|
-
"--un-gradient-shape": v
|
|
184
|
+
"--un-gradient-shape": `${v} in oklch`,
|
|
185
185
|
"--un-gradient": "var(--un-gradient-shape), var(--un-gradient-stops)"
|
|
186
186
|
};
|
|
187
187
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-wind",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.63.
|
|
4
|
+
"version": "0.63.5",
|
|
5
5
|
"description": "Tailwind / Windi CSS compact preset for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@unocss/
|
|
39
|
-
"@unocss/
|
|
40
|
-
"@unocss/
|
|
38
|
+
"@unocss/preset-mini": "0.63.5",
|
|
39
|
+
"@unocss/rule-utils": "0.63.5",
|
|
40
|
+
"@unocss/core": "0.63.5"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "unbuild",
|