mojotech / jeet

The most advanced, yet intuitive, grid system available for Sass or Stylus

Home Page:http://jeet.gs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

$cycle:4 'invalid argument'.
screen shot 2017-04-04 at 18 52 33
Expects '=' and not ':' but of course if changed stylus doesn't compile.

Thank you for your work. I will check your other projects.

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.