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

Duplicate selector using enhance-with degrade-from #43

Open
pascalduez opened this issue Oct 28, 2013 · 0 comments
Open

Duplicate selector using enhance-with degrade-from #43

pascalduez opened this issue Oct 28, 2013 · 0 comments

Comments

@pascalduez
Copy link

http://sassmeister.com/gist/7197433

We currently make an extensive use of the svg-background mixin for a project.
But I discovered there are a ton of duplicate and noneffective selectors.

This is coming from the fact we use are relying on extending a set of base classes.

It happens when we extend a class with the svg-background inside. Which in turn use the enhance-with and degrade-from mixins.

See gist.

I'm wondering how we could prevent this.

EDIT: Well this is not a Toolkit specific issue actually.

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

1 participant