Commit 2908173d authored by 潘栩锋's avatar 潘栩锋 🚴

修改颜色

parent be50153a
...@@ -9,18 +9,15 @@ ...@@ -9,18 +9,15 @@
<Setter Property="Background" Value="{StaticResource MahApps.Brushes.Gray9}" /> <Setter Property="Background" Value="{StaticResource MahApps.Brushes.Gray9}" />
</Style> </Style>
<Style x:Key="Styles.Card.Title" TargetType="TextBlock"> <Style x:Key="Styles.Card.Title" TargetType="TextBlock">
<Setter Property="Background" Value="#FFC107"/> <Setter Property="Background" Value="{StaticResource Brushes.Card.Badged.Background}"/>
<Setter Property="Foreground" Value="{StaticResource Brushes.Card.Badged.Foreground}"/>
<Setter Property="FontSize" Value="18"/> <Setter Property="FontSize" Value="18"/>
<Setter Property="HorizontalAlignment" Value="Right"/> <Setter Property="HorizontalAlignment" Value="Right"/>
<Setter Property="Padding" Value="20 5"/> <Setter Property="Padding" Value="20 5"/>
<Setter Property="FontWeight" Value="Bold"/> <Setter Property="FontWeight" Value="Bold"/>
</Style> </Style>
<Style x:Key="Styles.Card.Title2" TargetType="TextBlock"> <Style x:Key="Styles.Card.Title2" TargetType="TextBlock" BasedOn="{StaticResource Styles.Card.Title}">
<Setter Property="Background" Value="#FFC107"/>
<Setter Property="FontSize" Value="18"/>
<Setter Property="HorizontalAlignment" Value="Left"/> <Setter Property="HorizontalAlignment" Value="Left"/>
<Setter Property="Padding" Value="20 5"/>
<Setter Property="FontWeight" Value="Bold"/>
</Style> </Style>
<Style x:Key="Styles.Card.Border" TargetType="Border"> <Style x:Key="Styles.Card.Border" TargetType="Border">
<Setter Property="Margin" Value="5"/> <Setter Property="Margin" Value="5"/>
......
...@@ -20,6 +20,11 @@ ...@@ -20,6 +20,11 @@
<SolidColorBrush x:Key="Brushes.Pass" Color="#4cae50"/> <SolidColorBrush x:Key="Brushes.Pass" Color="#4cae50"/>
<!--Fault颜色--> <!--Fault颜色-->
<SolidColorBrush x:Key="Brushes.Fault" Color="#f34336"/> <SolidColorBrush x:Key="Brushes.Fault" Color="#f34336"/>
<!--Pass颜色-->
<SolidColorBrush x:Key="Brushes.Card.Badged.Background" Color="#FFC107"/>
<!--Fault颜色-->
<SolidColorBrush x:Key="Brushes.Card.Badged.Foreground" Color="Black"/>
<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"/>
......
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