mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
channged piss color to blue
This commit is contained in:
parent
b056a07f65
commit
a91ac5cdf0
3 changed files with 3 additions and 3 deletions
|
@ -166,7 +166,7 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
|
||||||
this->splits.header.background = getColor(0, sat, flat ? 1 : 0.9);
|
this->splits.header.background = getColor(0, sat, flat ? 1 : 0.9);
|
||||||
this->splits.header.border = getColor(0, sat, flat ? 1 : 0.85);
|
this->splits.header.border = getColor(0, sat, flat ? 1 : 0.85);
|
||||||
this->splits.header.text = this->messages.textColors.regular;
|
this->splits.header.text = this->messages.textColors.regular;
|
||||||
this->splits.header.activeText = isLight ? QColor(134, 79, 242) : QColor(242, 209, 79);
|
this->splits.header.focusedText = isLight ? QColor("#198CFF") : QColor("#84C1FF");
|
||||||
|
|
||||||
this->splits.input.background = getColor(0, sat, flat ? 0.95 : 0.95);
|
this->splits.input.background = getColor(0, sat, flat ? 0.95 : 0.95);
|
||||||
this->splits.input.border = getColor(0, sat, flat ? 1 : 1);
|
this->splits.input.border = getColor(0, sat, flat ? 1 : 1);
|
||||||
|
|
|
@ -70,7 +70,7 @@ public:
|
||||||
QColor border;
|
QColor border;
|
||||||
QColor background;
|
QColor background;
|
||||||
QColor text;
|
QColor text;
|
||||||
QColor activeText;
|
QColor focusedText;
|
||||||
// int margin;
|
// int margin;
|
||||||
} header;
|
} header;
|
||||||
|
|
||||||
|
|
|
@ -375,7 +375,7 @@ void SplitHeader::themeRefreshEvent()
|
||||||
QPalette palette;
|
QPalette palette;
|
||||||
|
|
||||||
if (this->split->hasFocus()) {
|
if (this->split->hasFocus()) {
|
||||||
palette.setColor(QPalette::Foreground, this->themeManager->splits.header.activeText);
|
palette.setColor(QPalette::Foreground, this->themeManager->splits.header.focusedText);
|
||||||
} else {
|
} else {
|
||||||
palette.setColor(QPalette::Foreground, this->themeManager->splits.header.text);
|
palette.setColor(QPalette::Foreground, this->themeManager->splits.header.text);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue