Closed kizu closed 10 years ago
Negated variables like -$foo do not work currently in Stylus, so this code in Sass
-$foo
$foo: 10px .bar margin: -$foo
right now converts to
$foo = 10px .bar margin: -$foo
which wouldn't yield to proper CSS.
To fix it, we should convert such negated variables to multiplication on -1, so -$foo should convert to -1*$foo.
-1
-1*$foo
thanks @kizu Shall resolve this one
Negated variables like
-$foo
do not work currently in Stylus, so this code in Sassright now converts to
which wouldn't yield to proper CSS.
To fix it, we should convert such negated variables to multiplication on
-1
, so-$foo
should convert to-1*$foo
.