Commit be50153a authored by 潘栩锋's avatar 潘栩锋 🚴

添加 添加Brushes.Pass(绿色) Brushes.Fault(红色)

parent 5053cdf1
...@@ -14,8 +14,13 @@ ...@@ -14,8 +14,13 @@
<!--不合法颜色--> <!--不合法颜色-->
<SolidColorBrush x:Key="Brushes.Validation" Color="DarkRed"/> <SolidColorBrush x:Key="Brushes.Validation" Color="DarkRed"/>
<!--不合法颜色--> <!--不合法颜色-->
<SolidColorBrush x:Key="Brushes.Highlight" Color="Red"/> <SolidColorBrush x:Key="Brushes.Highlight" Color="#f34336"/>
<!--Pass颜色-->
<SolidColorBrush x:Key="Brushes.Pass" Color="#4cae50"/>
<!--Fault颜色-->
<SolidColorBrush x:Key="Brushes.Fault" Color="#f34336"/>
<SolidColorBrush x:Key="Brushes.Text.White" Color="White"/> <SolidColorBrush x:Key="Brushes.Text.White" Color="White"/>
<SolidColorBrush x:Key="Brushes.Text.Gray" Color="#FFC3C3C3"/> <SolidColorBrush x:Key="Brushes.Text.Gray" Color="#FFC3C3C3"/>
<SolidColorBrush x:Key="Brushes.Text.Black" Color="Black"/> <SolidColorBrush x:Key="Brushes.Text.Black" Color="Black"/>
......
...@@ -118,6 +118,7 @@ ...@@ -118,6 +118,7 @@
<Trigger Property="IsKeyboardFocused" Value="true"> <Trigger Property="IsKeyboardFocused" Value="true">
</Trigger> </Trigger>
<Trigger Property="IsEnabled" Value="false"> <Trigger Property="IsEnabled" Value="false">
<Setter Property="Background" Value="{StaticResource Brushes.NoAct}"/>
</Trigger> </Trigger>
<Trigger Property="IsPressed" Value="true"> <Trigger Property="IsPressed" Value="true">
<Setter Property="Opacity" Value="0.5"/> <Setter Property="Opacity" Value="0.5"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment