From a5bb161bb04e378ceeb03fe95bbf63f8a97eae43 Mon Sep 17 00:00:00 2001 From: He Linming Date: Thu, 19 Sep 2019 09:47:16 +0800 Subject: [PATCH] :lipstick: add @page-header-back-color less variable (#18887) close #18869 --- components/page-header/style/index.less | 2 +- components/style/themes/default.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/page-header/style/index.less b/components/page-header/style/index.less index ab5c1dd527..af72317968 100644 --- a/components/page-header/style/index.less +++ b/components/page-header/style/index.less @@ -25,7 +25,7 @@ line-height: 1; &-button { .operation-unit(); - color: #000; + color: @page-header-back-color; cursor: pointer; } } diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 0cfd4bc631..bf0f795a11 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -566,6 +566,7 @@ @page-header-padding: 24px; @page-header-padding-vertical: 16px; @page-header-padding-breadcrumb: 12px; +@page-header-back-color: #000; // Breadcrumb // ---