跟新颜色配置

This commit is contained in:
chfei committed 2026-11-16 10:34:33 +08:00
1 parent 45829fa267
commit d5232c581c
7 files changed
+66 -10

No files matched your search

@@ -43,8 +43,8 @@
<Color x:Key="DarkMaskColor">#20000000</Color>
<Color x:Key="DarkOpacityColor">#40000000</Color>
<SolidColorBrush x:Key="TreeViewItemSelectedBrush" Color="#F3EAF1" />
<SolidColorBrush x:Key="TreeViewItemSelectedBrush2" Color="#784B70" />
<SolidColorBrush x:Key="SelectedBackgroundBrush" Color="#F3EAF1" />
<SolidColorBrush x:Key="SelectedForegroundBrush" Color="#784B70" />
<Color x:Key="BackgrondColor1">#F7F8F9</Color>
<Color x:Key="BackgrondColor2">#F0F2F4</Color>
@@ -12,9 +12,13 @@
<ResourceDictionary Source="pack://application:,,,/MAX.Common.WPF;component/Resources/Generic.xaml" />
<ResourceDictionary Source="/Store.Management.Framework;component/Controls/DataGridEx/DataGridEx.xaml" />
</ResourceDictionary.MergedDictionaries>
<FontFamily x:Key="IconPack">Fonts/iconfont.ttf#iconfont</FontFamily>
<Style BasedOn="{StaticResource DataGridExBaseStyle}" TargetType="{x:Type f:DataGridEx}">
<Setter Property="SelectedRowBackground" Value="{DynamicResource SelectedBackgroundBrush}" />
<Setter Property="SelectedRowForeground" Value="{DynamicResource SelectedForegroundBrush}" />
</Style>
<Style x:Key="TextBlockIcon" TargetType="{x:Type TextBlock}">
<Setter Property="FontFamily" Value="{StaticResource IconPack}" />
<Setter Property="HorizontalAlignment" Value="Center" />
@@ -23,6 +27,14 @@
</Style>
<Style BasedOn="{StaticResource TextBlockIcon}" TargetType="{x:Type f:IconText}" />
<Style BasedOn="{StaticResource {x:Type MenuItem}}" TargetType="{x:Type MenuItem}">
<Setter Property="Width" Value="200" />
<Style.Resources>
<Style BasedOn="{StaticResource TextBlockIcon}" TargetType="{x:Type f:IconText}">
<Setter Property="FontSize" Value="16" />
</Style>
</Style.Resources>
</Style>
<Style
x:Key="WindowBase"
BasedOn="{StaticResource WindowWin10}"