You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dealing with parentheses is always a hassle because there is no explicit representation of a parenthesis in Stylus AST generated by Stylus compiler (only nested Expression objects).
I do have a plan to refactor the formatter so it will handle this better, but no ETA though. Please bear with me.
Using command line and options:
I'm not expecting parenthesis to be added :
barBorderRadius = colorBarHeight / 2
tobarBorderRadius = (colorBarHeight / 2)
width 'calc(%s - 20px)' % floor(100%/n)
=>width "calc(%s - 20px)" % floor((100% / n))
width calc(100% / 3)
=>width calc((100% / 3))
unfortunately this ends up in the final css too, increasing its sizeThe text was updated successfully, but these errors were encountered: