cloudhead/less.js — Issue #564: Accessing Namespaced Variables and Attributes
Author: alixaxel
Created: 2012-01-11 18:34:54+00:00
State: open

Both the website documentation and this (http://coding.smashingmagazine.com/2010/12/06/using-the-less-css-preprocessor-for-smarter-style-sheets/) Smashing Magazine article state that LESS variables can be declared and accessed inside namespaces, however no matter what I try I can't recreate the 5th example of the SM post.

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..?