@unocss/preset-wind 0.24.2 → 0.24.3

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 CHANGED
@@ -906,6 +906,10 @@ const theme = {
906
906
  }
907
907
  };
908
908
 
909
+ const variantCombinators = [
910
+ utils.variantMatcher("svg", (input) => `${input} svg`)
911
+ ];
912
+
909
913
  const variantColorsScheme = [
910
914
  utils.variantMatcher(".dark", (input) => `.dark $$ ${input}`),
911
915
  utils.variantMatcher(".light", (input) => `.light $$ ${input}`),
@@ -949,6 +953,7 @@ const variants = (options) => [
949
953
  placeholderModifier,
950
954
  variantSpaceAndDivide,
951
955
  ...variants$1.variants(options),
956
+ ...variantCombinators,
952
957
  ...variantColorsScheme
953
958
  ];
954
959
 
package/dist/index.mjs CHANGED
@@ -902,6 +902,10 @@ const theme = {
902
902
  }
903
903
  };
904
904
 
905
+ const variantCombinators = [
906
+ variantMatcher("svg", (input) => `${input} svg`)
907
+ ];
908
+
905
909
  const variantColorsScheme = [
906
910
  variantMatcher(".dark", (input) => `.dark $$ ${input}`),
907
911
  variantMatcher(".light", (input) => `.light $$ ${input}`),
@@ -945,6 +949,7 @@ const variants = (options) => [
945
949
  placeholderModifier,
946
950
  variantSpaceAndDivide,
947
951
  ...variants$1(options),
952
+ ...variantCombinators,
948
953
  ...variantColorsScheme
949
954
  ];
950
955
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
- "version": "0.24.2",
3
+ "version": "0.24.3",
4
4
  "description": "Tailwind / Windi CSS compact preset for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -35,8 +35,8 @@
35
35
  "*.css"
36
36
  ],
37
37
  "dependencies": {
38
- "@unocss/core": "0.24.2",
39
- "@unocss/preset-mini": "0.24.2"
38
+ "@unocss/core": "0.24.3",
39
+ "@unocss/preset-mini": "0.24.3"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild",