35 lines
1.6 KiB
XML
35 lines
1.6 KiB
XML
<Application xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="Nonemm.App.App"
|
|
RequestedThemeVariant="Light">
|
|
<!-- the colours behind these keys are filled in from the theme in use, in
|
|
App.ApplyTheme -->
|
|
<Application.Resources>
|
|
<SolidColorBrush x:Key="FormBackground">#CDDAEB</SolidColorBrush>
|
|
<SolidColorBrush x:Key="FormForeground">#000000</SolidColorBrush>
|
|
<SolidColorBrush x:Key="ButtonBackground">#FFFAF0</SolidColorBrush>
|
|
<SolidColorBrush x:Key="FieldBackground">#FFFFFF</SolidColorBrush>
|
|
<SolidColorBrush x:Key="FieldForeground">#000000</SolidColorBrush>
|
|
</Application.Resources>
|
|
|
|
<Application.Styles>
|
|
<FluentTheme />
|
|
<StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml" />
|
|
|
|
<Style Selector="Window">
|
|
<Setter Property="Background" Value="{DynamicResource FormBackground}" />
|
|
<Setter Property="Foreground" Value="{DynamicResource FormForeground}" />
|
|
</Style>
|
|
<!-- the Fluent tab header is 28 pt and 48 px tall -->
|
|
<Style Selector="TabItem">
|
|
<Setter Property="FontSize" Value="12" />
|
|
<Setter Property="Foreground" Value="{DynamicResource FormForeground}" />
|
|
<Setter Property="MinHeight" Value="26" />
|
|
<Setter Property="Padding" Value="10,0" />
|
|
</Style>
|
|
<Style Selector="Menu">
|
|
<Setter Property="Background" Value="{DynamicResource FormBackground}" />
|
|
</Style>
|
|
</Application.Styles>
|
|
</Application>
|