style(*): 界面显示上的一些改进

This commit is contained in:
ZCShou 2020-07-29 15:58:05 +08:00
parent e319eed03a
commit aa017d5f2f
5 changed files with 3 additions and 7 deletions

View file

@ -12,5 +12,5 @@
<SolidColorBrush x:Key="Brush.FG2" Color="#40F1F1F1"/> <SolidColorBrush x:Key="Brush.FG2" Color="#40F1F1F1"/>
<SolidColorBrush x:Key="Brush.Badge" Color="#FF8F8F8F"/> <SolidColorBrush x:Key="Brush.Badge" Color="#FF8F8F8F"/>
<SolidColorBrush x:Key="Brush.Accent1" Color="#FF007ACC"/> <SolidColorBrush x:Key="Brush.Accent1" Color="#FF007ACC"/>
<SolidColorBrush x:Key="Brush.Accent2" Color="#33007ACC"/> <SolidColorBrush x:Key="Brush.Accent2" Color="#4C007ACC"/>
</ResourceDictionary> </ResourceDictionary>

View file

@ -11,5 +11,5 @@
<SolidColorBrush x:Key="Brush.FG2" Color="DarkGray"/> <SolidColorBrush x:Key="Brush.FG2" Color="DarkGray"/>
<SolidColorBrush x:Key="Brush.Badge" Color="#FF8F8F8F"/> <SolidColorBrush x:Key="Brush.Badge" Color="#FF8F8F8F"/>
<SolidColorBrush x:Key="Brush.Accent1" Color="#FF4295FF"/> <SolidColorBrush x:Key="Brush.Accent1" Color="#FF4295FF"/>
<SolidColorBrush x:Key="Brush.Accent2" Color="#33007ACC"/> <SolidColorBrush x:Key="Brush.Accent2" Color="#4C007ACC"/>
</ResourceDictionary> </ResourceDictionary>

View file

@ -86,8 +86,6 @@
<Setter TargetName="BG" Property="Background" Value="#FFFFB835"/> <Setter TargetName="BG" Property="Background" Value="#FFFFB835"/>
<Setter TargetName="Icon" Property="Data" Value="{StaticResource Icon.Check}"/> <Setter TargetName="Icon" Property="Data" Value="{StaticResource Icon.Check}"/>
<Setter TargetName="Icon" Property="Fill" Value="Orange"/> <Setter TargetName="Icon" Property="Fill" Value="Orange"/>
<Setter TargetName="Name" Property="FontWeight" Value="Bold"/>
<Setter TargetName="Name" Property="Foreground" Value="{StaticResource Brush.FG}"/>
</DataTrigger> </DataTrigger>
</DataTemplate.Triggers> </DataTemplate.Triggers>
</DataTemplate> </DataTemplate>

View file

@ -114,8 +114,6 @@
<Setter TargetName="BG" Property="Background" Value="#FFFFB835"/> <Setter TargetName="BG" Property="Background" Value="#FFFFB835"/>
<Setter TargetName="Icon" Property="Data" Value="{StaticResource Icon.Check}"/> <Setter TargetName="Icon" Property="Data" Value="{StaticResource Icon.Check}"/>
<Setter TargetName="Icon" Property="Fill" Value="Orange"/> <Setter TargetName="Icon" Property="Fill" Value="Orange"/>
<Setter TargetName="Name" Property="FontWeight" Value="Bold"/>
<Setter TargetName="Name" Property="Foreground" Value="{StaticResource Brush.FG}"/>
</DataTrigger> </DataTrigger>
</DataTemplate.Triggers> </DataTemplate.Triggers>
</DataTemplate> </DataTemplate>

View file

@ -169,7 +169,7 @@ namespace SourceGit.UI {
maker.Dots.Clear(); maker.Dots.Clear();
commitList.ItemsSource = new List<Git.Commit>(cachedCommits); commitList.ItemsSource = new List<Git.Commit>(cachedCommits);
Navigate(maker.Highlight); // Navigate(maker.Highlight);
SetLoadingEnabled(false); SetLoadingEnabled(false);
}); });
} }