From 9394770c76cb416bc2d4dc8d769ae24634a2e5d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sun, 10 Dec 2023 12:01:29 +0100 Subject: [PATCH] Added instant theme switching (#353) --- ColorPicker/App.xaml | 94 +++++----- ColorPicker/Classes/Global.cs | 3 +- ColorPicker/MainWindow.xaml | 56 +++--- ColorPicker/MainWindow.xaml.cs | 22 +-- ColorPicker/Pages/AiGenPage.xaml | 186 +++++++++---------- ColorPicker/Pages/AiGenPage.xaml.cs | 2 +- ColorPicker/Pages/BookmarksPage.xaml | 14 +- ColorPicker/Pages/BookmarksPage.xaml.cs | 2 +- ColorPicker/Pages/ChromaticWheelPage.xaml | 124 ++++++------- ColorPicker/Pages/ChromaticWheelPage.xaml.cs | 2 +- ColorPicker/Pages/ConverterPage.xaml | 182 +++++++++--------- ColorPicker/Pages/ConverterPage.xaml.cs | 6 +- ColorPicker/Pages/FirstRun/FeaturesPage.xaml | 24 +-- ColorPicker/Pages/FirstRun/JumpInPage.xaml | 6 +- ColorPicker/Pages/FirstRun/SynethiaPage.xaml | 18 +- ColorPicker/Pages/FirstRun/ThemePage.xaml | 6 +- ColorPicker/Pages/FirstRun/ThemePage.xaml.cs | 8 +- ColorPicker/Pages/FirstRun/WelcomePage.xaml | 16 +- ColorPicker/Pages/GradientPage.xaml | 118 ++++++------ ColorPicker/Pages/GradientPage.xaml.cs | 2 +- ColorPicker/Pages/HarmoniesPage.xaml | 64 +++---- ColorPicker/Pages/HarmoniesPage.xaml.cs | 10 +- ColorPicker/Pages/HomePage.xaml | 8 +- ColorPicker/Pages/PalettePage.xaml | 70 +++---- ColorPicker/Pages/PalettePage.xaml.cs | 6 +- ColorPicker/Pages/SelectorPage.xaml | 146 +++++++-------- ColorPicker/Pages/SelectorPage.xaml.cs | 18 +- ColorPicker/Pages/SettingsPage.xaml | 166 ++++++++--------- ColorPicker/Pages/SettingsPage.xaml.cs | 35 +--- ColorPicker/Pages/TextPage.xaml | 112 +++++------ ColorPicker/Pages/TextPage.xaml.cs | 2 +- ColorPicker/UserControls/ActionCard.xaml | 8 +- ColorPicker/UserControls/ColorItem.xaml | 50 ++--- ColorPicker/UserControls/ColorItem.xaml.cs | 4 +- ColorPicker/UserControls/GradientItem.xaml | 26 +-- ColorPicker/UserControls/PageCard.xaml | 6 +- ColorPicker/UserControls/PaletteItem.xaml | 26 +-- ColorPicker/UserControls/PaletteItem.xaml.cs | 8 +- ColorPicker/UserControls/TextItem.xaml | 20 +- ColorPicker/Windows/ColorDetailsWindow.xaml | 54 +++--- ColorPicker/Windows/FirstRunWindow.xaml | 8 +- ColorPicker/Windows/MiniPicker.xaml | 8 +- 42 files changed, 863 insertions(+), 883 deletions(-) diff --git a/ColorPicker/App.xaml b/ColorPicker/App.xaml index 5ef93dc3..ae5cf023 100644 --- a/ColorPicker/App.xaml +++ b/ColorPicker/App.xaml @@ -36,20 +36,20 @@ - + - + - + @@ -81,7 +81,7 @@ - + @@ -94,7 +94,7 @@ - + @@ -126,19 +126,19 @@ - - + + - - + + - + @@ -171,19 +171,19 @@ - - + + - - + + - + @@ -221,15 +221,15 @@ + Fill="{DynamicResource Gray}" /> + Fill="{DynamicResource Gray}" /> + Fill="{DynamicResource Gray}" /> @@ -378,13 +378,13 @@ - + - + - + @@ -1165,39 +1165,39 @@ - - + + - - + + - + - + - - + + - + - - + + - + - + - - + + - + @@ -1343,7 +1343,7 @@ Color="Transparent"> @@ -1431,7 +1431,7 @@ Color="Transparent"> @@ -1508,7 +1508,7 @@