fix(Calendar, Picker): Fix calendar and picker's title color in dark mode (#10403)

* 解决Dialog组件的标题、消息内容在深色模式下仍显示黑色的问题

* 解决Picker和Calendar组件的Title在深色模式下为黑色的问题

Co-authored-by: 朱坤 <zhukun.gz@chinatelecom.cn>
This commit is contained in:
TeRny 2022-03-17 20:34:45 +08:00 committed by GitHub
parent 101dcc3ef2
commit 239be20cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,7 @@ body {
&__month-title,
&__header-title,
&__header-subtitle {
color: var(--van-text-color);
height: var(--van-calendar-header-title-height);
font-weight: var(--van-font-bold);
line-height: var(--van-calendar-header-title-height);

View File

@ -60,6 +60,7 @@ body {
}
&__title {
color: var(--van-text-color);
max-width: 50%;
font-weight: var(--van-font-bold);
font-size: var(--van-picker-title-font-size);