Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyeenvy committed Jul 12, 2023
1 parent a50fb6d commit 4668b99
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
using System;
#if WinUI
using Microsoft.UI.Text;
#else
using Windows.UI.Text;
#endif
using Microsoft.UI.Xaml.Media;
using Uno.Extensions.Markup.Internals;

Expand Down Expand Up @@ -173,10 +176,13 @@ public static class Typo
{
[ResourceKeyDefinition(typeof(FontFamily), "CheckBoxFontFamily")]
public static ResourceValue<FontFamily> FontFamily => new("CheckBoxFontFamily", true);

#if WinUI
[ResourceKeyDefinition(typeof(FontWeights), "CheckBoxFontWeight")]
public static ResourceValue<FontWeights> FontWeight => new("CheckBoxFontWeight", true);

#else
[ResourceKeyDefinition(typeof(FontWeight), "CheckBoxFontWeight")]
public static ResourceValue<FontWeight> FontWeight => new("CheckBoxFontWeight", true);
#endif
[ResourceKeyDefinition(typeof(double), "CheckBoxFontSize")]
public static ResourceValue<double> FontSize => new("CheckBoxFontSize", true);

Expand Down

0 comments on commit 4668b99

Please sign in to comment.