breaking change: shorter css var names
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user