From 01ddd07de55df943461a1944c644ae53aeb43e77 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 4 Mar 2024 21:23:17 +0800 Subject: [PATCH] style<*>: set Background of all widgets used to display content of file to Brush.Contents for --- src/Views/Blame.axaml | 3 ++- src/Views/RevisionFiles.axaml | 2 +- src/Views/TextDiffView.axaml | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Views/Blame.axaml b/src/Views/Blame.axaml index aa8232f9..1c9ff66f 100644 --- a/src/Views/Blame.axaml +++ b/src/Views/Blame.axaml @@ -27,7 +27,7 @@ - + @@ -55,6 +55,7 @@ VerticalScrollBarVisibility="Auto" BorderBrush="{DynamicResource Brush.Border2}" BorderThickness="0" + Background="{DynamicResource Brush.Contents}" Foreground="{DynamicResource Brush.FG1}" FontFamily="{StaticResource JetBrainsMono}" FontSize="12" diff --git a/src/Views/RevisionFiles.axaml b/src/Views/RevisionFiles.axaml index 858e3ba6..e32f6a98 100644 --- a/src/Views/RevisionFiles.axaml +++ b/src/Views/RevisionFiles.axaml @@ -89,7 +89,7 @@ - + diff --git a/src/Views/TextDiffView.axaml b/src/Views/TextDiffView.axaml index 4321137a..d4d92ccd 100644 --- a/src/Views/TextDiffView.axaml +++ b/src/Views/TextDiffView.axaml @@ -7,7 +7,8 @@ xmlns:v="using:SourceGit.Views" xmlns:c="using:SourceGit.Converters" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" - x:Class="SourceGit.Views.TextDiffView"> + x:Class="SourceGit.Views.TextDiffView" + Background="{DynamicResource Brush.Contents}">