Closed saulyz closed 1 week ago
Whether the declarations come from a mixin or not is irrelevant—they'll still end up emitted in a different order afte rthe breaking change lands. This is particularly relevant for media queries, because they don't change the specificity of the rules in question, so order is the only way to distinguish their precedence.
I'm going to close this out. If you have a specific behavior you'd like changed, feel free to follow up, but I believe this warning is legitimate and you should consider wrapping #{$prop}: $val_mobile
in & {}
to check whether its styling with change in the future.
Just after upgrading to ^1.77.7 we've got deprecation messages warnings that suddenly got massive. The same code base has been around for more than 1 year and is applied in a high traffic prod site.
The example notices are
The issue part with "declaration" is in the file responsive-typography.scss
Since this is purely a
mixin
I do not find any relevance with the documentation.The next part is "nested rule" in the file media-queries.scss
This breaking change is new to me, I might not fully understand its impact to the large extent, but the spots in my utility mixins does not sound relevant to anything that is mentioned in documentation.