34 lines
1.6 KiB
XML
34 lines
1.6 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:hc="clr-namespace:HandyControl.Controls"
|
|
xmlns:themes="clr-namespace:HandyControl.Themes">
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<themes:SharedResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Styles/Base/BadgeBaseStyle.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<Style BasedOn="{StaticResource BadgeBaseStyle}" TargetType="hc:Badge">
|
|
<Setter Property="Foreground" Value="{DynamicResource PrimaryTextBrush}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BadgePrimary" BasedOn="{StaticResource BadgeBaseStyle}" TargetType="hc:Badge">
|
|
<Setter Property="Background" Value="{DynamicResource PrimaryBrush}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BadgeSuccess" BasedOn="{StaticResource BadgeBaseStyle}" TargetType="hc:Badge">
|
|
<Setter Property="Background" Value="{DynamicResource SuccessBrush}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BadgeInfo" BasedOn="{StaticResource BadgeBaseStyle}" TargetType="hc:Badge">
|
|
<Setter Property="Background" Value="{DynamicResource InfoBrush}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BadgeWarning" BasedOn="{StaticResource BadgeBaseStyle}" TargetType="hc:Badge">
|
|
<Setter Property="Background" Value="{DynamicResource WarningBrush}"/>
|
|
</Style>
|
|
|
|
<Style x:Key="BadgeDanger" BasedOn="{StaticResource BadgeBaseStyle}" TargetType="hc:Badge">
|
|
<Setter Property="Background" Value="{DynamicResource DangerBrush}"/>
|
|
</Style>
|
|
|
|
</ResourceDictionary> |