summaryrefslogtreecommitdiffstats
path: root/resources/qml/components/NhekoTabButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/components/NhekoTabButton.qml')
-rw-r--r--resources/qml/components/NhekoTabButton.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/components/NhekoTabButton.qml b/resources/qml/components/NhekoTabButton.qml
index 13549068..796177e8 100644
--- a/resources/qml/components/NhekoTabButton.qml
+++ b/resources/qml/components/NhekoTabButton.qml
@@ -13,15 +13,15 @@ TabButton {
text: control.text
font: control.font
opacity: enabled ? 1.0 : 0.3
- color: control.down ? Nheko.colors.highlightedText : Nheko.colors.text
+ color: control.down ? palette.highlightedText : palette.text
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
}
background: Rectangle {
- border.color: control.down ? Nheko.colors.highlight : Nheko.theme.separator
- color: control.checked ? Nheko.colors.highlight : Nheko.colors.base
+ border.color: control.down ? palette.highlight : Nheko.theme.separator
+ color: control.checked ? palette.highlight : palette.base
border.width: 1
radius: 2
}