feat(ConfigProvider): add theme prop

This commit is contained in:
chenjiahan
2022-01-25 15:38:57 +08:00
parent 437dcc6c41
commit f9573402a7
5 changed files with 27 additions and 11 deletions
@@ -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`,默认使用粗体文字