less.js
less.js copied to clipboard
@import bypasses namespacing
"@import" doesn't respect namespaces.
The only feature that's keeping us from switching from sass to less is the lack of namespacing on @import.
If the following:
.classlabel { @import "foo.less"; }
Acted like sass by prepending the class name to each imported stylesheet rule, we'd be golden.
.classlabel .importedclass { .... } .classlabel .importedclass2 { .... }
etc.
Thoughts?
Pls have a look at: https://github.com/cloudhead/less.js/issues/656
Awesome. Thanks!
as per #656 - fixed.