Plane.Libraries/Plane.Windows.Messages/Styles.xaml

24 lines
998 B
Plaintext
Raw Normal View History

2017-02-27 02:04:13 +08:00
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:c="http://metro.mahapps.com/winfx/xaml/controls">
<FontFamily x:Key="AlertFontFamily">Microsoft YaHei</FontFamily>
<SolidColorBrush x:Key="ProgressBarFillBrush"
Color="{DynamicResource HighlightColor}" />
<SolidColorBrush x:Key="WindowGlowBrush"
Color="{DynamicResource HighlightColor}" />
<Style TargetType="c:MetroWindow"
x:Key="AlertWindowStyle"
BasedOn="{StaticResource {x:Type c:MetroWindow}}">
<Setter Property="NonActiveWindowTitleBrush"
Value="Transparent" />
<Setter Property="FontFamily"
Value="{DynamicResource AlertFontFamily}" />
<Setter Property="GlowBrush"
Value="{DynamicResource WindowGlowBrush}" />
</Style>
</ResourceDictionary>