perf: optimize dark mode theme style

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

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

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

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