Skip to content

Commit

Permalink
Fixed IconPrimary.MaterialDesign button style
Browse files Browse the repository at this point in the history
Fixed #418
  • Loading branch information
AndreasReitberger committed Jan 9, 2024
1 parent d3bfac8 commit a92d419
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<Setter Property="FontSize" Value="{OnIdiom Desktop=Medium, Default=Large}" />
</Style>

<Style x:Key="Style.Core.Button.IconPrimary.MaterialDesign" TargetType="Button" BasedOn="{StaticResource Style.Core.Button.Icon}">
<Style x:Key="Style.Core.Button.IconPrimary.MaterialDesign" TargetType="Button" BasedOn="{StaticResource Style.Core.Button.Icon.MaterialDesign}">
<Setter Property="Background" Value="{DynamicResource PrimaryColor}" />
<Setter Property="TextColor" Value="{Binding Source={RelativeSource Self}, Path=Background, Converter={StaticResource BrushToBlackWhiteConverter}}" />
<Setter Property="VisualStateManager.VisualStateGroups">
Expand Down

0 comments on commit a92d419

Please sign in to comment.