From 90131e93d9e3a01312e59cca82dfbedf8b997874 Mon Sep 17 00:00:00 2001 From: Ozan Barsal Date: Thu, 7 May 2020 08:46:35 +0300 Subject: [PATCH] feat(style): add @modal-header-border-color-split variable (#2179) * add @modal-footer-border-color-split to modal.less * add @modal-header-border-color-split to default.less --- 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 7159c3ae0..c6d93823e 100644 --- a/components/modal/style/modal.less +++ b/components/modal/style/modal.less @@ -83,7 +83,7 @@ padding: 16px 24px; color: @text-color; background: @modal-header-bg; - border-bottom: @border-width-base @border-style-base @border-color-split; + border-bottom: @border-width-base @border-style-base @modal-header-border-color-split; border-radius: @border-radius-base @border-radius-base 0 0; } diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 8292fc081..fc1a2089f 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -394,6 +394,7 @@ // -- @modal-body-padding: 24px; @modal-header-bg: @component-background; +@modal-header-border-color-split: @border-color-split; @modal-heading-color: @heading-color; @modal-footer-bg: transparent; @modal-footer-border-color-split: @border-color-split;