add:鸿蒙SC字体
This commit is contained in:
@@ -9,6 +9,22 @@
|
|||||||
>
|
>
|
||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
|
<FontFamily x:Key="HarmonyOSFont">./Resources/Fonts/#HarmonyOS Sans SC</FontFamily>
|
||||||
|
<Style TargetType="TextBlock">
|
||||||
|
<Setter Property="FontFamily" Value="{StaticResource HarmonyOSFont}"/>
|
||||||
|
</Style>
|
||||||
|
<Style TargetType="Button">
|
||||||
|
<Setter Property="FontFamily" Value="{StaticResource HarmonyOSFont}"/>
|
||||||
|
</Style>
|
||||||
|
<Style TargetType="TextBox">
|
||||||
|
<Setter Property="FontFamily" Value="{StaticResource HarmonyOSFont}"/>
|
||||||
|
</Style>
|
||||||
|
<Style TargetType="Label">
|
||||||
|
<Setter Property="FontFamily" Value="{StaticResource HarmonyOSFont}"/>
|
||||||
|
</Style>
|
||||||
|
<Style TargetType="MenuItem">
|
||||||
|
<Setter Property="FontFamily" Value="{StaticResource HarmonyOSFont}"/>
|
||||||
|
</Style>
|
||||||
<Style TargetType="ui:ScrollViewerEx">
|
<Style TargetType="ui:ScrollViewerEx">
|
||||||
<EventSetter Event="PreviewMouseWheel" Handler="ScrollViewer_PreviewMouseWheel"/>
|
<EventSetter Event="PreviewMouseWheel" Handler="ScrollViewer_PreviewMouseWheel"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|||||||
@@ -614,6 +614,12 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="Resources\Fonts\LXGWWenKaiTC-Regular.ttf" />
|
<Resource Include="Resources\Fonts\LXGWWenKaiTC-Regular.ttf" />
|
||||||
|
<Resource Include="Resources\Fonts\HarmonyOS_SansSC_Black.ttf" />
|
||||||
|
<Resource Include="Resources\Fonts\HarmonyOS_SansSC_Bold.ttf" />
|
||||||
|
<Resource Include="Resources\Fonts\HarmonyOS_SansSC_Light.ttf" />
|
||||||
|
<Resource Include="Resources\Fonts\HarmonyOS_SansSC_Medium.ttf" />
|
||||||
|
<Resource Include="Resources\Fonts\HarmonyOS_SansSC_Regular.ttf" />
|
||||||
|
<Resource Include="Resources\Fonts\HarmonyOS_SansSC_Thin.ttf" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="Resources\Icons-png\HiteAnnotation.png" />
|
<Resource Include="Resources\Icons-png\HiteAnnotation.png" />
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user