From 00f0f6dd3490d8c30beaacf6996d5c0cf0d88b9d Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 9 Jul 2020 19:17:34 +0200 Subject: [PATCH] add color for room list header color --- res/css/views/rooms/_RoomSublist2.scss | 1 + res/themes/element-dark/css/_element-dark.scss | 1 + res/themes/element/css/_element.scss | 2 +- res/themes/light/css/_light.scss | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/res/css/views/rooms/_RoomSublist2.scss b/res/css/views/rooms/_RoomSublist2.scss index 2af3b918b9..ee4ca5d320 100644 --- a/res/css/views/rooms/_RoomSublist2.scss +++ b/res/css/views/rooms/_RoomSublist2.scss @@ -44,6 +44,7 @@ limitations under the License. // to work correctly. padding-bottom: 8px; height: 24px; + color: $roomlist2-header-color; // Hide the header container if the contained element is stickied. // We don't use display:none as that causes the header to go away too. diff --git a/res/themes/element-dark/css/_element-dark.scss b/res/themes/element-dark/css/_element-dark.scss index 631852c8bf..6e9ac98ed2 100644 --- a/res/themes/element-dark/css/_element-dark.scss +++ b/res/themes/element-dark/css/_element-dark.scss @@ -115,6 +115,7 @@ $theme-button-bg-color: #e3e8f0; $roomlist2-button-bg-color: rgba(141, 151, 165, 0.2); // Buttons include the filter box, explore button, and sublist buttons $roomlist2-bg-color: rgba(33, 38, 44, 0.92); +$roomlist2-header-color: #8E99A4; $roomsublist2-divider-color: $primary-fg-color; $roomtile2-preview-color: #A9B2BC; diff --git a/res/themes/element/css/_element.scss b/res/themes/element/css/_element.scss index e880088b62..f04d931f31 100644 --- a/res/themes/element/css/_element.scss +++ b/res/themes/element/css/_element.scss @@ -180,7 +180,7 @@ $theme-button-bg-color: #e3e8f0; $roomlist2-button-bg-color: #fff; // Buttons include the filter box, explore button, and sublist buttons $roomlist2-bg-color: #f3f8fde8; - +$roomlist2-header-color: $primary-fg-color; $roomsublist2-divider-color: $primary-fg-color; $roomtile2-preview-color: #9e9e9e; diff --git a/res/themes/light/css/_light.scss b/res/themes/light/css/_light.scss index 86d5fbd3ca..9ce2c9a980 100644 --- a/res/themes/light/css/_light.scss +++ b/res/themes/light/css/_light.scss @@ -181,7 +181,7 @@ $theme-button-bg-color: #e3e8f0; $roomlist2-button-bg-color: #fff; // Buttons include the filter box, explore button, and sublist buttons $roomlist2-bg-color: $header-panel-bg-color; - +$roomlist2-header-color: $primary-fg-color; $roomsublist2-divider-color: $primary-fg-color; $roomtile2-preview-color: #9e9e9e;