From a89b53504cf27dfb13d2837a958c1be3621c5712 Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Sun, 21 Jun 2026 18:47:52 +0200 Subject: [PATCH] Clean up styling to better match Windows fluent design guidelines (#638) --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- Config/Apps.json | 2 +- Schemas/AboutWindow.xaml | 26 +- Schemas/AppSelectionWindow.xaml | 24 +- Schemas/ApplyChangesWindow.xaml | 14 +- Schemas/BubbleHint.xaml | 2 +- Schemas/ImportExportConfigWindow.xaml | 4 +- Schemas/MainWindow.xaml | 425 ++++++++---------- ...{MessageBoxWindow.xaml => MessageBox.xaml} | 45 +- Schemas/RestoreBackupWindow.xaml | 52 +-- Schemas/SharedStyles.xaml | 171 ++++--- Scripts/AppRemoval/RemoveApps.ps1 | 23 +- Scripts/GUI/MainWindow-TweaksBuilder.ps1 | 2 +- Scripts/GUI/SetWindowThemeResources.ps1 | 186 +++++--- Scripts/GUI/Show-ApplyModal.ps1 | 2 +- Scripts/GUI/Show-ConfigWindow.ps1 | 18 +- Scripts/GUI/Show-MessageBox.ps1 | 12 +- Win11Debloat.ps1 | 5 +- 18 files changed, 546 insertions(+), 469 deletions(-) rename Schemas/{MessageBoxWindow.xaml => MessageBox.xaml} (67%) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index f7a8aec..0c89d67 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,6 +1,6 @@ name: "🐞 Bug report" description: "Report an issue you encountered" -labels: ["bug","unconfirmed"] +labels: ["bug", "unconfirmed"] body: - type: markdown diff --git a/Config/Apps.json b/Config/Apps.json index 6a034f6..ebe86b3 100644 --- a/Config/Apps.json +++ b/Config/Apps.json @@ -1033,7 +1033,7 @@ ], "Presets": [ { - "Name": "Xbox Gaming apps", + "Name": "Xbox gaming apps", "AppIds": [ "Microsoft.GamingApp", "Microsoft.XboxGameOverlay", diff --git a/Schemas/AboutWindow.xaml b/Schemas/AboutWindow.xaml index e44d37c..4ef56c5 100644 --- a/Schemas/AboutWindow.xaml +++ b/Schemas/AboutWindow.xaml @@ -35,7 +35,7 @@ - + @@ -79,15 +79,15 @@ - + @@ -107,7 +107,7 @@ FontWeight="SemiBold" FontFamily="Segoe Fluent Icons" Text="" - Foreground="{DynamicResource CloseHover}" + Foreground="{DynamicResource TitleBarCloseHoverColor}" Margin="0,0,8,0"/> - - - + - - - + + + - + - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -683,7 +643,7 @@ - + @@ -692,34 +652,34 @@ - - + + - - + + - - + + - + - + @@ -736,7 +696,7 @@ - + @@ -745,7 +705,7 @@ - + @@ -754,10 +714,10 @@ - + - - + + @@ -770,11 +730,11 @@ - + - + @@ -813,47 +773,42 @@ - + - - - - - + + + + + - + - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -878,7 +833,7 @@ - + @@ -888,7 +843,7 @@ - + @@ -903,10 +858,10 @@ - + - - + + @@ -926,15 +881,15 @@ - + - + - + @@ -942,12 +897,12 @@ - + - + @@ -965,7 +920,7 @@ - + @@ -975,7 +930,7 @@ - + @@ -986,23 +941,23 @@ - + - - diff --git a/Schemas/MessageBoxWindow.xaml b/Schemas/MessageBox.xaml similarity index 67% rename from Schemas/MessageBoxWindow.xaml rename to Schemas/MessageBox.xaml index 9c9f009..1324603 100644 --- a/Schemas/MessageBoxWindow.xaml +++ b/Schemas/MessageBox.xaml @@ -12,7 +12,7 @@ Topmost="False" ShowInTaskbar="False"> - - + + Style="{DynamicResource ModalTitleTextStyle}"/> @@ -55,7 +51,7 @@ Grid.Column="0" FontFamily="Segoe Fluent Icons" FontSize="24" - Foreground="{DynamicResource FgColor}" + Foreground="{DynamicResource AppFgColor}" VerticalAlignment="Center" Margin="4,0,14,0" Visibility="Collapsed"/> @@ -67,7 +63,7 @@ TextWrapping="Wrap" FontSize="14" LineHeight="20" - Foreground="{DynamicResource FgColor}" + Foreground="{DynamicResource AppFgColor}" VerticalAlignment="Center" Margin="0,0,20,0"/> @@ -75,24 +71,27 @@ - - - +