Skip to content

Commit

Permalink
Expired mail color adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Triky313 committed Apr 20, 2022
1 parent 85b7659 commit 000f5cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/StatisticsAnalysisTool/Styles/Colors.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@
<Color x:Key="Color.Accent.Red.3">#FFFA494C</Color>
<Color x:Key="Color.Accent.Red.4">#FFE23B3E</Color>
<Color x:Key="Color.Accent.Red.5">#FFCD3638</Color>
<Color x:Key="Color.Accent.Red.6">#FFB52F31</Color>

<Color x:Key="Color.Accent.Green.1">#FF98EDB4</Color>
<Color x:Key="Color.Accent.Green.2">#FF64E38E</Color>
<Color x:Key="Color.Accent.Green.3">#FF35DB6C</Color>
<Color x:Key="Color.Accent.Green.4">#FF22BF57</Color>
<Color x:Key="Color.Accent.Green.5">#FF188C3F</Color>
<Color x:Key="Color.Accent.Green.6">#FF10602B</Color>

<Color x:Key="Color.Accent.Yellow.1">#FFf2b83b</Color>
<Color x:Key="Color.Accent.Yellow.2">#55f2b83b</Color>
Expand Down Expand Up @@ -164,12 +166,14 @@
<SolidColorBrush x:Key="SolidColorBrush.Accent.Red.3" Color="{StaticResource Color.Accent.Red.3}"/>
<SolidColorBrush x:Key="SolidColorBrush.Accent.Red.4" Color="{StaticResource Color.Accent.Red.4}"/>
<SolidColorBrush x:Key="SolidColorBrush.Accent.Red.5" Color="{StaticResource Color.Accent.Red.5}"/>
<SolidColorBrush x:Key="SolidColorBrush.Accent.Red.6" Color="{StaticResource Color.Accent.Red.6}"/>

<SolidColorBrush x:Key="SolidColorBrush.Accent.Green.1" Color="{StaticResource Color.Accent.Green.1}"/>
<SolidColorBrush x:Key="SolidColorBrush.Accent.Green.2" Color="{StaticResource Color.Accent.Green.2}"/>
<SolidColorBrush x:Key="SolidColorBrush.Accent.Green.3" Color="{StaticResource Color.Accent.Green.3}"/>
<SolidColorBrush x:Key="SolidColorBrush.Accent.Green.4" Color="{StaticResource Color.Accent.Green.4}"/>
<SolidColorBrush x:Key="SolidColorBrush.Accent.Green.5" Color="{StaticResource Color.Accent.Green.5}"/>
<SolidColorBrush x:Key="SolidColorBrush.Accent.Green.6" Color="{StaticResource Color.Accent.Green.6}"/>

<SolidColorBrush x:Key="SolidColorBrush.Accent.Yellow.1" Color="{StaticResource Color.Accent.Yellow.1}"/>
<SolidColorBrush x:Key="SolidColorBrush.Accent.Yellow.2" Color="{StaticResource Color.Accent.Yellow.2}"/>
Expand Down
8 changes: 4 additions & 4 deletions src/StatisticsAnalysisTool/Styles/MailMonitoringStyle.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
<Setter Property="Background" Value="{StaticResource SolidColorBrush.Accent.Red.3}" />
</DataTrigger>
<DataTrigger Binding="{Binding MailType}" Value="MarketplaceSellOrderExpired">
<Setter Property="Background" Value="{StaticResource SolidColorBrush.Accent.Green.4}" />
<Setter Property="Background" Value="{StaticResource SolidColorBrush.Accent.Green.6}" />
</DataTrigger>
<DataTrigger Binding="{Binding MailType}" Value="MarketplaceBuyOrderExpired">
<Setter Property="Background" Value="{StaticResource SolidColorBrush.Accent.Red.4}" />
<Setter Property="Background" Value="{StaticResource SolidColorBrush.Accent.Red.6}" />
</DataTrigger>
</Style.Triggers>
</Style>
Expand All @@ -83,10 +83,10 @@
<Setter Property="Foreground" Value="{StaticResource SolidColorBrush.Accent.Red.3}" />
</DataTrigger>
<DataTrigger Binding="{Binding MailType}" Value="MarketplaceSellOrderExpired">
<Setter Property="Foreground" Value="{StaticResource SolidColorBrush.Accent.Green.4}" />
<Setter Property="Foreground" Value="{StaticResource SolidColorBrush.Accent.Green.6}" />
</DataTrigger>
<DataTrigger Binding="{Binding MailType}" Value="MarketplaceBuyOrderExpired">
<Setter Property="Foreground" Value="{StaticResource SolidColorBrush.Accent.Red.4}" />
<Setter Property="Foreground" Value="{StaticResource SolidColorBrush.Accent.Red.6}" />
</DataTrigger>
</Style.Triggers>
</Style>
Expand Down

0 comments on commit 000f5cd

Please sign in to comment.