diff --git a/lib/theme-css.ts b/lib/theme-css.ts index e0d1830..bf1468c 100644 --- a/lib/theme-css.ts +++ b/lib/theme-css.ts @@ -87,7 +87,6 @@ async function buildCss(options: BuildThemeCSSOptions, config: ThemeCssConfig): function genThemeLess(type: 'default' | 'dark' | 'compact', extraThemeVars: string[]): string[] { const list = [] as string[]; - if (type !== 'dark' && type !== 'compact') return list; // ng-zorro-antd if (existsSync(join(root, node_modulesPath, 'ng-zorro-antd/style'))) { list.push(`@import 'ng-zorro-antd/style/themes/${type}.less';`);