<Application x:Class="Aucma.Core.Palletiz.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:Aucma.Core.Palletiz" d1p1:Ignorable="d"> <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Assets/Styles/DefaultStyles.xaml"/> <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" /> <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" /> <!--<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" />--> <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.LightBlue.xaml" /> <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml" /> </ResourceDictionary.MergedDictionaries> <!--重写框架主体色--> <SolidColorBrush x:Key="PrimaryHueLightBrush" Color="#0288d1" /> <SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="#0288d1" /> <SolidColorBrush x:Key="PrimaryHueMidBrush" Color="#0288d1" /> <!--字体颜色设置--> <SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="#DDFFFFFF" /> <SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="#0288d1" /> <SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="#0288d1" /> <!--字体大小设置--> <Style TargetType="TextBlock"> <Setter Property="FontWeight" Value="Bold"/> <Setter Property="FontFamily" Value="Microsoft YaHei"/> <!--<Setter Property="FontSize" Value="15" />--> </Style> <Style TargetType="{x:Type Window}"> <Setter Property="FontSize" Value="18" /> <Setter Property="FontFamily" Value="Microsoft YaHei"/> </Style> </ResourceDictionary> </Application.Resources> </Application>