From b50458745617261712eacf55ea8aa1d4d32349d1 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 8 Aug 2025 22:20:14 +1000 Subject: internal: fix more colours --- components/controls/StyledSwitch.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/controls') diff --git a/components/controls/StyledSwitch.qml b/components/controls/StyledSwitch.qml index e90ced2..c3e3957 100644 --- a/components/controls/StyledSwitch.qml +++ b/components/controls/StyledSwitch.qml @@ -24,7 +24,7 @@ Switch { readonly property real nonAnimWidth: root.pressed ? implicitHeight * 1.3 : implicitHeight radius: Appearance.rounding.full - color: root.checked ? Colours.palette.m3onPrimary : Colours.palette.m3outline + color: root.checked ? Colours.palette.m3onPrimary : Colours.layer(Colours.palette.m3outline, root.cLayer + 1) x: root.checked ? parent.implicitWidth - nonAnimWidth - Appearance.padding.small / 2 : Appearance.padding.small / 2 implicitWidth: nonAnimWidth -- cgit v1.2.3-freya