style<*>: new dark theme

This commit is contained in:
leo 2022-10-26 10:02:22 +08:00
parent fc9ede3e09
commit 476c23f9d2
3 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@ namespace SourceGit.Models {
/// <summary> /// <summary>
/// 是否启用深色主题 /// 是否启用深色主题
/// </summary> /// </summary>
public bool UseDarkTheme { get; set; } = true; public bool UseDarkTheme { get; set; } = false;
/// <summary> /// <summary>
/// 起始页仓库列表排序规则 /// 起始页仓库列表排序规则

View file

@ -7,7 +7,7 @@
<SolidColorBrush x:Key="Brush.TitleBar" Color="#FF1F1F1F"/> <SolidColorBrush x:Key="Brush.TitleBar" Color="#FF1F1F1F"/>
<SolidColorBrush x:Key="Brush.TabButtonHover" Color="#FF404040"/> <SolidColorBrush x:Key="Brush.TabButtonHover" Color="#FF404040"/>
<SolidColorBrush x:Key="Brush.Popup" Color="#FF2B2B2B"/> <SolidColorBrush x:Key="Brush.Popup" Color="#FF2B2B2B"/>
<SolidColorBrush x:Key="Brush.Contents" Color="#FF1B1B1B"/> <SolidColorBrush x:Key="Brush.Contents" Color="#FF1E1E1E"/>
<SolidColorBrush x:Key="Brush.Badge" Color="#FF8F8F8F"/> <SolidColorBrush x:Key="Brush.Badge" Color="#FF8F8F8F"/>
<SolidColorBrush x:Key="Brush.Decorator" Color="#FF505050"/> <SolidColorBrush x:Key="Brush.Decorator" Color="#FF505050"/>
<SolidColorBrush x:Key="Brush.DecoratorIcon" Color="#FFF8F8F8"/> <SolidColorBrush x:Key="Brush.DecoratorIcon" Color="#FFF8F8F8"/>

View file

@ -74,7 +74,7 @@
<Setter Property="Template"> <Setter Property="Template">
<Setter.Value> <Setter.Value>
<ControlTemplate TargetType="{x:Type ListBoxItem}"> <ControlTemplate TargetType="{x:Type ListBoxItem}">
<Border x:Name="Border" Background="Transparent" BorderBrush="Transparent" BorderThickness="1,1,1,0"> <Border x:Name="Border" Background="Transparent" BorderBrush="Transparent" BorderThickness="1,1,1,0" CornerRadius="4,4,0,0">
<Grid x:Name="Contents" Width="160" VerticalAlignment="Center" Opacity=".5" ToolTip="{Binding Tooltip}"> <Grid x:Name="Contents" Width="160" VerticalAlignment="Center" Opacity=".5" ToolTip="{Binding Tooltip}">
<Path <Path
Width="8" Margin="8,0,0,0" Width="8" Margin="8,0,0,0"