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

red hex color doesn't get minified into the color name #92

Closed
XhmikosR opened this issue Mar 29, 2013 · 1 comment
Closed

red hex color doesn't get minified into the color name #92

XhmikosR opened this issue Mar 29, 2013 · 1 comment
Assignees
Milestone

Comments

@XhmikosR
Copy link
Contributor

.red { color: #FF0000; }

becomes

.red{color:#F00}

while it should be

.red{color:red}

You can try minifying the short hex also which has the same result.

@ghost ghost assigned GoalSmashers Mar 29, 2013
@GoalSmashers
Copy link
Contributor

It should be color:red too but reg exp failed to match it.

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