From be79ccccf6af90750fac0adec10ec110794d28c7 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 20 Feb 2017 01:15:54 +0200 Subject: [PATCH] fix dark theme room join bar --- .../css/matrix-react-sdk/views/rooms/_RoomPreviewBar.scss | 4 +--- src/skins/vector/css/themes/_base.scss | 2 ++ src/skins/vector/css/themes/_dark.scss | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomPreviewBar.scss b/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomPreviewBar.scss index 96cedb034..331eb582e 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomPreviewBar.scss +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomPreviewBar.scss @@ -22,9 +22,7 @@ limitations under the License. flex-direction: column; justify-content: center; display: flex; - - /* For welcome pages */ - background-color: #f7f7f7; + background-color: $preview-bar-bg-color; -webkit-align-items: center; } diff --git a/src/skins/vector/css/themes/_base.scss b/src/skins/vector/css/themes/_base.scss index 7612c6814..cc725822f 100644 --- a/src/skins/vector/css/themes/_base.scss +++ b/src/skins/vector/css/themes/_base.scss @@ -18,6 +18,8 @@ $selection-fg-color: $primary-bg-color; // red warning colour $warning-color: #ff0064; +$preview-bar-bg-color: #f7f7f7; + // left-panel style muted accent color $secondary-accent-color: #eaf5f0; diff --git a/src/skins/vector/css/themes/_dark.scss b/src/skins/vector/css/themes/_dark.scss index 2928917f2..a74d9f468 100644 --- a/src/skins/vector/css/themes/_dark.scss +++ b/src/skins/vector/css/themes/_dark.scss @@ -18,6 +18,8 @@ $selection-fg-color: $primary-fg-color; // red warning colour $warning-color: #ff0064; +$preview-bar-bg-color: #333; + // left-panel style muted accent color $secondary-accent-color: $primary-bg-color;