|
@@ -0,0 +1,24 @@
|
|
|
+<Styles xmlns="https://github.com/avaloniaui"
|
|
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
+ <Design.PreviewWith>
|
|
|
+ <Border Padding="20">
|
|
|
+ <TextBlock Classes="h1"/>
|
|
|
+ </Border>
|
|
|
+ </Design.PreviewWith>
|
|
|
+
|
|
|
+ <Style Selector="TextBlock.h1">
|
|
|
+ <Setter Property="FontSize" Value="{DynamicResource Header1}"/>
|
|
|
+ </Style>
|
|
|
+
|
|
|
+ <Style Selector="TextBlock.h2">
|
|
|
+ <Setter Property="FontSize" Value="{DynamicResource Header2}"/>
|
|
|
+ </Style>
|
|
|
+
|
|
|
+ <Style Selector="TextBlock.h3">
|
|
|
+ <Setter Property="FontSize" Value="{DynamicResource Header3}"/>
|
|
|
+ </Style>
|
|
|
+
|
|
|
+ <Style Selector="TextBlock.h4">
|
|
|
+ <Setter Property="FontSize" Value="{DynamicResource Header4}"/>
|
|
|
+ </Style>
|
|
|
+</Styles>
|