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; }