Closed
Description
At first.. lib is awesome!
But I think following output for that fixture isn't correct.
:root {
--some-width: 150px;
}
.box-foo {
--some-width: 333px;
width: var(--some-width);
.box-bar {
width: var(--some-width);
}
}
@media (max-width: 800px) {
.box-foo {
--some-width: 300px;
}
}
output
.box-foo {
width: 333px;
.box-bar {
width: 333px;
}
@media (max-width: 800px) {
.box-bar {
width: 300px; /* here should be also 333px */
}
}
}
@media (max-width: 800px) {
.box-foo {
width: 300px;
}
}
notice the .box-bar
in media query. I think it should be 333px, not 300px as defined in box-foo media query?