@unocss/preset-wind 0.37.3 → 0.37.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/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -80,7 +80,7 @@ const bgGradientColorResolver = (mode) => ([, body], { theme }) => {
|
|
|
80
80
|
if (alpha != null)
|
|
81
81
|
colorString = utils.colorToString(cssColor, alpha);
|
|
82
82
|
else
|
|
83
|
-
colorString = utils.colorToString(cssColor, `var(--un-${mode}-opacity, ${cssColor
|
|
83
|
+
colorString = utils.colorToString(cssColor, `var(--un-${mode}-opacity, ${utils.colorOpacityToString(cssColor)})`);
|
|
84
84
|
}
|
|
85
85
|
switch (mode) {
|
|
86
86
|
case "from":
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { preflights } from '@unocss/preset-mini';
|
|
2
2
|
export { colors, preflights } from '@unocss/preset-mini';
|
|
3
3
|
import { toArray } from '@unocss/core';
|
|
4
|
-
import { handler, positionMap, parseColor, colorToString, colorResolver, resolveBreakpoints, colorableShadows, directionMap, directionSize, variantMatcher, variantParentMatcher, hasParseableColor } from '@unocss/preset-mini/utils';
|
|
4
|
+
import { handler, positionMap, parseColor, colorToString, colorOpacityToString, colorResolver, resolveBreakpoints, colorableShadows, directionMap, directionSize, variantMatcher, variantParentMatcher, hasParseableColor } from '@unocss/preset-mini/utils';
|
|
5
5
|
import { varEmpty, cssVariables as cssVariables$1, cssProperty, pointerEvents, appearances, positions, insets, zIndexes, orders, grids, floats, margins, boxSizing, displays, aspectRatio, sizes, flex, transforms, cursors, userSelects, resizes, appearance, placements, alignments, justifies, gaps, overflows, textOverflows, whitespaces, breaks, borders, bgColors, svgUtilities, paddings, textAligns, textIndents, verticalAligns, fonts, textTransforms as textTransforms$1, fontStyles, textColors, textDecorations, fontSmoothings, tabSizes, textStrokes, textShadows, opacity, boxShadows, outline, rings, transitions, willChange, contents, questionMark, transformBase, boxShadowsBase, ringBase } from '@unocss/preset-mini/rules';
|
|
6
6
|
import { theme as theme$1 } from '@unocss/preset-mini/theme';
|
|
7
7
|
import { variants as variants$1 } from '@unocss/preset-mini/variants';
|
|
@@ -77,7 +77,7 @@ const bgGradientColorResolver = (mode) => ([, body], { theme }) => {
|
|
|
77
77
|
if (alpha != null)
|
|
78
78
|
colorString = colorToString(cssColor, alpha);
|
|
79
79
|
else
|
|
80
|
-
colorString = colorToString(cssColor, `var(--un-${mode}-opacity, ${cssColor
|
|
80
|
+
colorString = colorToString(cssColor, `var(--un-${mode}-opacity, ${colorOpacityToString(cssColor)})`);
|
|
81
81
|
}
|
|
82
82
|
switch (mode) {
|
|
83
83
|
case "from":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-wind",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.4",
|
|
4
4
|
"description": "Tailwind / Windi CSS compact preset for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"*.css"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@unocss/core": "0.37.
|
|
39
|
-
"@unocss/preset-mini": "0.37.
|
|
38
|
+
"@unocss/core": "0.37.4",
|
|
39
|
+
"@unocss/preset-mini": "0.37.4"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "unbuild",
|