perf: optimize dark mode theme style

dev_settings
DESKTOP-3BO4HSG\ksat 2 years ago
parent 6429342193
commit 11385128bc

@ -19,7 +19,7 @@
FontSize="18" FontSize="18"
VerticalAlignment="Center" VerticalAlignment="Center"
Text="" Text=""
Foreground="WhiteSmoke"/> Foreground="#abb2bf"/>
</Border> </Border>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true"> <Trigger Property="IsMouseOver" Value="true">
@ -69,7 +69,7 @@
FontSize="22" FontSize="22"
VerticalAlignment="Center" VerticalAlignment="Center"
Text="&#xe9ba;" Text="&#xe9ba;"
Foreground="WhiteSmoke"/> Foreground="#abb2bf"/>
</Border> </Border>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true"> <Trigger Property="IsMouseOver" Value="true">
@ -92,7 +92,7 @@
FontSize="17" FontSize="17"
VerticalAlignment="Center" VerticalAlignment="Center"
Text="&#xe610;" Text="&#xe610;"
Foreground="WhiteSmoke"/> Foreground="#abb2bf"/>
</Border> </Border>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true"> <Trigger Property="IsMouseOver" Value="true">
@ -114,7 +114,7 @@
FontSize="18" FontSize="18"
VerticalAlignment="Center" VerticalAlignment="Center"
Text="&#xe692;" Text="&#xe692;"
Foreground="WhiteSmoke"/> Foreground="#abb2bf"/>
</Border> </Border>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true"> <Trigger Property="IsMouseOver" Value="true">
@ -136,7 +136,7 @@
FontSize="18" FontSize="18"
VerticalAlignment="Center" VerticalAlignment="Center"
Text="&#xe600;" Text="&#xe600;"
Foreground="WhiteSmoke"/> Foreground="#abb2bf"/>
</Border> </Border>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true"> <Trigger Property="IsMouseOver" Value="true">
@ -158,7 +158,7 @@
FontSize="18" FontSize="18"
VerticalAlignment="Center" VerticalAlignment="Center"
Text="&#xe602;" Text="&#xe602;"
Foreground="WhiteSmoke"/> Foreground="#abb2bf"/>
</Border> </Border>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true"> <Trigger Property="IsMouseOver" Value="true">
@ -180,7 +180,7 @@
FontSize="18" FontSize="18"
VerticalAlignment="Center" VerticalAlignment="Center"
Text="&#xe601;" Text="&#xe601;"
Foreground="WhiteSmoke"/> Foreground="#abb2bf"/>
</Border> </Border>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true"> <Trigger Property="IsMouseOver" Value="true">

@ -8,14 +8,14 @@
<!--Combox--> <!--Combox-->
<Style TargetType="{x:Type ComboBox}" x:Key="cmbstyle"> <Style TargetType="{x:Type ComboBox}" x:Key="cmbstyle">
<Setter Property="Background" Value="#282c34"/> <Setter Property="Background" Value="#282c34"/>
<Setter Property="Foreground" Value="WhiteSmoke"/> <Setter Property="Foreground" Value="#abb2bf"/>
<Setter Property="ItemContainerStyle"> <Setter Property="ItemContainerStyle">
<Setter.Value> <Setter.Value>
<!--ComBoxItem--> <!--ComBoxItem-->
<Style TargetType="ComboBoxItem"> <Style TargetType="ComboBoxItem">
<Setter Property="MinHeight" Value="22"/> <Setter Property="MinHeight" Value="22"/>
<Setter Property="MinWidth" Value="40"/> <Setter Property="MinWidth" Value="40"/>
<Setter Property="Foreground" Value="WhiteSmoke"/> <Setter Property="Foreground" Value="#abb2bf"/>
<Setter Property="Template"> <Setter Property="Template">
<Setter.Value> <Setter.Value>
<ControlTemplate TargetType="ComboBoxItem"> <ControlTemplate TargetType="ComboBoxItem">
@ -72,10 +72,10 @@
</Setter> </Setter>
<Style.Triggers> <Style.Triggers>
<Trigger Property="IsMouseOver" Value="True"> <Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="White"/> <Setter Property="Background" Value="#abb2bf"/>
</Trigger> </Trigger>
<Trigger Property="IsMouseOver" Value="False"> <Trigger Property="IsMouseOver" Value="False">
<Setter Property="Background" Value="White"/> <Setter Property="Background" Value="#abb2bf"/>
</Trigger> </Trigger>
</Style.Triggers> </Style.Triggers>
</Style> </Style>

@ -21,11 +21,11 @@
<Style x:Key="TextBoxInputStyle" <Style x:Key="TextBoxInputStyle"
TargetType="TextBox"> TargetType="TextBox">
<Setter Property="Background" Value="Transparent"/> <Setter Property="Background" Value="Transparent"/>
<Setter Property="Foreground" Value="WhiteSmoke"/> <Setter Property="Foreground" Value="#abb2bf"/>
<Setter Property="BorderBrush" Value="{x:Null}"/> <Setter Property="BorderBrush" Value="{x:Null}"/>
<Setter Property="BorderThickness" Value="0"/> <Setter Property="BorderThickness" Value="0"/>
<!--光标颜色--> <!--光标颜色-->
<Setter Property="CaretBrush" Value="WhiteSmoke"/> <Setter Property="CaretBrush" Value="#abb2bf"/>
<!--选区颜色--> <!--选区颜色-->
<Setter Property="SelectionBrush" Value="#404856"/> <Setter Property="SelectionBrush" Value="#404856"/>
<Setter Property="Margin" Value="10,10,5,35"/> <Setter Property="Margin" Value="10,10,5,35"/>
@ -47,13 +47,13 @@
</Style> </Style>
<Style x:Key="LanguageMarkTextBlockStyle" <Style x:Key="LanguageMarkTextBlockStyle"
TargetType="TextBlock"> TargetType="TextBlock">
<Setter Property="Foreground" Value="#eaeaea"/> <Setter Property="Foreground" Value="#cecece"/>
</Style> </Style>
<Style x:Key="TextBoxOutputStyle" <Style x:Key="TextBoxOutputStyle"
TargetType="TextBox"> TargetType="TextBox">
<Setter Property="Background" Value="Transparent"/> <Setter Property="Background" Value="Transparent"/>
<Setter Property="Foreground" Value="WhiteSmoke"/> <Setter Property="Foreground" Value="#abb2bf"/>
<Setter Property="BorderBrush" Value="{x:Null}"/> <Setter Property="BorderBrush" Value="{x:Null}"/>
<Setter Property="BorderThickness" Value="0"/> <Setter Property="BorderThickness" Value="0"/>
<Setter Property="IsReadOnly" Value="True"/> <Setter Property="IsReadOnly" Value="True"/>
@ -71,6 +71,6 @@
<Style x:Key="MidStyle" <Style x:Key="MidStyle"
TargetType="TextBlock"> TargetType="TextBlock">
<Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Foreground" Value="WhiteSmoke"/> <Setter Property="Foreground" Value="#abb2bf"/>
</Style> </Style>
</ResourceDictionary> </ResourceDictionary>
Loading…
Cancel
Save