vant/packages/vant/docs/markdown/changelog-v4.zh-CN.md
2022-01-25 15:38:57 +08:00

32 lines
543 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 更新日志
## 更新内容
### unreleased
`2022-01-17`
**Feature**
- ConfigProvider: 新增 `theme` 属性,用于开启暗色模式
- ConfigProvider: 新增 `ConfigProviderTheme` 类型
**Style**
以下组件的默认色值调整为 `--van-primary-color`
- Calendar
- Cascader
- Dialog
- DropdownMenu
- IndexBar
- Sidebar
- Steps
- Tabs
其他:
- Button: 默认圆角大小从 `2px` 调整为 `4px`
- Button: 默认按钮的边框颜色调整为 `--van-gray-4`
- Button: 调整 `font-smoothing`,默认使用粗体文字