Files

19 lines
984 B
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style x:Key="BaseWindowStyle" TargetType="Window">
<Setter Property="Background" Value="{DynamicResource mainColorBrush}" />
<Setter Property="Foreground" Value="{DynamicResource mainForegroundColorBrush}" />
<Setter Property="FontSize" Value="12" />
<!-- 其他样式设置 -->
</Style>
<Style x:Key="BaseNoneBorderWindowStyle" TargetType="Window">
<Setter Property="Background" Value="{DynamicResource mainColorBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource mainColorDarkBrush}" />
<Setter Property="Foreground" Value="{DynamicResource mainForegroundColorBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="FontSize" Value="12" />
<Setter Property="WindowStyle" Value="None" />
<Setter Property="AllowsTransparency" Value="True" />
</Style>
</ResourceDictionary>