You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
String and escaped value interpolation behavior depends on context:
If a mixin contains interpolated string, the interpolation iterates while possible.
If a ruleset contains interpolated string, the interpolation runs only once.
The same value @{box-@{suffix}} with the same scope variables available can end up either as @{box-large} or as 100px. The result depends on whether mixin was called.
The issue #1387 suggests that the interpolation should iterate.
Full example:
@box-small: 10px;
@box-large: 100px;
.mixin { // both ruleset and mixin
width: ~"@{box-@{suffix}}";
weird: ~"@{box}-@{suffix}}";
@box: ~"@{box";
@suffix: large;
}
.interpolation-mixin {
.mixin(); //call the above as mixin
}
String and escaped value interpolation behavior depends on context:
The same value
@{box-@{suffix}}
with the same scope variables available can end up either as@{box-large}
or as100px
. The result depends on whether mixin was called.The issue #1387 suggests that the interpolation should iterate.
Full example:
compiles into:
Expected result:
The text was updated successfully, but these errors were encountered: