Просмотр исходного кода

refactor: default close theme plugin

close #5654
陈帅 6 лет назад
Родитель
Сommit
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]);
 }
 
-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 {
   plugins,
   block: {