Merge "use PlasmaCore.ColorScope when suitable"
This commit is contained in:
commit
bd7eecb9b5
@ -50,7 +50,7 @@ Text {
|
||||
font.underline: theme.defaultFont.underline
|
||||
font.weight: theme.defaultFont.weight
|
||||
font.wordSpacing: theme.defaultFont.wordSpacing
|
||||
color: theme.textColor
|
||||
color: PlasmaCore.ColorScope.textColor
|
||||
|
||||
opacity: enabled? 1 : 0.6
|
||||
|
||||
|
@ -36,9 +36,9 @@ QtQuickControlStyle.TextAreaStyle {
|
||||
|
||||
font: theme.defaultFont
|
||||
backgroundColor: "transparent"
|
||||
textColor: theme.viewTextColor
|
||||
selectionColor: theme.viewFocusColor
|
||||
selectedTextColor: theme.viewBackgroundColor
|
||||
textColor: control.backgroundVisible ? theme.viewTextColor : PlasmaCore.ColorScope.textColor
|
||||
selectionColor: control.backgroundVisible ? theme.viewFocusColor : PlasmaCore.ColorScope.highlightColor
|
||||
selectedTextColor: control.backgroundVisible ? theme.viewBackgroundColor : PlasmaCore.ColorScope.backgroundColor
|
||||
|
||||
renderType: Text.NativeRendering
|
||||
|
||||
|
@ -87,7 +87,7 @@ QtQuickControlStyle.ButtonStyle {
|
||||
visible: control.text != ""
|
||||
Layout.fillWidth: true
|
||||
height: parent.height
|
||||
color: control.hovered || !control.flat ? theme.buttonTextColor : theme.textColor
|
||||
color: control.hovered || !control.flat ? theme.buttonTextColor : PlasmaCore.ColorScope.textColor
|
||||
horizontalAlignment: icon.valid ? Text.AlignLeft : Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
elide: Text.ElideRight
|
||||
|
Loading…
Reference in New Issue
Block a user