added experimental new tabs

This commit is contained in:
fourtf
2018-03-30 13:44:01 +02:00
parent 0bbb9ae42d
commit 3e7e0269f7
3 changed files with 49 additions and 15 deletions
+2
View File
@@ -89,6 +89,7 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
// tabs
// text, {regular, hover, unfocused}
this->windowBg = "#ccc";
this->tabs.regular = {tabFg, {windowBg, blendColors(windowBg, "#999", 0.5), windowBg}};
this->tabs.selected = {"#fff", {themeColor, themeColor, QColor::fromHslF(hue, 0, 0.5)}};
@@ -103,6 +104,7 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
tabFg,
{blendColors(themeColor, windowBg, 0.7), blendColors(themeColor, windowBg, 0.5),
blendColors(themeColorNoSat, windowBg, 0.7)}};
this->windowBg = "#fff";
// Split
bool flat = isLight;