ant-design-vue
ant-design-vue copied to clipboard
暗色模式下,config-provider计算的主色和传入的色值不一致
trafficstars
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.1.0
Environment
win11 crhome 123.0.6312.86
Reproduction link
Steps to reproduce
正常通过config-provider传入theme, algorithm和token
What is expected?
期望不管algorithm为亮色还是暗色,计算出的色值与传入的色值保持一致
What is actually happening?
当algorithm为defaultAlgorithm时,计算出的色值为传入的色值;当algorithm为darkAlgorithm时,计算出的色值为与传入的色值不一致!