From 10487202d52e45733d4868f2ab362b3794fbb04b Mon Sep 17 00:00:00 2001 From: u-e Date: Fri, 21 Dec 2018 16:52:46 +0300 Subject: [PATCH] enhanced designs --- src/components/header/view/headerView.js | 10 ++++++++-- .../notificationLine/view/notificationLineStyles.js | 4 ++-- .../notificationLine/view/notificationLineView.js | 10 +++++----- src/themes/darkTheme.js | 2 ++ src/themes/lightTheme.js | 1 + 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/components/header/view/headerView.js b/src/components/header/view/headerView.js index 244bbc6cc..ecd3ad9c7 100644 --- a/src/components/header/view/headerView.js +++ b/src/components/header/view/headerView.js @@ -48,7 +48,13 @@ class HeaderView extends Component { isDarkTheme, } = this.props; const { isSearchModalOpen } = this.state; - const gredientColor = isDarkTheme ? ['#081c36', '#43638e'] : ['#2d5aa0', '#357ce6']; + let gredientColor = isDarkTheme ? ['#081c36', '#43638e'] : ['#2d5aa0', '#357ce6']; + + if (isReverse) { + gredientColor = isDarkTheme ? ['#43638e', '#081c36'] : ['#357ce6', '#2d5aa0']; + } else { + gredientColor = isDarkTheme ? ['#081c36', '#43638e'] : ['#2d5aa0', '#357ce6']; + } return ( @@ -65,7 +71,7 @@ class HeaderView extends Component { > -