From 4c9aa880042c3bbfe9f4a725ea6325b21313ff3f Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Sun, 23 Feb 2020 23:15:55 +0800 Subject: [PATCH] bugfix: default the property of primarycolor close #6002 --- config/config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.ts b/config/config.ts index 6338b1b7..7ee665bc 100644 --- a/config/config.ts +++ b/config/config.ts @@ -4,6 +4,7 @@ import slash from 'slash2'; import themePluginConfig from './themePluginConfig'; import proxy from './proxy'; import webpackPlugin from './plugin.config'; +import { primaryColor } from './defaultSettings'; const { pwa } = defaultSettings; @@ -144,6 +145,7 @@ export default { // Theme for antd: https://ant.design/docs/react/customize-theme-cn theme: { // ...darkTheme, + primaryColor, }, define: { REACT_APP_ENV: REACT_APP_ENV || false,