style: add @modal-header-color variable (#19385)

* 💄 add @modal-header-color variable

close #19358

* 👌 change variable name
This commit is contained in:
He Linming 2019-10-24 10:36:59 +08:00 committed by Amumu
parent d06b1fa15e
commit 2761460c86
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@
&-title { &-title {
margin: 0; margin: 0;
color: @heading-color; color: @modal-heading-color;
font-weight: 500; font-weight: 500;
font-size: @font-size-lg; font-size: @font-size-lg;
line-height: 22px; line-height: 22px;

View File

@ -380,6 +380,7 @@
// -- // --
@modal-body-padding: 24px; @modal-body-padding: 24px;
@modal-header-bg: @component-background; @modal-header-bg: @component-background;
@modal-heading-color: @heading-color;
@modal-footer-bg: transparent; @modal-footer-bg: transparent;
@modal-footer-border-color-split: @border-color-split; @modal-footer-border-color-split: @border-color-split;
@modal-mask-bg: fade(@black, 45%); @modal-mask-bg: fade(@black, 45%);