PostCSS plugin to desaturate your colors..
.foo {
color: #dae1e7;
background-color: #e3342f;
}
.foo {
color: #dfdfdf;
background-color: #6a6a6a;
}
module.exports = ({
options
}) => ({
plugins: {
'postcss-import': {},
'autoprefixer': {},
'postcss-fade-to-gray': {
saturation: 0
},
'cssnano': {},
}
})
saturation: 0 (default, max 100)