跳到主要内容

github/tai

公开

Tai · Windows 软件与网站使用时长统计。上游 Planshit/Tai 的源码镜像,非灵栈原创;MIT 许可。来源:https://github.com/Planshit/Tai 。本次为手动同步,暂不提供安装包。

浏览文件

App.xaml

30 行 · 1.2 KB历史下载
1<Application x:Class="UI.App"
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 xmlns:local="clr-namespace:UI"
5 Startup="OnStartup"
6 xmlns:base="clr-namespace:UI.Controls.Base"
7 xmlns:c="clr-namespace:UI.Controls"
8 >
9 <Application.Resources>
10 <ResourceDictionary>
11 <!--指定字体以修复非简中环境下的字体问题-->
12 <Style TargetType="{x:Type TextBlock}">
13 <Setter Property="FontFamily" Value="Segoe UI, Microsoft YaHei UI" />
14 </Style>
15 <Style TargetType="{x:Type Control}" x:Key="fontStyling">
16 <Setter Property="FontFamily" Value="Segoe UI, Microsoft YaHei UI" />
17 </Style>
18
19 <ResourceDictionary.MergedDictionaries>
20 <ResourceDictionary Source="/Tai;component/Resources/Themes/Light.xaml"/>
21 <ResourceDictionary Source="/Tai;component/Resources/Themes/Common.xaml"/>
22
23 </ResourceDictionary.MergedDictionaries>
24 </ResourceDictionary>
25
26
27
28
29 </Application.Resources>
30</Application>