소스 검색

refactor: default close theme plugin

close #5654
陈帅 6 년 전
부모
커밋
03865b8b81
1개의 변경된 파일0개의 추가작업 그리고 38개의 파일을 삭제
  1. 0 38
      config/config.ts

+ 0 - 38
config/config.ts

@@ -70,44 +70,6 @@ if (isAntDesignProPreview) {
   plugins.push(['umi-plugin-antd-theme', themePluginConfig]);
   plugins.push(['umi-plugin-antd-theme', themePluginConfig]);
 }
 }
 
 
-if (!TEST && !isAntDesignProPreview) {
-  plugins.push([
-    'umi-plugin-antd-theme',
-    {
-      theme: [
-        {
-          key: 'dark',
-          fileName: 'dark.css',
-          theme: 'dark',
-        },
-        {
-          key: 'dust',
-          fileName: 'dust.css',
-          modifyVars: {
-            '@primary-color': '#F5222D',
-          },
-        },
-        {
-          key: 'dust',
-          theme: 'dark',
-          fileName: 'dark-dust.css',
-          modifyVars: {
-            '@primary-color': '#F5222D',
-          },
-        },
-        {
-          key: 'volcano',
-          theme: 'dark',
-          fileName: 'dark-volcano.css',
-          modifyVars: {
-            '@primary-color': '#FA541C',
-          },
-        },
-      ],
-    },
-  ]);
-}
-
 export default {
 export default {
   plugins,
   plugins,
   block: {
   block: {