fix: fix disable foreground.

This commit is contained in:
rabbitism
2024-03-22 20:15:32 +08:00
parent 90fbd2a7e5
commit 4782dab745
2 changed files with 9 additions and 6 deletions

View File

@@ -234,6 +234,9 @@
<Setter Property="BorderBrush" Value="{DynamicResource ButtonDefaultDisabledBorderBrush}" />
<Setter Property="Background" Value="{DynamicResource ButtonDefaultDisabledBackground}" />
</Style>
<Style Selector="^:disabled">
<Setter Property="Foreground" Value="{DynamicResource ButtonDefaultDisabledForeground}" />
</Style>
</ControlTheme>
<ControlTheme