Skip to content

Instantly share code, notes, and snippets.

@Char0394
Created July 13, 2024 01:17
Show Gist options
  • Save Char0394/1f86a294b59c14674e17df891067dc9b to your computer and use it in GitHub Desktop.
Save Char0394/1f86a294b59c14674e17df891067dc9b to your computer and use it in GitHub Desktop.
<ResourceDictionary xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<Style TargetType="Label" x:Key="SmallLabel">
<Setter Property="FontSize" Value="14" />
</Style>
<Style TargetType="Label" x:Key="MediumLabel">
<Setter Property="FontSize" Value="16" />
</Style>
<Style x:Key="MediumBoldLabel" TargetType="Label" BaseResourceKey="MediumLabel" >
<Setter Property="FontFamily" Value="OpenSansSemibold" />
<Setter Property="TextColor" Value="Black" />
</Style>
<Style x:Key="MediumNormalLabel" TargetType="Label" BaseResourceKey="MediumLabel" >
<Setter Property="FontFamily" Value="OpenSansRegular" />
<Setter Property="TextColor" Value="CornflowerBlue" />
</Style>
<Style x:Key="SmallBoldLabel" TargetType="Label" BaseResourceKey="SmallLabel" >
<Setter Property="FontFamily" Value="OpenSansSemibold" />
<Setter Property="TextColor" Value="Black" />
</Style>
<Style x:Key="SmallNormalLabel" TargetType="Label" BaseResourceKey="SmallLabel" >
<Setter Property="FontFamily" Value="OpenSansRegular" />
<Setter Property="TextColor" Value="CornflowerBlue" />
</Style>
</ResourceDictionary>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment