Skip to content

Commit 1d39a44

Browse files
committed
Use DynamicResource for TextBox SelectionBrush
Changed SelectionBrush in TextBox style from StaticResource to DynamicResource for SystemAccentColorLight1Brush. This enables automatic updates to the selection color when the resource changes at runtime, improving theme responsiveness.
1 parent dda9000 commit 1d39a44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Flow.Launcher/Themes/Win11Light.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<Setter Property="Padding" Value="0 0 50 0" />
5353
<Setter Property="Foreground" Value="{DynamicResource Color05B}" />
5454
<Setter Property="CaretBrush" Value="{DynamicResource Color05B}" />
55-
<Setter Property="SelectionBrush" Value="{StaticResource SystemAccentColorLight1Brush}" />
55+
<Setter Property="SelectionBrush" Value="{DynamicResource SystemAccentColorLight1Brush}" />
5656
<Setter Property="FontSize" Value="16" />
5757
<Setter Property="Height" Value="42" />
5858
</Style>

0 commit comments

Comments
 (0)