use the highlight color for selected text

plasma theme highlight color comes from the text selection
background kcoloscheme, so that's the one coherent with qwidget
based apps

BUG:374140
This commit is contained in:
Marco Martin 2017-01-11 18:41:41 +01:00
parent 0a7ae2ce97
commit 31cd81ca53

View File

@ -31,7 +31,7 @@ QtQuickControlStyle.TextFieldStyle {
id: root
textColor: control.enabled ? theme.viewTextColor : Qt.rgba(theme.viewTextColor.r, theme.viewTextColor.g, theme.viewTextColor.b, 0.6)
selectionColor: theme.viewFocusColor
selectionColor: theme.highlightColor
selectedTextColor: theme.viewHighlightedTextColor
placeholderTextColor: Qt.rgba(theme.viewTextColor.r, theme.viewTextColor.g, theme.viewTextColor.b, 0.5)