From f98b73eaea6960bc86562a65ae831b43bf309287 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 6 Jan 2021 21:08:32 +0800 Subject: [PATCH] optimize: rename brushes used by this app and re-design light-theme --- src/Resources/Styles/Button.xaml | 4 +- src/Resources/Styles/CheckBox.xaml | 2 +- src/Resources/Styles/ComboBox.xaml | 6 +- src/Resources/Styles/ContextMenu.xaml | 6 +- src/Resources/Styles/DataGrid.xaml | 2 +- src/Resources/Styles/Label.xaml | 2 +- src/Resources/Styles/Path.xaml | 4 +- src/Resources/Styles/RadioButton.xaml | 2 +- src/Resources/Styles/ScrollBar.xaml | 2 +- src/Resources/Styles/TabControl.xaml | 2 +- src/Resources/Styles/TextBox.xaml | 4 +- src/Resources/Styles/ToggleButton.xaml | 14 +- src/Resources/Styles/Tooltip.xaml | 4 +- src/Resources/Styles/TreeView.xaml | 2 +- src/Resources/Themes/Dark.xaml | 27 ++- src/Resources/Themes/Light.xaml | 32 ++- src/UI/About.xaml | 110 +++++---- src/UI/Blame.xaml | 14 +- src/UI/CherryPick.xaml | 2 +- src/UI/CommitViewer.xaml | 38 +-- src/UI/CreateBranch.xaml | 2 +- src/UI/CreateTag.xaml | 2 +- src/UI/Dashboard.xaml | 70 +++--- src/UI/DeleteBranch.xaml | 2 +- src/UI/DeleteRemote.xaml | 2 +- src/UI/DeleteTag.xaml | 2 +- src/UI/DiffViewer.xaml | 16 +- src/UI/DiffViewer.xaml.cs | 13 +- src/UI/Discard.xaml | 2 +- src/UI/Fetch.xaml | 2 +- src/UI/FileHistories.xaml | 17 +- src/UI/FilesDisplayModeSwitch.xaml | 2 +- src/UI/FolderDailog.xaml | 10 +- src/UI/GitFlowFinishBranch.xaml | 2 +- src/UI/Histories.xaml | 18 +- src/UI/InteractiveRebase.xaml | 21 +- src/UI/Launcher.xaml | 36 +-- src/UI/Merge.xaml | 4 +- src/UI/NewPage.xaml | 2 +- src/UI/PopupManager.xaml | 4 +- src/UI/Pull.xaml | 6 +- src/UI/Push.xaml | 6 +- src/UI/PushTag.xaml | 4 +- src/UI/Rebase.xaml | 4 +- src/UI/RenameBranch.xaml | 2 +- src/UI/Reset.xaml | 4 +- src/UI/Revert.xaml | 2 +- src/UI/SettingDialog.xaml | 312 ++++++++++++------------- src/UI/Stashes.xaml | 18 +- src/UI/TwoCommitsDiff.xaml | 18 +- src/UI/UpdateAvailable.xaml | 150 ++++++------ src/UI/WorkingCopy.xaml | 51 ++-- 52 files changed, 553 insertions(+), 532 deletions(-) diff --git a/src/Resources/Styles/Button.xaml b/src/Resources/Styles/Button.xaml index 49c6169b..cf164da9 100644 --- a/src/Resources/Styles/Button.xaml +++ b/src/Resources/Styles/Button.xaml @@ -3,7 +3,7 @@ diff --git a/src/Resources/Styles/CheckBox.xaml b/src/Resources/Styles/CheckBox.xaml index b271d993..0696cece 100644 --- a/src/Resources/Styles/CheckBox.xaml +++ b/src/Resources/Styles/CheckBox.xaml @@ -2,7 +2,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> @@ -15,7 +15,7 @@ - + @@ -60,7 +60,7 @@ - + diff --git a/src/Resources/Styles/DataGrid.xaml b/src/Resources/Styles/DataGrid.xaml index 88bc5450..cf4f42d7 100644 --- a/src/Resources/Styles/DataGrid.xaml +++ b/src/Resources/Styles/DataGrid.xaml @@ -31,7 +31,7 @@ - + diff --git a/src/Resources/Styles/Label.xaml b/src/Resources/Styles/Label.xaml index 7fecb8de..b24a8e48 100644 --- a/src/Resources/Styles/Label.xaml +++ b/src/Resources/Styles/Label.xaml @@ -1,7 +1,7 @@  diff --git a/src/Resources/Styles/Path.xaml b/src/Resources/Styles/Path.xaml index d3f643e6..08335ddd 100644 --- a/src/Resources/Styles/Path.xaml +++ b/src/Resources/Styles/Path.xaml @@ -4,7 +4,7 @@ - + @@ -12,7 +12,7 @@ + + + + + + + + + - + + - - - - - - - - + + + - - + - - - - - - - - - - - - - - - + - + diff --git a/src/UI/Blame.xaml b/src/UI/Blame.xaml index 67100e88..913f83ac 100644 --- a/src/UI/Blame.xaml +++ b/src/UI/Blame.xaml @@ -14,7 +14,7 @@ - + - + @@ -37,7 +37,7 @@ - + @@ -50,7 +50,7 @@ Width="20" Height="20" Margin="6,-1,2,0" Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Git}" - Fill="#FFF05133" + Fill="{StaticResource Brush.Logo}" WindowChrome.IsHitTestVisibleInChrome="True" MouseLeftButtonDown="LogoMouseButtonDown"/> + \ No newline at end of file diff --git a/src/UI/Stashes.xaml b/src/UI/Stashes.xaml index 405a2741..84a31a88 100644 --- a/src/UI/Stashes.xaml +++ b/src/UI/Stashes.xaml @@ -8,7 +8,7 @@ xmlns:converters="clr-namespace:SourceGit.Converters" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"> - + @@ -34,7 +34,7 @@ - + @@ -58,7 +58,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -89,7 +89,7 @@ - + - + @@ -124,7 +124,7 @@ - + diff --git a/src/UI/TwoCommitsDiff.xaml b/src/UI/TwoCommitsDiff.xaml index d7d10745..0dbace45 100644 --- a/src/UI/TwoCommitsDiff.xaml +++ b/src/UI/TwoCommitsDiff.xaml @@ -15,7 +15,7 @@ -