diff --git a/scripts/generateColorLess.js b/scripts/generateColorLess.js index 98870d3accd7..67a493ad07dd 100644 --- a/scripts/generateColorLess.js +++ b/scripts/generateColorLess.js @@ -21,6 +21,10 @@ const COLOR_MAP = { const reducePlugin = postcss.plugin('reducePlugin', () => { const cleanRule = (rule) => { + if (rule.selector.startsWith('.main-color .palatte-')) { + rule.remove(); + return; + } let removeRule = true; rule.walkDecls((decl) => { if (