forked from verybadcat/CSharpMath
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.xaml
More file actions
23 lines (21 loc) · 1.12 KB
/
App.xaml
File metadata and controls
23 lines (21 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Application x:Class="CSharpMath.Uno.Example.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:math="using:CSharpMath.Uno">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!-- Load WinUI resources -->
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
</ResourceDictionary.MergedDictionaries>
<Style x:Key="AppMathViewStyle" TargetType="math:MathView">
<Setter Property="TextColor" Value="{ThemeResource TextFillColorPrimary}" />
</Style>
<Style BasedOn="{StaticResource AppMathViewStyle}" TargetType="math:MathView" />
<Style x:Key="AppTextViewStyle" TargetType="math:TextView">
<Setter Property="TextColor" Value="{ThemeResource TextFillColorPrimary}" />
</Style>
<Style BasedOn="{StaticResource AppTextViewStyle}" TargetType="math:TextView" />
</ResourceDictionary>
</Application.Resources>
</Application>