mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-26 03:16:35 +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 {
|
&__header {
|
||||||
|
color: var(--van-text-color);
|
||||||
padding-top: var(--van-dialog-header-padding-top);
|
padding-top: var(--van-dialog-header-padding-top);
|
||||||
font-weight: var(--van-dialog-header-font-weight);
|
font-weight: var(--van-dialog-header-font-weight);
|
||||||
line-height: var(--van-dialog-header-line-height);
|
line-height: var(--van-dialog-header-line-height);
|
||||||
@ -56,6 +57,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&__message {
|
&__message {
|
||||||
|
color: var(--van-text-color);
|
||||||
flex: 1;
|
flex: 1;
|
||||||
max-height: var(--van-dialog-message-max-height);
|
max-height: var(--van-dialog-message-max-height);
|
||||||
padding: 26px var(--van-dialog-message-padding);
|
padding: 26px var(--van-dialog-message-padding);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user