mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Dialog): Fix dialog title and message color in dark mode (#10379)
Co-authored-by: 朱坤 <zhukun.gz@chinatelecom.cn>
This commit is contained in:
parent
0d79eb244b
commit
8572393881
@ -37,6 +37,7 @@ body {
|
||||
}
|
||||
|
||||
&__header {
|
||||
color: var(--van-text-color);
|
||||
padding-top: var(--van-dialog-header-padding-top);
|
||||
font-weight: var(--van-dialog-header-font-weight);
|
||||
line-height: var(--van-dialog-header-line-height);
|
||||
@ -56,6 +57,7 @@ body {
|
||||
}
|
||||
|
||||
&__message {
|
||||
color: var(--van-text-color);
|
||||
flex: 1;
|
||||
max-height: var(--van-dialog-message-max-height);
|
||||
padding: 26px var(--van-dialog-message-padding);
|
||||
|
Loading…
x
Reference in New Issue
Block a user