Skip to content

Commit f74f213

Browse files
committed
merge from master
2 parents 7acb586 + 5d03cac commit f74f213

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/InAppNotification/Styles/MSEdgeNotificationStyle.xaml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,18 @@
88
out below
99
-->
1010
<ResourceDictionary x:Key="Default">
11-
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerOverChromeBrush"
12-
Color="Transparent" />
13-
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerOverForegroundBrush"
14-
Color="{ThemeResource SystemColorButtonTextColor}" />
15-
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationButtonBorderBrush"
16-
Color="Transparent" />
11+
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerOverChromeBrush" Color="Transparent" />
12+
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerOverForegroundBrush" Color="{ThemeResource SystemBaseMediumColor}" />
13+
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerPressedForegroundBrush" Color="{ThemeResource SystemBaseHighColor}" />
14+
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationButtonBorderBrush" Color="Transparent" />
1715
</ResourceDictionary>
1816

1917
<!-- HighContrast is used in all high contrast themes -->
2018
<ResourceDictionary x:Key="HighContrast">
21-
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerOverChromeBrush"
22-
Color="{ThemeResource SystemColorHighlightColor}" />
23-
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerOverForegroundBrush"
24-
Color="{ThemeResource SystemColorHighlightTextColor}" />
25-
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationButtonBorderBrush"
26-
Color="{ThemeResource SystemColorButtonTextColor}" />
19+
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerOverChromeBrush" Color="{ThemeResource SystemColorHighlightColor}" />
20+
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerOverForegroundBrush" Color="{ThemeResource SystemBaseHighColor}"/>
21+
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationPointerPressedForegroundBrush" Color="{ThemeResource SystemBaseHighColor}" />
22+
<SolidColorBrush x:Key="SystemControlMSEdgeNotificationButtonBorderBrush" Color="{ThemeResource SystemColorButtonTextColor}" />
2723
</ResourceDictionary>
2824
</ResourceDictionary.ThemeDictionaries>
2925

@@ -68,10 +64,8 @@
6864
</VisualState>
6965
<VisualState x:Name="Pressed">
7066
<Storyboard>
71-
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text"
72-
Storyboard.TargetProperty="Foreground">
73-
<DiscreteObjectKeyFrame KeyTime="0"
74-
Value="{ThemeResource SystemControlMSEdgeNotificationPointerOverForegroundBrush}" />
67+
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Text" Storyboard.TargetProperty="Foreground">
68+
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemControlMSEdgeNotificationPointerPressedForegroundBrush}" />
7569
</ObjectAnimationUsingKeyFrames>
7670
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RootGrid"
7771
Storyboard.TargetProperty="Background">

0 commit comments

Comments
 (0)