alielie
2026-06-15 f08871fe7d148d667f2f11f80f64de71a0d9504c
HMI.UI/Style/WindowResources.xaml
@@ -4,13 +4,12 @@
                    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"/>
@@ -50,8 +49,8 @@
    <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">
@@ -59,9 +58,9 @@
    </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>