feat(ConfigProvider): add theme prop
This commit is contained in:
@@ -6,6 +6,11 @@
|
||||
|
||||
`2022-01-17`
|
||||
|
||||
**Feature**
|
||||
|
||||
- ConfigProvider: 新增 `theme` 属性,用于开启暗色模式
|
||||
- ConfigProvider: 新增 `ConfigProviderTheme` 类型
|
||||
|
||||
**Style**
|
||||
|
||||
以下组件的默认色值调整为 `--van-primary-color`:
|
||||
@@ -23,4 +28,4 @@
|
||||
|
||||
- Button: 默认圆角大小从 `2px` 调整为 `4px`
|
||||
- Button: 默认按钮的边框颜色调整为 `--van-gray-4`
|
||||
- Button: 调整 font-smoothing,默认使用粗体文字
|
||||
- Button: 调整 `font-smoothing`,默认使用粗体文字
|
||||
|
||||
Reference in New Issue
Block a user