Colorize entire split input header instead of just the channel name (#3379)

Co-authored-by: Paweł <zneix@zneix.eu>
This commit is contained in:
LosFarmosCTL
2022-01-22 16:23:02 +01:00
committed by GitHub
parent 6f7c3c8d7e
commit b5b395f975
4 changed files with 22 additions and 6 deletions
+5 -2
View File
@@ -62,8 +62,11 @@ void Theme::actuallyUpdate(double hue, double multiplier)
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.text = this->messages.textColors.regular;
this->splits.header.focusedText =
isLight ? QColor("#198CFF") : QColor("#84C1FF");
this->splits.header.focusedBackground =
getColor(0, sat, isLight ? 0.95 : 0.79);
this->splits.header.focusedBorder = getColor(0, sat, isLight ? 0.90 : 0.78);
this->splits.header.focusedText = QColor::fromHsvF(
0.58388, isLight ? 1.0 : 0.482, isLight ? 0.6375 : 1.0);
this->splits.input.background = getColor(0, sat, flat ? 0.95 : 0.95);
this->splits.input.border = getColor(0, sat, flat ? 1 : 1);