gruntjs / grunt-contrib-cssmin

Compress CSS files.
http://gruntjs.com/
MIT License
793 stars 147 forks source link

Skipping border color in minification #301

Open ssahu123 opened 5 years ago

ssahu123 commented 5 years ago

Before minification it was like this: border: 1px solid rgba(var(--border), 1);

and after minification it gives the output like this: border: 1px solid;

Not possible for me to put border color property separately in the whole project.

waffledonkey commented 5 years ago

why not

border: 1px solid var(--border, default);
or

border: 1px solid rgba(var(--borderRed, default), var(--borderGreen, default), var(--borderBlue, default), 1);