mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fixed issue with light theme
This commit is contained in:
parent
64553cf27b
commit
72abd52831
|
@ -59,17 +59,17 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
|
||||||
QColor themeColor = QColor::fromHslF(hue, 0.5, 0.5);
|
QColor themeColor = QColor::fromHslF(hue, 0.5, 0.5);
|
||||||
QColor themeColorNoSat = QColor::fromHslF(hue, 0, 0.5);
|
QColor themeColorNoSat = QColor::fromHslF(hue, 0, 0.5);
|
||||||
|
|
||||||
#ifdef USEWINSDK
|
//#ifdef USEWINSDK
|
||||||
QColor tabFg = isLight ? "#000" : "#fff";
|
// isLightTabs = isLight;
|
||||||
this->windowBg = isLight ? "#fff" : "#444";
|
// QColor tabFg = isLight ? "#000" : "#fff";
|
||||||
|
// this->windowBg = isLight ? "#fff" : "#444";
|
||||||
|
|
||||||
isLightTabs = isLight;
|
//#else
|
||||||
#else
|
isLightTabs = true;
|
||||||
QColor tabFg = lightTheme ? "#000" : "#fff";
|
QColor tabFg = isLightTabs ? "#000" : "#fff";
|
||||||
this->windowBg = "#fff";
|
this->windowBg = "#fff";
|
||||||
|
|
||||||
isLightTabs = true;
|
//#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
qreal sat = 0.05;
|
qreal sat = 0.05;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue