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
In comparable systems, you can define a method which is called elsewhere, pass parameters, and conditionally add styles. GrooCSS should easily support this with a few additions.
For example, something like:
def mycolor(alpha) { styles {
if (alpha == 0) color '#123'
else color rgba(0,0,0,alpha)
}}
and elsewhere within a style-group: add mycolor(0.5)
The text was updated successfully, but these errors were encountered:
In comparable systems, you can define a method which is called elsewhere, pass parameters, and conditionally add styles. GrooCSS should easily support this with a few additions.
For example, something like:
and elsewhere within a style-group:
add mycolor(0.5)
The text was updated successfully, but these errors were encountered: