diff --git a/resources/qss/settings.qss b/resources/qss/settings.qss index a3172fd65..5801dd980 100644 --- a/resources/qss/settings.qss +++ b/resources/qss/settings.qss @@ -38,7 +38,7 @@ chatterino--PageHeader { chatterino--TitleLabel { font-family: "Segoe UI light"; font-size: 24px; - color: #4FC3F7; + color: #4FC3F7; /* Should this be same as accent color? */ } chatterino--DescriptionLabel { diff --git a/src/BaseTheme.cpp b/src/BaseTheme.cpp index 06679f757..c3179bdb9 100644 --- a/src/BaseTheme.cpp +++ b/src/BaseTheme.cpp @@ -103,7 +103,7 @@ void AB_THEME_CLASS::actuallyUpdate(double hue, double multiplier) this->tabs.selected = { QColor("#000"), {QColor("#b4d7ff"), QColor("#b4d7ff"), QColor("#b4d7ff")}, - {QColor("#00aeef"), QColor("#00aeef"), QColor("#00aeef")}}; + {this->accent, this->accent, this->accent}}; } else { @@ -123,7 +123,7 @@ void AB_THEME_CLASS::actuallyUpdate(double hue, double multiplier) this->tabs.selected = { QColor("#fff"), {QColor("#555555"), QColor("#555555"), QColor("#555555")}, - {QColor("#00aeef"), QColor("#00aeef"), QColor("#00aeef")}}; + {this->accent, this->accent, this->accent}}; } // scrollbar diff --git a/src/BaseTheme.hpp b/src/BaseTheme.hpp index a6749c72d..67ac4b43c 100644 --- a/src/BaseTheme.hpp +++ b/src/BaseTheme.hpp @@ -34,6 +34,8 @@ public: } line; }; + QColor accent; + /// WINDOW struct { QColor background; diff --git a/src/widgets/dialogs/SettingsDialog.cpp b/src/widgets/dialogs/SettingsDialog.cpp index f972efaf5..77475846b 100644 --- a/src/widgets/dialogs/SettingsDialog.cpp +++ b/src/widgets/dialogs/SettingsDialog.cpp @@ -206,8 +206,9 @@ void SettingsDialog::selectTab(SettingsDialogTab *tab, bool byUser) } tab->setSelected(true); - tab->setStyleSheet("background: #222; color: #4FC3F7;" - "/*border: 1px solid #555; border-right: none;*/"); + tab->setStyleSheet( + "background: #222; color: #4FC3F7;" // Should this be same as accent color? + "/*border: 1px solid #555; border-right: none;*/"); this->selectedTab_ = tab; if (byUser) {