diff options
Diffstat (limited to 'application/themes/BrightTheme.cpp')
-rw-r--r-- | application/themes/BrightTheme.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/application/themes/BrightTheme.cpp b/application/themes/BrightTheme.cpp index 83d8f0b2..a7cfa010 100644 --- a/application/themes/BrightTheme.cpp +++ b/application/themes/BrightTheme.cpp @@ -26,9 +26,18 @@ QPalette BrightTheme::colorScheme() 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 fadeInactive(brightPalette, 0.5f, QColor(239,240,241)); + return fadeInactive(brightPalette, fadeAmount(), fadeColor()); } +double BrightTheme::fadeAmount() +{ + return 0.5; +} + +QColor BrightTheme::fadeColor() +{ + return QColor(239,240,241); +} QString BrightTheme::appStyleSheet() { |