Configuring antd theme roadhog or in Umi

Copyright notice: reproduced please indicate the source https://blog.csdn.net/qq_41155191/article/details/90696475

In the project root directory  .webpackrc (roadhog) or  config / the config.js (Umi) file  theme keynote configuration field. theme object or can be configured as a file path.

"theme": {
  "primary-color": "#1DA57A",
},
"theme": "./theme.js",

 

Guess you like

Origin blog.csdn.net/qq_41155191/article/details/90696475