detect/detect.gui/Assets/TextBlock.axaml
2024-11-13 17:09:15 +08:00

45 lines
1.8 KiB
XML

<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource Font-Family}" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="FontSize" Value="12" />
<Setter Property="Foreground" Value="{StaticResource Dark}" />
</Style>
<Style Selector="TextBlock.logo-text">
<Setter Property="TextAlignment" Value="Center" />
<Setter Property="FontSize" Value="40" />
<Setter Property="FontWeight" Value="Normal" />
<Setter Property="Foreground" Value="{StaticResource Light}" />
</Style>
<Style Selector="TextBlock.small">
<Setter Property="FontSize" Value="9" />
</Style>
<Style Selector="TextBlock.login-header">
<Setter Property="FontSize" Value="28" />
</Style>
<Style Selector="TextBlock.dialog-title">
<Setter Property="FontSize" Value="14" />
<Setter Property="Foreground" Value="{StaticResource Light}" />
</Style>
<Style Selector="TextBlock.home-title">
<Setter Property="FontSize" Value="20" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="Foreground" Value="{StaticResource Dark}" />
</Style>
<Style Selector="TextBlock.grid-header">
<Setter Property="FontSize" Value="14" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="Foreground" Value="{StaticResource Light}" />
<Setter Property="Padding" Value="18, 0, 0, 0" />
</Style>
<Style Selector="TextBlock.grid-cell">
<Setter Property="FontSize" Value="14" />
<Setter Property="Foreground" Value="{StaticResource Light}" />
<Setter Property="Padding" Value="5, 0, 5, 0" />
</Style>
</Styles>