mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
porting: Port away from PlasmaCore colors
This commit is contained in:
parent
f84715ec4c
commit
7e012fc49a
3 changed files with 6 additions and 6 deletions
|
|
@ -131,7 +131,7 @@ Item {
|
|||
id: date
|
||||
text: Qt.formatDate(timeSource.data.Local.DateTime, "ddd MMMM d")
|
||||
verticalAlignment: Qt.AlignTop
|
||||
color: PlasmaCore.ColorScope.disabledTextColor
|
||||
color: Kirigami.Theme.disabledTextColor
|
||||
opacity: columnLayout.opacity
|
||||
|
||||
anchors {
|
||||
|
|
|
|||
|
|
@ -36,10 +36,10 @@ Components.BaseItem {
|
|||
// set by children
|
||||
property var iconItem
|
||||
|
||||
readonly property color enabledButtonBorderColor: Qt.darker(PlasmaCore.ColorScope.highlightColor, 1.25)
|
||||
readonly property color enabledButtonBorderColor: Qt.darker(Kirigami.Theme.highlightColor, 1.25)
|
||||
readonly property color disabledButtonBorderColor: Kirigami.ColorUtils.tintWithAlpha(Kirigami.Theme.textColor, Kirigami.Theme.backgroundColor, 0.75)
|
||||
readonly property color enabledButtonColor: Kirigami.ColorUtils.tintWithAlpha(PlasmaCore.ColorScope.highlightColor, Kirigami.Theme.backgroundColor, 0.6)
|
||||
readonly property color enabledButtonPressedColor: Kirigami.ColorUtils.tintWithAlpha(PlasmaCore.ColorScope.highlightColor, Kirigami.Theme.backgroundColor, 0.4);
|
||||
readonly property color enabledButtonColor: Kirigami.ColorUtils.tintWithAlpha(Kirigami.Theme.highlightColor, Kirigami.Theme.backgroundColor, 0.6)
|
||||
readonly property color enabledButtonPressedColor: Kirigami.ColorUtils.tintWithAlpha(Kirigami.Theme.highlightColor, Kirigami.Theme.backgroundColor, 0.4);
|
||||
readonly property color disabledButtonColor: Kirigami.Theme.backgroundColor
|
||||
readonly property color disabledButtonPressedColor: Qt.darker(disabledButtonColor, 1.1)
|
||||
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ Item {
|
|||
|
||||
PlasmaComponents.Label {
|
||||
text: Qt.formatDate(timeSource.data.Local.DateTime, "ddd. MMMM d")
|
||||
color: PlasmaCore.ColorScope.disabledTextColor
|
||||
color: Kirigami.Theme.disabledTextColor
|
||||
font.pixelSize: root.smallerTextPixelSize
|
||||
}
|
||||
|
||||
|
|
@ -213,7 +213,7 @@ Item {
|
|||
|
||||
visible: root.showTime
|
||||
text: signalStrengthInfo.label
|
||||
color: PlasmaCore.ColorScope.disabledTextColor
|
||||
color: Kirigami.Theme.disabledTextColor
|
||||
font.pixelSize: root.smallerTextPixelSize
|
||||
horizontalAlignment: Qt.AlignRight
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue