mojotech / sass2stylus

Kewl
http://sass2stylus.com/
79 stars 18 forks source link

Recursive mixin #95

Open southerncross opened 8 years ago

southerncross commented 8 years ago

Hi, I found that the converted stylus sometimes causes stylus compiler crashed because of recursive mixin.

One solution from less2stylus is:

if there are mixins which named translate, translate3d, scale, skew, rotate then they will be prefixed with mixin- in resulted Stylus sources. This is to prevent recursive mixin invokations.