3 ms·
He’s talking about minifying CSS colors and I’m not sure if it is what I think it is. Do CSS minifier really adjust the colors in the CSS files to get better c
by bhaak 6mo ago
He’s talking about minifying CSS colors and I’m not sure if it is what I think it is.
Do CSS minifier really adjust the colors in the CSS files to get better compression rates or to reduce the number of rules in the CSS?
- altairprime 6mo agoThe author’s minifier now does so, yes. I think you’d have to research further to decide if they’re the first to do so or not.
- sheept 6mo agoIt depends on the minifier (SVG optimizers do this too), but yes, they may reduce the precision of colors. I checked and esbuild will turn lab() into a hex color if possible.