mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
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:
parent
101dcc3ef2
commit
239be20cbf
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user