improve:主题切换

This commit is contained in:
2025-10-04 17:47:52 +08:00
parent 98915bcff2
commit ddea61245d
2 changed files with 13 additions and 8 deletions
+5 -5
View File
@@ -8917,14 +8917,14 @@
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Center"
Margin="0,0,0,0" Spacing="4">
<Border x:Name="CircleEraserTabButton" MouseDown="SwitchToCircleEraser"
Background="#553b82f6" Height="20" Width="40" CornerRadius="3">
Background="{DynamicResource FloatBarButtonBackgroundPointerOverKey}" Height="20" Width="40" CornerRadius="3">
<Canvas>
<ui:SimpleStackPanel x:Name="CircleEraserTabButtonIndicator"
Visibility="Visible"
Orientation="Horizontal"
Canvas.Left="11" Canvas.Right="11"
Canvas.Bottom="0">
<Border Width="18" Height="2" Background="#2563eb"
<Border Width="18" Height="2" Background="{DynamicResource FloatBarButtonButtonBackgroundPressedKey}"
CornerRadius="1" />
</ui:SimpleStackPanel>
<ui:SimpleStackPanel Orientation="Vertical" Height="20"
@@ -8933,7 +8933,7 @@
Orientation="Horizontal"
HorizontalAlignment="Center" Margin="0,3">
<TextBlock x:Name="CircleEraserTabButtonText"
Foreground="#172554" FontWeight="Medium"
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
FontSize="9" TextAlignment="Center"
Text="圆形擦"
Margin="2,1,0,0" />
@@ -8949,7 +8949,7 @@
x:Name="RectangleEraserTabButtonIndicator"
Orientation="Horizontal" Canvas.Left="11"
Canvas.Right="11" Canvas.Bottom="0">
<Border Width="18" Height="2" Background="#2563eb"
<Border Width="18" Height="2" Background="{DynamicResource FloatBarButtonButtonBackgroundPressedKey}"
CornerRadius="1" />
</ui:SimpleStackPanel>
<ui:SimpleStackPanel Orientation="Vertical" Height="20"
@@ -8958,7 +8958,7 @@
Orientation="Horizontal"
HorizontalAlignment="Center" Margin="0,3">
<TextBlock x:Name="RectangleEraserTabButtonText"
Foreground="#172554" FontWeight="Medium"
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
FontSize="9" TextAlignment="Center"
Text="黑板擦"
Margin="2,1,0,0" />