mzohaibqc / antd-live-theme

Customize Ant Design specific colors dynamically on runtime
https://antd-live-theme.firebaseapp.com/
121 stars 15 forks source link

dva change theme demo? #4

Open liujunyi opened 6 years ago

liujunyi commented 6 years ago

hello,can you give me a dva project change theme demo? i looked this demo,but this is different struct with dva project,I can't apply it. thank you

mzohaibqc commented 6 years ago

You can use core script https://github.com/mzohaibqc/antd-theme-generator to generate color.less to change theme live. Have a look at the mentioned project README.md file and if you still face any issue let me know.

mzohaibqc commented 5 years ago

@liujunyi I could not spare time to create a dva demo but Ant Design Pro is using same theming plugin. So maybe you can look into that project and see how they have used this.

https://github.com/ant-design/ant-design-pro

image