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
{{ message }}
Repository navigation
Accessing Namespaced Variables and Attributes #564
This would be so useful to me, for instance line-height: @size * body['line-height'] / body['font-size']; would allow me to speed up the vertical rhythm calculations in my LESS declarations - but I always get syntax errors. :-(
So, what is the status on this feature? Was it bogus? Will it be implemented? Or something else..?
Activity
alixaxel commentedon Jan 11, 2012
Oh, no! #6
cloudhead commentedon Jan 11, 2012
Yea, just store the value in a variable, then you can re-use it where you want.
alixaxel commentedon Jan 11, 2012
@cloudhead: Yes, I'll have to resort to that - it would be nice to have accessors though, to reduce the variable pollution.
I assume the lack of accessors affects both the attribute values and namespaced variables, right?