diff --git a/src/singletons/Settings.hpp b/src/singletons/Settings.hpp index 43b3d8d6a..5a2fae91a 100644 --- a/src/singletons/Settings.hpp +++ b/src/singletons/Settings.hpp @@ -141,6 +141,7 @@ public: "/highlighting/whisperHighlight/enableSound", false}; BoolSetting enableWhisperHighlightTaskbar = { "/highlighting/whisperHighlight/enableTaskbarFlashing", false}; + QStringSetting highlightColor = {"/highlighting/color", "#4B282C"}; /// Logging BoolSetting enableLogging = {"/logging/enabled", false}; diff --git a/src/singletons/Theme.cpp b/src/singletons/Theme.cpp index cae5da1e2..9d91bab11 100644 --- a/src/singletons/Theme.cpp +++ b/src/singletons/Theme.cpp @@ -212,7 +212,7 @@ void Theme::actuallyUpdate(double hue, double multiplier) this->messages.backgrounds.highlighted = blendColors(themeColor, this->messages.backgrounds.regular, 0.8); } else { - this->messages.backgrounds.highlighted = QColor(75, 40, 44); + this->messages.backgrounds.highlighted = QColor(getSettings()->highlightColor); } this->messages.backgrounds.subscription = diff --git a/src/singletons/Theme.hpp b/src/singletons/Theme.hpp index 6c88e7428..d301d21af 100644 --- a/src/singletons/Theme.hpp +++ b/src/singletons/Theme.hpp @@ -6,6 +6,7 @@ #include #include #include +#include namespace chatterino {