35 lines
1.6 KiB
XML

<Application x:Class="Wpf_AiSportsMicrospace.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:local="clr-namespace:Wpf_AiSportsMicrospace.Views"
xmlns:conv="clr-namespace:Wpf_AiSportsMicrospace.Converter">
<!--StartupUri="Views/Main.xaml">-->
<!--StartupUri="Views/JumpRope/GroupJumpRope.xaml">-->
<Application.Resources>
<ResourceDictionary>
<!-- 1. 先合并 HandyControl 资源 -->
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
</ResourceDictionary.MergedDictionaries>
<!-- 2. 你的自定义资源 -->
<!-- 字体 -->
<!-- 文本样式 -->
<Style TargetType="TextBlock" BasedOn="{StaticResource {x:Type TextBlock}}">
<!--<Setter Property="Foreground" Value="#333333"/>-->
<Setter Property="FontFamily" Value="./Resoures/Fonts/myFontFamily"/>
<Setter Property="FontSize" Value="14"/>
</Style>
<!-- 转换器 -->
<conv:DotColorConverter x:Key="DotColorConverter"/>
<!--<conv:SpacingConverter x:Key="SpacingConverter"/>-->
</ResourceDictionary>
</Application.Resources>
</Application>