mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Merge pull request #744 from Chronophylos/custom-highlight-color
Add hidden setting for highlight color
This commit is contained in:
commit
57eb8f9eb7
|
@ -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};
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <QBrush>
|
||||
#include <QColor>
|
||||
#include <pajlada/settings/setting.hpp>
|
||||
#include <singletons/Settings.hpp>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
|
|
Loading…
Reference in a new issue