ant-design / antd-style

css-in-js library with antd v5 token system
https://ant-design.github.io/antd-style/
MIT License
219 stars 35 forks source link

请问如何修改antd默认token,除了用ConfigProvider组件包裹之外🧐[问题] #26

Closed qc-z closed 1 year ago

arvinxx commented 1 year ago

只有用 CP 修改的方案,目前这个方案有啥问题么

arvinxx commented 1 year ago

哦 看错了 你说的 antd 默认的 token,那可以用

theme.defaultConfig.token = { colorPrimary:"red"}

来修改 seed token

qc-z commented 1 year ago

@arvinxx 感谢大佬