diff options
Diffstat (limited to 'widgets/StyledScrollBar.qml')
| -rw-r--r-- | widgets/StyledScrollBar.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/StyledScrollBar.qml b/widgets/StyledScrollBar.qml index 73b7451..a52bbd2 100644 --- a/widgets/StyledScrollBar.qml +++ b/widgets/StyledScrollBar.qml @@ -1,3 +1,4 @@ +import "root:/services" import "root:/config" import QtQuick import QtQuick.Controls @@ -8,7 +9,7 @@ ScrollBar { contentItem: StyledRect { opacity: root.pressed ? 0.8 : root.policy === ScrollBar.AlwaysOn || (root.active && root.size < 1) ? 0.6 : 0 radius: Appearance.rounding.full - color: Appearance.colours.m3secondary + color: Colours.palette.m3secondary Behavior on opacity { NumberAnimation { @@ -23,7 +24,7 @@ ScrollBar { implicitWidth: 10 opacity: root.policy === ScrollBar.AlwaysOn || (root.active && root.size < 1) ? 0.4 : 0 radius: Appearance.rounding.full - color: Appearance.colours.m3surfaceContainerLow + color: Colours.palette.m3surfaceContainerLow Behavior on opacity { NumberAnimation { |