1234567891011121314151617181920212223242526 |
- <Application xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- x:Class="AvaloniaApplicationTest.App"
- xmlns:local="using:AvaloniaApplicationTest"
- RequestedThemeVariant="Default">
- <!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
- <Application.DataTemplates>
- <local:ViewLocator/>
- </Application.DataTemplates>
-
- <Application.Styles>
- <FluentTheme />
- <Style Selector="TextBlock">
- <Setter Property="FontSize" Value="16"/>
- <Setter Property="Foreground" Value="#445c93"/>
- <Setter Property="FontFamily" Value="Comic Sans MS"/>
- </Style>
- <Style Selector="Button">
- <Setter Property="FontSize" Value="16"/>
- <Setter Property="Foreground" Value="#445c93"/>
- <Setter Property="FontFamily" Value="Comic Sans MS"/>
- <Setter Property="Background" Value="#fac716"/>
- </Style>
- </Application.Styles>
- </Application>
|