bind alternateBackgroundColor

This commit is contained in:
Marco Martin 2019-03-06 10:54:54 +01:00
parent 976d08d09a
commit fa8b766eb0

View File

@ -30,6 +30,7 @@ QtObject {
property color highlightColor: theme.highlightColor
property color highlightedTextColor: theme.highlightedTextColor
property color backgroundColor: theme.backgroundColor
property color alternateBackgroundColor: Qt.darker(theme.backgroundColor, 1.05)
//TODO: don't make this invisible
property color activeTextColor: theme.highlightColor
property color linkColor: theme.linkColor
@ -40,26 +41,31 @@ QtObject {
property color buttonTextColor: theme.buttonTextColor
property color buttonBackgroundColor: theme.buttonBackgroundColor
property color buttonAlternateBackgroundColor: Qt.darker(theme.buttonBackgroundColor, 1.05)
property color buttonHoverColor: theme.buttonHoverColor
property color buttonFocusColor: theme.buttonFocusColor
property color viewTextColor: theme.viewTextColor
property color viewBackgroundColor: theme.viewBackgroundColor
property color viewAlternateBackgroundColor: Qt.darker(theme.viewBackgroundColor, 1.05)
property color viewHoverColor: theme.viewHoverColor
property color viewFocusColor: theme.viewFocusColor
property color selectionTextColor: theme.highlightedTextColor
property color selectionBackgroundColor: theme.highlightColor
property color selectionAlternateBackgroundColor: Qt.darker(theme.selectionBackgroundColor, 1.05)
property color selectionHoverColor: theme.buttonHoverColor
property color selectionFocusColor: theme.buttonFocusColor
property color tooltipTextColor: theme.complementaryTextColor
property color tooltipBackgroundColor: theme.complementaryBackgroundColor
property color tooltipAlternateBackgroundColor: Qt.darker(theme.tooltipBackgroundColor, 1.05)
property color tooltipHoverColor: theme.complementaryHoverColor
property color tooltipFocusColor: theme.complementaryFocusColor
property color complementaryTextColor: theme.complementaryTextColor
property color complementaryBackgroundColor: theme.complementaryBackgroundColor
property color complementaryAlternateBackgroundColor: Qt.darker(theme.complementaryBackgroundColor, 1.05)
property color complementaryHoverColor: theme.complementaryHoverColor
property color complementaryFocusColor: theme.complementaryFocusColor