Commit 77333e4f authored by afc163's avatar afc163 Committed by 陈帅

defaultSetting primary color works on theme

parent 3fcd79a3
// https://umijs.org/config/
const pageRoutes = require('./router.config');
const webpackplugin = require('./plugin.config');
const defaultSetting = require('../src/defaultSetting');
export default {
// add for transfer to umi
......@@ -30,9 +31,9 @@ export default {
],
// 路由配置
routes: pageRoutes,
// theme for antd
theme: {
'card-actions-background': '#f5f8fa',
'primary-color': defaultSetting.primaryColor,
},
externals: {
'@antv/data-set': 'DataSet',
......
export default {
module.exports = {
collapse: false,
silderTheme: 'dark',
primaryColor: '#1890FF',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment