Optimization: Normalize color values
soluml opened this issue · 1 comments
soluml commented
Based on postcss-colormin: http://cssnano.co/optimisations/colormin/
example:
.color1 {
color: white;
}
.color2 {
color: rgb(255, 255, 255);
}
becomes
.a {
color: #fff;
}
chriseppstein commented
In general, normalizing values would let us merge them better. I've filed this issue against the property parser. Because it's property-aware, it can do the best job normalizing values.