breaking change: shorter css var names

This commit is contained in:
chenjiahan
2021-11-03 17:36:17 +08:00
parent ada5db011c
commit 7d6916b946
161 changed files with 893 additions and 886 deletions
@@ -10,6 +10,25 @@
不再支持基于 Less 变量进行主题定制,请使用 [ConfigProvider 全局配置](#/zh-CN/config-provider) 组件进行主题配置。
### CSS 变量名称简化
为了便于使用 CSS 变量,我们对部分 CSS 变量的名称进行了简化,使用更短的单词代替:
```
text-link -> link
box-shadow -> shadow
font-family -> font
border-radius -> radius
background-color -> background
font-weight-bold -> font-bold
border-width-base -> border-width
price-integer-font -> price-font
animation-duration -> duration
transition-duration -> duration
animation-timing-function-enter -> ease-out
animation-timing-function-leave -> ease-in
```
### API 调整
#### Picker