vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.27k stars 3.79k forks source link

怎么定制化主题色:怎么修改主题色,比如整体是粉色的 #7411

Closed wangyujiaoflag closed 8 months ago

wangyujiaoflag commented 8 months ago

Version

4.0.8

Environment

vue3

Reproduction link

https://github.com/jeecgboot/jeecgboot-vue3.git

Steps to reproduce

怎么修改主题色,比如整体是粉色的

What is expected?

主题色修改成功

What is actually happening?

没办法改,改table、form组件主题色失败 不生效,

Ashuangshuang commented 8 months ago

`<a-config-provider :theme="{ token: { colorPrimary: '#7540e3', } }"

`

bsuooo commented 8 months ago

https://next.antdv.com/components/config-provider-cn#components-config-provider-demo-theme