Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@import bypasses namespacing #611

Closed
sanford opened this issue Feb 1, 2012 · 3 comments
Closed

@import bypasses namespacing #611

sanford opened this issue Feb 1, 2012 · 3 comments

Comments

@sanford
Copy link

sanford commented Feb 1, 2012

"@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?

@marcboeker
Copy link

Pls have a look at: #656

@sanford
Copy link
Author

sanford commented Feb 27, 2012

Awesome. Thanks!

@lukeapage
Copy link
Member

as per #656 - fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants