From cb4eeee6dd661d90befe3895f9a7c7b8438ecc9f Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 11 Mar 2026 17:19:37 +0000 Subject: [PATCH] Rework --- .../io/xpipe/app/resources/style/toggle-switch-comp.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/resources/io/xpipe/app/resources/style/toggle-switch-comp.css b/app/src/main/resources/io/xpipe/app/resources/style/toggle-switch-comp.css index f6272cb6b..16d92fdeb 100644 --- a/app/src/main/resources/io/xpipe/app/resources/style/toggle-switch-comp.css +++ b/app/src/main/resources/io/xpipe/app/resources/style/toggle-switch-comp.css @@ -38,19 +38,19 @@ -fx-padding: 0.8em; } -.root:light:windows .toggle-switch-comp > .thumb { +.root:light .toggle-switch-comp > .thumb { -fx-background-color: -color-neutral-emphasis; } -.root:light:windows .toggle-switch-comp > .thumb-area { +.root:light .toggle-switch-comp > .thumb-area { -fx-background-color: -color-border-default, -color-bg-subtle; } -.root:light:windows .toggle-switch:selected > .thumb { +.root:light .toggle-switch:selected > .thumb { -fx-background-color: -color-accent-emphasis, -color-fg-emphasis; -fx-opacity: 1; } -.root:light:windows .toggle-switch:selected > .thumb-area { +.root:light .toggle-switch:selected > .thumb-area { -fx-background-color: -color-accent-emphasis, -color-accent-emphasis; }