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

version 9+ converting 'white' and other colors in classnames to hex codes #37

Closed
malgorithms opened this issue Dec 19, 2012 · 4 comments

Comments

@malgorithms
Copy link

This code:

.black-and-white .foo {
    color:#fff;
    background-color:#000;
}

is compressed with cleancss as follows:

.black-and-#fff .foo{color:#fff;background-color:#000}

Note the class has been renamed black-and-#fff

Tested in v0.9.0. This was not happening in 0.8.3.

@GoalSmashers
Copy link
Contributor

Thank you @malgorithms for raising this issue. Fix is coming!

@GoalSmashers
Copy link
Contributor

@malgorithms - 0.9.1 is out with a fix!

@malgorithms
Copy link
Author

quick, thanks!

@GoalSmashers
Copy link
Contributor

As it should be! :-)

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

2 participants