Browse Source

Fix header styles

pull/2078/head
Wiesław Šoltés 8 years ago
parent
commit
c1fda553e6
  1. 19
      samples/ControlCatalog/App.xaml

19
samples/ControlCatalog/App.xaml

@ -2,23 +2,16 @@
<Application.Styles> <Application.Styles>
<StyleInclude Source="resm:Avalonia.Themes.Default.DefaultTheme.xaml?assembly=Avalonia.Themes.Default"/> <StyleInclude Source="resm:Avalonia.Themes.Default.DefaultTheme.xaml?assembly=Avalonia.Themes.Default"/>
<StyleInclude Source="resm:Avalonia.Themes.Default.Accents.BaseLight.xaml?assembly=Avalonia.Themes.Default"/> <StyleInclude Source="resm:Avalonia.Themes.Default.Accents.BaseLight.xaml?assembly=Avalonia.Themes.Default"/>
<Style Selector="TextBlock.h1"> <Style Selector="TextBlock.h1">
<Setter Property="Foreground" Value="#212121"/> <Setter Property="FontSize" Value="{DynamicResource FontSizeLarge}"/>
<Setter Property="FontSize" Value="20"/>
<Setter Property="FontWeight" Value="Medium"/> <Setter Property="FontWeight" Value="Medium"/>
</Style> </Style>
<Style Selector="TextBlock.h2"> <Style Selector="TextBlock.h2">
<Setter Property="Foreground" Value="#727272"/> <Setter Property="FontSize" Value="{DynamicResource FontSizeNormal}"/>
<Setter Property="FontSize" Value="13"/>
</Style> </Style>
<Style Selector="TextBlock.h3">
<Style Selector="TextBlock.h3"> <Setter Property="FontSize" Value="{DynamicResource FontSizeSmall}"/>
<Setter Property="Foreground" Value="#a2a2a2"/> </Style>
<Setter Property="FontSize" Value="13"/> <StyleInclude Source="resm:ControlCatalog.SideBar.xaml"/>
</Style>
<StyleInclude Source="resm:ControlCatalog.SideBar.xaml"/>
</Application.Styles> </Application.Styles>
</Application> </Application>

Loading…
Cancel
Save