From f60ee6e755a453cf635a44bb38f01dca3fe86926 Mon Sep 17 00:00:00 2001 From: jim Date: Thu, 29 Mar 2018 14:35:52 +0800 Subject: [PATCH] use less var --- src/components/GlobalHeader/index.js | 1 + src/components/SiderMenu/index.less | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/GlobalHeader/index.js b/src/components/GlobalHeader/index.js index a08a3fe3..c31f2b89 100644 --- a/src/components/GlobalHeader/index.js +++ b/src/components/GlobalHeader/index.js @@ -1,6 +1,7 @@ import React, { PureComponent } from 'react'; import { Icon, Divider } from 'antd'; import { Link } from 'dva/router'; +import Debounce from 'lodash-decorators/debounce'; import styles from './index.less'; import RightContent from './RightContent'; diff --git a/src/components/SiderMenu/index.less b/src/components/SiderMenu/index.less index 1259e1ff..45b6c91e 100644 --- a/src/components/SiderMenu/index.less +++ b/src/components/SiderMenu/index.less @@ -33,9 +33,9 @@ background-color: white; .logo { background: white; - border: 1px solid #e9e9e9; + border-bottom: 1px solid @border-color-split; h1 { - color: #1890ff; + color: @primary-color; } } } -- GitLab