fix: set postcss.options.cssnano.colormin to false

Since on development, the sass file will pass colormin, its color may be transfrom by cssnano. In that case, some colors in the color scheme won't be accessible by ui itself. But it can be turned on in production mode, because at that time the color scheme file won't pass the sass loader but a naive rollup plugin, the color won't be changed anymore.
This commit is contained in:
07akioni 2020-05-30 16:43:28 +08:00
parent 722e67356e
commit cbb77b97e3

View File

@ -5,7 +5,8 @@ module.exports = {
preset: [
'default',
{
normalizeWhitespace: false
normalizeWhitespace: false,
colormin: false
}
]
})