Skip to content

Commit 2d15b99

Browse files
committed
Change colours for ImageEx control template
Background should be transparent (as it is Control's default) and foreground should use ThemeResource by default
1 parent a938c10 commit 2d15b99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/ImageEx/ImageEx.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls">
55

66
<Style TargetType="controls:ImageEx">
7-
<Setter Property="Background" Value="Black" />
8-
<Setter Property="Foreground" Value="White" />
7+
<Setter Property="Background" Value="Transparent" />
8+
<Setter Property="Foreground" Value="{ThemeResource ApplicationForegroundThemeBrush}" />
99
<Setter Property="Template">
1010
<Setter.Value>
1111
<ControlTemplate TargetType="controls:ImageEx">

0 commit comments

Comments
 (0)