Column Cycle in Stylus and gutter % values
cliqer opened this issue · comments
stylus@0.54.5 and jeet@7.1.0
Using Within webstorm with:
-u nib -u jeet -u rupture styles.styl
This doesn't cycle: column(1/4,cycle:4)
while this does: column(1/4,0,4)
Using gutter: column(1/4,0,4,2)
gives a 2% value.
Is there any way of changing the percentage to px when compiled?
$cycle
Thank you Cory.
Indeed this does work when compiled directly without the watcher. Webstorm is giving 'invalid argument' and stop stylus from executing unless specifically requested to compile with errors.
Anything I can do for the gutter to be compiled in different units (px)?
Many Thanks
What error is WebStorm throwing exactly?
Jeet can't work with fixed units, but my other projects, Lost and postcss-ant, can.
Hmm. It works with $gutter
but not $cycle
?
I suspect this is an import problem unless I'm forgetting my Stylus syntax. :X
No, the same happens to any $ variables inside a parenthesis in stylus/webstorm.
Anyway, as long as it works with column(1/4,0,4,1)
and compiler is happy, not a real problem :)
It works: https://codepen.io/corysimmons/pen/dvLPeY
Not sure what the problem is.