Files
ShrlAlgoToolkit/WPFluent/Resources/Typography.xaml

73 lines
2.5 KiB
Plaintext
Raw Normal View History

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style TargetType="TextBlock">
<Setter Property="FontSize" Value="14" />
<Setter Property="LineHeight" Value="20" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style
x:Key="CaptionTextBlockStyle"
BasedOn="{StaticResource {x:Type TextBlock}}"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="12" />
<Setter Property="LineHeight" Value="16" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style
x:Key="BodyTextBlockStyle"
BasedOn="{StaticResource {x:Type TextBlock}}"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="14" />
<Setter Property="LineHeight" Value="20" />
<Setter Property="FontWeight" Value="Regular" />
</Style>
<Style
x:Key="BodyStrongTextBlockStyle"
BasedOn="{StaticResource {x:Type TextBlock}}"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="14" />
<Setter Property="LineHeight" Value="20" />
<Setter Property="FontWeight" Value="SemiBold" />
</Style>
<Style
x:Key="SubtitleTextBlockStyle"
BasedOn="{StaticResource {x:Type TextBlock}}"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="20" />
<Setter Property="LineHeight" Value="28" />
<Setter Property="FontWeight" Value="SemiBold" />
</Style>
<Style
x:Key="TitleTextBlockStyle"
BasedOn="{StaticResource {x:Type TextBlock}}"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="28" />
<Setter Property="LineHeight" Value="36" />
<Setter Property="FontWeight" Value="SemiBold" />
</Style>
<Style
x:Key="TitleLargeTextBlockStyle"
BasedOn="{StaticResource {x:Type TextBlock}}"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="40" />
<Setter Property="LineHeight" Value="52" />
<Setter Property="FontWeight" Value="SemiBold" />
</Style>
<Style
x:Key="DisplayTextBlockStyle"
BasedOn="{StaticResource {x:Type TextBlock}}"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="68" />
<Setter Property="LineHeight" Value="92" />
<Setter Property="FontWeight" Value="SemiBold" />
</Style>
</ResourceDictionary>