编辑文件位置
This commit is contained in:
parent
b6c6d7531f
commit
0dc49cb1dd
@ -4,7 +4,7 @@
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
xmlns:local="clr-namespace:chatclient"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="Lime" />
|
||||
@ -14,6 +14,17 @@
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/chatclient;component/Data/MaterialTrayMenuItem.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<!-- Material Design 字体覆盖 -->
|
||||
<FontFamily x:Key="MaterialDesignFont">pack://application:,,,/chatclient;component/Fonts/HarmonyOS_Sans_Semibold.ttf#HarmonyOS Sans SC</FontFamily>
|
||||
<!-- 添加 HarmonyOS Sans 字体资源 -->
|
||||
<FontFamily x:Key="HarmonyOSSans">pack://application:,,,/chatclient;component/Fonts/HarmonyOS_Sans_Semibold.ttf#HarmonyOS Sans SC</FontFamily>
|
||||
<!-- 设置全局字体 -->
|
||||
<Style TargetType="TextElement">
|
||||
<Setter Property="FontFamily" Value="{StaticResource HarmonyOSSans}" />
|
||||
</Style>
|
||||
<Style TargetType="Control">
|
||||
<Setter Property="FontFamily" Value="{StaticResource HarmonyOSSans}" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
|
BIN
chatclient/resource/HarmonyOS Sans/.DS_Store
vendored
BIN
chatclient/resource/HarmonyOS Sans/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user