summaryrefslogtreecommitdiffstats
path: root/application/themes/BrightTheme.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-05 15:51:51 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-06 00:17:02 +0100
commit13b575f7a90ef97f3b30f2a2f74bd19d58d375e7 (patch)
tree4fffdae5bc645bd57d072bf5c3581a2b7613abc8 /application/themes/BrightTheme.cpp
parent495e752f8aef2774702890b8edc93de592c66984 (diff)
downloadMultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar
MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar.gz
MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar.lz
MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar.xz
MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.zip
GH-1711 fix inactive element shading in Dark and Bright themes
Diffstat (limited to 'application/themes/BrightTheme.cpp')
-rw-r--r--application/themes/BrightTheme.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/application/themes/BrightTheme.cpp b/application/themes/BrightTheme.cpp
index b4d59b1f..83d8f0b2 100644
--- a/application/themes/BrightTheme.cpp
+++ b/application/themes/BrightTheme.cpp
@@ -10,11 +10,6 @@ QString BrightTheme::name()
return QObject::tr("Bright");
}
-QString BrightTheme::qtTheme()
-{
- return "Fusion";
-}
-
QPalette BrightTheme::colorScheme()
{
QPalette brightPalette;
@@ -29,10 +24,9 @@ QPalette BrightTheme::colorScheme()
brightPalette.setColor(QPalette::ButtonText, QColor(49,54,59));
brightPalette.setColor(QPalette::BrightText, Qt::red);
brightPalette.setColor(QPalette::Link, QColor(41, 128, 185));
-
brightPalette.setColor(QPalette::Highlight, QColor(61, 174, 233));
brightPalette.setColor(QPalette::HighlightedText, QColor(239,240,241));
- return brightPalette;
+ return fadeInactive(brightPalette, 0.5f, QColor(239,240,241));
}