From 2b24a978e12eaeaa5cf3f71d31331d1990310f1e Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 11 Apr 2020 22:38:12 +0200 Subject: [PATCH] Mid color is used for scrollbars it seems --- resources/styles/nheko-dark.qss | 5 ----- resources/styles/nheko.qss | 5 ----- src/UserSettingsPage.cpp | 4 ++-- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/resources/styles/nheko-dark.qss b/resources/styles/nheko-dark.qss index 875a3828..3676f874 100644 --- a/resources/styles/nheko-dark.qss +++ b/resources/styles/nheko-dark.qss @@ -205,11 +205,6 @@ TextField { qproperty-labelColor: #caccd1; } -ScrollBar { - qproperty-handleColor: #2d3139; - qproperty-backgroundColor: #202228; -} - SideBarActions, TopRoomBar { diff --git a/resources/styles/nheko.qss b/resources/styles/nheko.qss index 51e5d64e..8604ad30 100644 --- a/resources/styles/nheko.qss +++ b/resources/styles/nheko.qss @@ -236,11 +236,6 @@ TextInputWidget { border-top: 1px solid #dcdcdc; } -ScrollBar { - qproperty-handleColor: #ccc; - qproperty-backgroundColor: #efefef; -} - SideBarActions { border: none; border-top: 1px solid #dcdcdc; diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp index 3afff83b..b4f4cb45 100644 --- a/src/UserSettingsPage.cpp +++ b/src/UserSettingsPage.cpp @@ -111,7 +111,7 @@ UserSettings::applyTheme() /*button*/ QColor("#333"), /*light*/ QColor(0xef, 0xef, 0xef), /*dark*/ QColor(220, 220, 220), - /*mid*/ QColor(0, 0xff, 0), // not used anywhere, this is for debugging + /*mid*/ QColor(110, 110, 110), /*text*/ QColor("#333"), /*bright_text*/ QColor("#333"), /*base*/ QColor("white"), @@ -129,7 +129,7 @@ UserSettings::applyTheme() /*button*/ QColor(0xff, 0xff, 0xff), /*light*/ QColor("#caccd1"), /*dark*/ QColor("#2d3139"), - /*mid*/ QColor(0, 0xff, 0), // not used anywhere, this is for debugging + /*mid*/ QColor(110, 110, 110), // not used anywhere, this is for debugging /*text*/ QColor("#caccd1"), /*bright_text*/ QColor(0xff, 0xff, 0xff), /*base*/ QColor("#2d3139"),