| | |
| | | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| | | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| | | xmlns:ui="clr-namespace:HMI.UI" |
| | | xmlns:sys="clr-namespace:System;assembly=mscorlib" |
| | | > |
| | | <ResourceDictionary.MergedDictionaries> |
| | | <ResourceDictionary Source="/HMI.UI;component/Style/Colors.xaml"/> |
| | | <ResourceDictionary Source="/HMI.UI;component/Resources/Font/Font.xaml"/> |
| | | </ResourceDictionary.MergedDictionaries> |
| | | |
| | | <Style x:Key="WindowButton" TargetType="Button"> |
| | | <Setter Property="Background" Value="{StaticResource PrimaryColor}"/> |
| | | <Setter Property="ui:DpPlugin.HoverColor" Value="{StaticResource SecondPrimaryColor}"/> |
| | | <Setter Property="Background" Value="{DynamicResource PrimaryColor}"/> |
| | | <Setter Property="ui:DpPlugin.HoverColor" Value="{DynamicResource SecondPrimaryColor}"/> |
| | | <Setter Property="FontFamily" Value="{StaticResource iconfont}"/> |
| | | <Setter Property="FontWeight" Value="SemiBold"/> |
| | | <Setter Property="Foreground" Value="White"/> |
| | |
| | | <Style x:Key="ChildWindowButton" BasedOn="{StaticResource WindowButton}" TargetType="Button"> |
| | | <Setter Property="FontSize" Value="15"/> |
| | | <Setter Property="Width" Value="30"/> |
| | | <Setter Property="Background" Value="{StaticResource SecondPrimaryColor}"/> |
| | | <Setter Property="ui:DpPlugin.HoverColor" Value="{StaticResource PrimaryColor}"/> |
| | | <Setter Property="Background" Value="{DynamicResource SecondPrimaryColor}"/> |
| | | <Setter Property="ui:DpPlugin.HoverColor" Value="{DynamicResource PrimaryColor}"/> |
| | | </Style> |
| | | |
| | | <Style x:Key="ChildWindowCloseButton" BasedOn="{StaticResource ChildWindowButton}" TargetType="Button"> |
| | |
| | | </Style> |
| | | |
| | | <Style x:Key="LinkButton" TargetType="Button"> |
| | | <Setter Property="ui:DpPlugin.HoverColor" Value="{StaticResource SecondPrimaryColor}"/> |
| | | <Setter Property="ui:DpPlugin.HoverColor" Value="{DynamicResource SecondPrimaryColor}"/> |
| | | <Setter Property="FontFamily" Value="{StaticResource iconfont}"/> |
| | | <Setter Property="Foreground" Value="{StaticResource SecondPrimaryColor}"/> |
| | | <Setter Property="Foreground" Value="{DynamicResource SecondPrimaryColor}"/> |
| | | |
| | | <Setter Property="Template"> |
| | | <Setter.Value> |