File tree Expand file tree Collapse file tree 5 files changed +6
-2
lines changed
src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 183183 <!-- Button -->
184184 <SolidColorBrush x : Key =" AccentButtonBackground" Color =" {StaticResource SystemColorHighlightColor}" />
185185 <SolidColorBrush x : Key =" AccentButtonBackgroundPointerOver" Color =" {StaticResource SystemColorButtonTextColor}" />
186- <SolidColorBrush x : Key =" AccentButtonBackgroundPressed" Color =" {StaticResource SystemColorHighlightColor }" />
186+ <SolidColorBrush x : Key =" AccentButtonBackgroundPressed" Color =" {StaticResource SystemColorButtonFaceColor }" />
187187 <SolidColorBrush x : Key =" AccentButtonBackgroundDisabled" Color =" {StaticResource SystemColorButtonFaceColor}" />
188188 <SolidColorBrush x : Key =" AccentButtonForeground" Color =" {StaticResource SystemColorHighlightTextColor}" />
189189 <SolidColorBrush x : Key =" AccentButtonForegroundPointerOver" Color =" {StaticResource SystemColorButtonFaceColor}" />
Original file line number Diff line number Diff line change 116116 <Trigger Property =" IsMouseOver" Value =" True" >
117117 <Setter TargetName =" ContentBorder" Property =" Background" Value =" {DynamicResource AccentButtonBackgroundPointerOver}" />
118118 <Setter TargetName =" ContentBorder" Property =" BorderBrush" Value =" {DynamicResource AccentButtonBorderBrushPointerOver}" />
119+ <Setter TargetName =" ContentPresenter" Property =" TextElement.Foreground" Value =" {DynamicResource AccentButtonForegroundPointerOver}" />
119120 </Trigger >
120121 <Trigger Property =" IsPressed" Value =" True" >
121122 <Setter TargetName =" ContentBorder" Property =" Background" Value =" {DynamicResource AccentButtonBackgroundPressed}" />
Original file line number Diff line number Diff line change 834834 <Trigger Property =" IsMouseOver" Value =" True" >
835835 <Setter TargetName =" ContentBorder" Property =" Background" Value =" {DynamicResource AccentButtonBackgroundPointerOver}" />
836836 <Setter TargetName =" ContentBorder" Property =" BorderBrush" Value =" {DynamicResource AccentButtonBorderBrushPointerOver}" />
837+ <Setter TargetName =" ContentPresenter" Property =" TextElement.Foreground" Value =" {DynamicResource AccentButtonForegroundPointerOver}" />
837838 </Trigger >
838839 <Trigger Property =" IsPressed" Value =" True" >
839840 <Setter TargetName =" ContentBorder" Property =" Background" Value =" {DynamicResource AccentButtonBackgroundPressed}" />
Original file line number Diff line number Diff line change 217217 <!-- Button -->
218218 <SolidColorBrush x : Key =" AccentButtonBackground" Color =" {StaticResource SystemColorHighlightColor}" />
219219 <SolidColorBrush x : Key =" AccentButtonBackgroundPointerOver" Color =" {StaticResource SystemColorButtonTextColor}" />
220- <SolidColorBrush x : Key =" AccentButtonBackgroundPressed" Color =" {StaticResource SystemColorHighlightColor }" />
220+ <SolidColorBrush x : Key =" AccentButtonBackgroundPressed" Color =" {StaticResource SystemColorButtonFaceColor }" />
221221 <SolidColorBrush x : Key =" AccentButtonBackgroundDisabled" Color =" {StaticResource SystemColorButtonFaceColor}" />
222222 <SolidColorBrush x : Key =" AccentButtonForeground" Color =" {StaticResource SystemColorHighlightTextColor}" />
223223 <SolidColorBrush x : Key =" AccentButtonForegroundPointerOver" Color =" {StaticResource SystemColorButtonFaceColor}" />
782782 <Trigger Property =" IsMouseOver" Value =" True" >
783783 <Setter TargetName =" ContentBorder" Property =" Background" Value =" {DynamicResource AccentButtonBackgroundPointerOver}" />
784784 <Setter TargetName =" ContentBorder" Property =" BorderBrush" Value =" {DynamicResource AccentButtonBorderBrushPointerOver}" />
785+ <Setter TargetName =" ContentPresenter" Property =" TextElement.Foreground" Value =" {DynamicResource AccentButtonForegroundPointerOver}" />
785786 </Trigger >
786787 <Trigger Property =" IsPressed" Value =" True" >
787788 <Setter TargetName =" ContentBorder" Property =" Background" Value =" {DynamicResource AccentButtonBackgroundPressed}" />
Original file line number Diff line number Diff line change 843843 <Trigger Property =" IsMouseOver" Value =" True" >
844844 <Setter TargetName =" ContentBorder" Property =" Background" Value =" {DynamicResource AccentButtonBackgroundPointerOver}" />
845845 <Setter TargetName =" ContentBorder" Property =" BorderBrush" Value =" {DynamicResource AccentButtonBorderBrushPointerOver}" />
846+ <Setter TargetName =" ContentPresenter" Property =" TextElement.Foreground" Value =" {DynamicResource AccentButtonForegroundPointerOver}" />
846847 </Trigger >
847848 <Trigger Property =" IsPressed" Value =" True" >
848849 <Setter TargetName =" ContentBorder" Property =" Background" Value =" {DynamicResource AccentButtonBackgroundPressed}" />
You can’t perform that action at this time.
0 commit comments