From 91400d54fa0b68f22124256d8226a1acbb6e456e Mon Sep 17 00:00:00 2001 From: Bryan Berger Date: Fri, 21 Jul 2017 14:21:31 -0400 Subject: [PATCH] add less variables for layout-trigger background, color --- components/layout/style/index.less | 4 ++-- components/style/themes/default.less | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/layout/style/index.less b/components/layout/style/index.less index 640ac61e0c..2b79a0e7d5 100644 --- a/components/layout/style/index.less +++ b/components/layout/style/index.less @@ -58,8 +58,8 @@ cursor: pointer; height: @layout-trigger-height; line-height: @layout-trigger-height; - background: tint(@heading-color, 20%); - color: #fff; + background: @layout-trigger-background; + color: @layout-trigger-color; } &-zero-width { diff --git a/components/style/themes/default.less b/components/style/themes/default.less index bac9dbbf6a..6f5c81a179 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -189,6 +189,8 @@ @layout-footer-padding : 24px 50px; @layout-sider-background : @layout-header-background; @layout-trigger-height : 48px; +@layout-trigger-background : tint(@heading-color, 20%); +@layout-trigger-color : #fff; @layout-zero-trigger-width : 36px; @layout-zero-trigger-height : 42px;