Fix theme on native light mode, implement volume slider

This commit is contained in:
Dark Steveneq
2025-10-14 10:06:06 +02:00
parent 5ffbede5a0
commit def26f8fda
8 changed files with 46 additions and 41 deletions

View File

@@ -5,6 +5,7 @@ import QtQuick.Controls.Basic 6.8
Label {
property string heading: "base"
color: Colors.text
font.family: Colors.fontFamily
font.pixelSize: Colors.fontSize[heading]
}

View File

@@ -8,20 +8,20 @@ Slider {
implicitWidth: 130
implicitHeight: 20
// OpacityAnimator on opacity{
// from: 0.7
// to: 1
// duration: 200
// target: parent
// running: parent.hovered
// }
// OpacityAnimator on opacity{
// from: 1
// to: 0.7
// duration: 200
// target: parent
// running: !parent.hovered
// }
OpacityAnimator on opacity{
from: 0.7
to: 1
duration: 200
target: this
running: parent.hovered
}
OpacityAnimator on opacity{
from: 1
to: 0.7
duration: 200
target: this
running: !parent.hovered
}
background: Rectangle {
color: "#555"