mzohaibqc / antd-theme-webpack-plugin

A webpack plugin for Dynamic theme generation for Ant Design
https://mzohaibqc.github.io/antd-theme-webpack-plugin/index.html
368 stars 81 forks source link

antd theme #108

Closed zhangfeng-19951230 closed 2 years ago

zhangfeng-19951230 commented 2 years ago

按照你的这个插件确实可以改变antd 的框架的组件主题色,请问自己定义的样式 背景颜色怎么跟随主题变化呢

mzohaibqc commented 2 years ago

Just use a unique background color variable for your background style as well as in variable file which you need to provide to this plugin. For more, read README file

On Thu, 20 Jan 2022, 11:26 am zhangfeng-19951230, @.***> wrote:

按照你的这个插件确实可以改变antd 的框架的组件主题色,请问自己定义的样式 背景颜色怎么跟随主题变化呢

— Reply to this email directly, view it on GitHub https://github.com/mzohaibqc/antd-theme-webpack-plugin/issues/108, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIBRK342HKA6D2F75JPWETUW6TIRANCNFSM5ML3VZTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

zhangfeng-19951230 commented 2 years ago

好的 已经解决了,谢谢!