Skip to content

Commit

Permalink
Merge pull request #98 from enisn/1.1-inputfield-disdabled-color-fix
Browse files Browse the repository at this point in the history
Inputfield disabled color fix
  • Loading branch information
enisn authored Nov 10, 2022
2 parents 45aba90 + b73f8af commit a9336b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/migration-guides/Migrating-To-1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Each input has a disabled state now. It's working well after updating to v1.1. B
<VisualState.Setters>
<Setter Property="Opacity" Value="1"/>
<Setter Property="AccentColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}" />
<Setter Property="BorderColor" Value="{AppThemeBinding Light={StaticResource OnBackground}, Dark={StaticResource OnBackgroundDark}}" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="Disabled">
Expand Down
1 change: 1 addition & 0 deletions src/UraniumUI.Material/Resources/StyleResource.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@
<VisualState.Setters>
<Setter Property="Opacity" Value="1"/>
<Setter Property="AccentColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}" />
<Setter Property="BorderColor" Value="{AppThemeBinding Light={StaticResource OnBackground}, Dark={StaticResource OnBackgroundDark}}" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="Disabled">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@
<VisualState.Setters>
<Setter Property="Opacity" Value="1"/>
<Setter Property="AccentColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}" />
<Setter Property="BorderColor" Value="{AppThemeBinding Light={StaticResource OnBackground}, Dark={StaticResource OnBackgroundDark}}" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="Disabled">
Expand Down

0 comments on commit a9336b9

Please sign in to comment.