Ant Design Umi modify the default style

Find .umirc.js profile

 

  2. Add the theme fields in the file can be modified directly in the style of the theme.

 

 

Also in the project root directory  config configure / New File

 

Then introduced .umirc.js file

 

 

 

 

 

 ant design style variables can go https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less here to find

Guess you like

Origin www.cnblogs.com/wucc2333/p/11457528.html