Skip to content

Commit

Permalink
Fixes #862
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Nov 29, 2020
1 parent a5540e9 commit f69754c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Fixing window button layout when DPI != 100%
- [#860](../../issues/860) - Quick access buttons do not show when first item is added
- [#862](../../issues/862) - Hover effects on minimize/maximize icons (colorful theme)
- [#869](../../issues/869) - Crash if Ribbon is collapsed (after Update to Version 8.0.1)

## 8.0.1
Expand Down
10 changes: 7 additions & 3 deletions Fluent.Ribbon/Themes/Themes/GeneratorParameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
"Fluent.Ribbon.Colors.DarkExtremeHighlightColor": "#FFF29536",
"Fluent.Ribbon.Colors.Images.DefaultColor": "{StaticResource BlackColor}",
"Fluent.Ribbon.Brushes.ApplicationMenuItem.CheckBox.Background": "#FFFCF1C2",
"Fluent.Ribbon.Brushes.ApplicationMenuItem.CheckBox.BorderBrush": "#FFF29536",
"Fluent.Ribbon.Brushes.ApplicationMenuItem.CheckBox.BorderBrush": "#FFF29536",
"Fluent.Ribbon.Brushes.RibbonTabControl.Background": "{StaticResource WhiteColor}",
"Fluent.Ribbon.Brushes.RibbonWindow.TitleBackground": "Transparent",
"Fluent.Ribbon.Brushes.RibbonWindow.TitleForeground": "{StaticResource BlackColor}",
"Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Foreground": "{StaticResource BlackColor}"
"Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Foreground": "{StaticResource BlackColor}",
"Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.MouseOver.Background": "{StaticResource Fluent.Ribbon.Colors.AccentColor20}",
"Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Pressed.Background": "{StaticResource Fluent.Ribbon.Colors.AccentColor40}"
},
"BaseColorSchemes": [
{
Expand Down Expand Up @@ -109,7 +111,9 @@
"Fluent.Ribbon.Brushes.RibbonTabItem.Selected.MouseOver.Foreground": "{StaticResource Gray1}",
"Fluent.Ribbon.Brushes.RibbonWindow.TitleBackground": "{StaticResource Fluent.Ribbon.Colors.AccentBaseColor}",
"Fluent.Ribbon.Brushes.RibbonWindow.TitleForeground": "{StaticResource Fluent.Ribbon.Colors.IdealForegroundColor}",
"Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Foreground": "{StaticResource Fluent.Ribbon.Colors.IdealForegroundColor}"
"Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Foreground": "{StaticResource Fluent.Ribbon.Colors.IdealForegroundColor}",
"Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.MouseOver.Background": "{StaticResource WhiteColor20}",
"Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Pressed.Background": "{StaticResource WhiteColor}"
}
}
],
Expand Down
4 changes: 2 additions & 2 deletions Fluent.Ribbon/Themes/Themes/Theme.Template.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@
<!-- WindowCommands -->
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Foreground" Color="{{Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Foreground}}" options:Freeze="True" />
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Background" Color="{StaticResource TransparentWhiteColor}" options:Freeze="True" />
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.MouseOver.Background" Color="{StaticResource Fluent.Ribbon.Colors.AccentColor20}" options:Freeze="True" />
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Pressed.Background" Color="{StaticResource Fluent.Ribbon.Colors.AccentColor40}" options:Freeze="True" />
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.MouseOver.Background" Color="{{Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.MouseOver.Background}}" options:Freeze="True" />
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Pressed.Background" Color="{{Fluent.Ribbon.Brushes.WindowCommands.CaptionButton.Pressed.Background}}" options:Freeze="True" />

<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.WindowCommands.CloseButton.MouseOver.Background" Color="#E81123" options:Freeze="True" />
<SolidColorBrush x:Key="Fluent.Ribbon.Brushes.WindowCommands.CloseButton.Pressed.Background" Color="#A92831" options:Freeze="True" />
Expand Down

0 comments on commit f69754c

Please sign in to comment.