Skip to content

Commit

Permalink
Merge pull request #419 from AndreasReitberger/418-iconprimary-button…
Browse files Browse the repository at this point in the history
…-style-does-not-show-the-text-anymore

Fixed `IconPrimary.MaterialDesign` button style
  • Loading branch information
AndreasReitberger authored Jan 9, 2024
2 parents d3bfac8 + a92d419 commit f8c22dc
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 f8c22dc

Please sign in to comment.