Explorar o código

refactor: default close theme plugin

close #5654
陈帅 %!s(int64=6) %!d(string=hai) anos
pai
achega
03865b8b81
Modificáronse 1 ficheiros con 0 adicións e 38 borrados
  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: {