From 2761460c8638270d825e0b60f17eddda12916c22 Mon Sep 17 00:00:00 2001 From: He Linming Date: Thu, 24 Oct 2019 10:36:59 +0800 Subject: [PATCH] style: add @modal-header-color variable (#19385) * :lipstick: add @modal-header-color variable close #19358 * :ok_hand: change variable name --- components/modal/style/modal.less | 2 +- components/style/themes/default.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/modal/style/modal.less b/components/modal/style/modal.less index 47e51e63f5..7159c3ae0b 100644 --- a/components/modal/style/modal.less +++ b/components/modal/style/modal.less @@ -27,7 +27,7 @@ &-title { margin: 0; - color: @heading-color; + color: @modal-heading-color; font-weight: 500; font-size: @font-size-lg; line-height: 22px; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index c480865209..cdba99c527 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -380,6 +380,7 @@ // -- @modal-body-padding: 24px; @modal-header-bg: @component-background; +@modal-heading-color: @heading-color; @modal-footer-bg: transparent; @modal-footer-border-color-split: @border-color-split; @modal-mask-bg: fade(@black, 45%);