feat: redesign ButtonToggleSwitch.

(cherry picked from commit 3c8854f9de)
This commit is contained in:
Zhang Dian
2024-12-01 17:19:09 +08:00
parent ee3fa830f0
commit 8563ad93c1
4 changed files with 132 additions and 101 deletions

View File

@@ -52,14 +52,11 @@
<StackPanel.Styles>
<Style Selector="Button">
<Setter Property="Theme" Value="{DynamicResource BorderlessButton}" />
<Setter Property="Width" Value="32" />
<Setter Property="Height" Value="32" />
<Setter Property="Padding" Value="8" />
<Setter Property="Foreground" Value="{DynamicResource ButtonDefaultTertiaryForeground}" />
</Style>
<Style Selector="ToggleSwitch">
<Setter Property="Theme" Value="{DynamicResource ThemeToggleSwitch}" />
<Setter Property="Width" Value="32" />
<Setter Property="Height" Value="32" />
<Setter Property="Foreground" Value="{DynamicResource ButtonDefaultTertiaryForeground}" />
</Style>
<Style Selector="PathIcon">