From 599119fa235b6d72b2a2a28779021458dbca0990 Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Tue, 4 Jun 2024 13:09:29 +0200 Subject: [PATCH 1/3] Add new SurfaceTranslucentMid and High colors --- .../Resources/Palette/Colors/ElementColors.axaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Themes/NexusMods.Themes.NexusFluentDark/Resources/Palette/Colors/ElementColors.axaml b/src/Themes/NexusMods.Themes.NexusFluentDark/Resources/Palette/Colors/ElementColors.axaml index b4e10de6b9..be9d53a799 100644 --- a/src/Themes/NexusMods.Themes.NexusFluentDark/Resources/Palette/Colors/ElementColors.axaml +++ b/src/Themes/NexusMods.Themes.NexusFluentDark/Resources/Palette/Colors/ElementColors.axaml @@ -27,10 +27,14 @@ - + + + + + From ed73b39ad4838dca29fd004ab489ef1edad8dd2c Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Tue, 4 Jun 2024 14:03:17 +0200 Subject: [PATCH 2/3] Redo ImageButton Styling from scratch - Changed shape - Implemented all transparencies and border changes - Implemented all states - Fixed ToolTip inheriting the Styles for ImageButton --- .../Spine/Buttons/Icon/IconButton.axaml | 22 +- .../Spine/Buttons/Image/ImageButton.axaml | 35 +-- .../Controls/Button/SpineButtonStyles.axaml | 225 +++++++++++++----- 3 files changed, 190 insertions(+), 92 deletions(-) diff --git a/src/NexusMods.App.UI/Controls/Spine/Buttons/Icon/IconButton.axaml b/src/NexusMods.App.UI/Controls/Spine/Buttons/Icon/IconButton.axaml index 5f68e0b0d6..21cedaa6b0 100644 --- a/src/NexusMods.App.UI/Controls/Spine/Buttons/Icon/IconButton.axaml +++ b/src/NexusMods.App.UI/Controls/Spine/Buttons/Icon/IconButton.axaml @@ -11,6 +11,7 @@ xmlns:reactiveUi="http://reactiveui.net" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:icons="clr-namespace:NexusMods.Icons;assembly=NexusMods.Icons"> + @@ -26,17 +27,16 @@ - - + + diff --git a/src/NexusMods.App.UI/Controls/Spine/Buttons/Image/ImageButton.axaml b/src/NexusMods.App.UI/Controls/Spine/Buttons/Image/ImageButton.axaml index 6fecc16ce1..3454110cd9 100644 --- a/src/NexusMods.App.UI/Controls/Spine/Buttons/Image/ImageButton.axaml +++ b/src/NexusMods.App.UI/Controls/Spine/Buttons/Image/ImageButton.axaml @@ -1,6 +1,6 @@  - diff --git a/src/Themes/NexusMods.Themes.NexusFluentDark/Styles/Controls/Button/SpineButtonStyles.axaml b/src/Themes/NexusMods.Themes.NexusFluentDark/Styles/Controls/Button/SpineButtonStyles.axaml index 36740225f8..8465273901 100644 --- a/src/Themes/NexusMods.Themes.NexusFluentDark/Styles/Controls/Button/SpineButtonStyles.axaml +++ b/src/Themes/NexusMods.Themes.NexusFluentDark/Styles/Controls/Button/SpineButtonStyles.axaml @@ -8,31 +8,27 @@