diff --git a/src/Converters/FileStatusToColor.cs b/src/Converters/FileStatusToColor.cs index e57940e2..75af6980 100644 --- a/src/Converters/FileStatusToColor.cs +++ b/src/Converters/FileStatusToColor.cs @@ -27,29 +27,16 @@ namespace SourceGit.Converters { status = change.Index; } - if (App.Setting.UI.UseLightTheme) { - switch (status) { - case Git.Change.Status.Modified: return Brushes.Goldenrod; - case Git.Change.Status.Added: return Brushes.Green; - case Git.Change.Status.Deleted: return Brushes.Red; - case Git.Change.Status.Renamed: return Brushes.Magenta; - case Git.Change.Status.Copied: return Brushes.Goldenrod; - case Git.Change.Status.Unmerged: return Brushes.Goldenrod; - case Git.Change.Status.Untracked: return Brushes.Green; - default: return Brushes.Transparent; - } - } else { - switch (status) { - case Git.Change.Status.Modified: return Brushes.DarkGoldenrod; - case Git.Change.Status.Added: return Brushes.DarkGreen; - case Git.Change.Status.Deleted: return Brushes.DarkRed; - case Git.Change.Status.Renamed: return Brushes.DarkMagenta; - case Git.Change.Status.Copied: return Brushes.DarkGoldenrod; - case Git.Change.Status.Unmerged: return Brushes.DarkGoldenrod; - case Git.Change.Status.Untracked: return Brushes.DarkGreen; - default: return Brushes.Transparent; - } - } + switch (status) { + case Git.Change.Status.Modified: return new LinearGradientBrush(Colors.Orange, Color.FromRgb(255, 213, 134), 90); + case Git.Change.Status.Added: return new LinearGradientBrush(Colors.LimeGreen, Color.FromRgb(124, 241, 124), 90); + case Git.Change.Status.Deleted: return new LinearGradientBrush(Colors.Tomato, Color.FromRgb(252, 165, 150), 90); + case Git.Change.Status.Renamed: return new LinearGradientBrush(Colors.Orchid, Color.FromRgb(248, 161, 245), 90); + case Git.Change.Status.Copied: return new LinearGradientBrush(Colors.Orange, Color.FromRgb(255, 213, 134), 90); + case Git.Change.Status.Unmerged: return new LinearGradientBrush(Colors.Orange, Color.FromRgb(255, 213, 134), 90); + case Git.Change.Status.Untracked: return new LinearGradientBrush(Colors.LimeGreen, Color.FromRgb(124, 241, 124), 90); + default: return Brushes.Transparent; + } } public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { diff --git a/src/UI/CommitViewer.xaml b/src/UI/CommitViewer.xaml index 279caae9..2ce445b1 100644 --- a/src/UI/CommitViewer.xaml +++ b/src/UI/CommitViewer.xaml @@ -235,7 +235,7 @@ - + @@ -318,7 +318,7 @@ - + @@ -366,7 +366,7 @@ - + diff --git a/src/UI/Stashes.xaml b/src/UI/Stashes.xaml index 475b4997..f16734d6 100644 --- a/src/UI/Stashes.xaml +++ b/src/UI/Stashes.xaml @@ -118,7 +118,7 @@ - + diff --git a/src/UI/TwoCommitsDiff.xaml b/src/UI/TwoCommitsDiff.xaml index 63765873..5119931e 100644 --- a/src/UI/TwoCommitsDiff.xaml +++ b/src/UI/TwoCommitsDiff.xaml @@ -76,7 +76,7 @@ - + @@ -122,7 +122,7 @@ - + diff --git a/src/UI/WorkingCopy.xaml b/src/UI/WorkingCopy.xaml index d864c26b..3ab8a5cc 100644 --- a/src/UI/WorkingCopy.xaml +++ b/src/UI/WorkingCopy.xaml @@ -107,7 +107,7 @@ - + @@ -163,7 +163,7 @@ - + @@ -258,7 +258,7 @@ - + @@ -313,7 +313,7 @@ - +