less.ruby
less.ruby copied to clipboard
Type selector for accessors and variables
When defining rules using type selectors, it is not possible to use accessors or variables in new rules as mixins.
Class or ID selector example (Works):
.a { width: 100px; }
#b { width: .a['width']; }
Type selector with class and ID example (Proposed):
div.a { width: 100px; }
ul#b { width: .a['width']; }
Currently raises an exception
! Syntax Error: on line 6: expected one of , ; } got ' after:
Ideally, you should be able to use accessors and variables with type selectors. Are you aware of any show stoppers, or opposed to this functionality?