App.axaml 1023 B

1234567891011121314151617181920212223242526272829
  1. <Application xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. x:Class="AvaloniaApplication5.App"
  4. xmlns:local="using:AvaloniaApplication5"
  5. RequestedThemeVariant="Default">
  6. <!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
  7. <Application.DataTemplates>
  8. <local:ViewLocator/>
  9. </Application.DataTemplates>
  10. <Application.Styles>
  11. <FluentTheme />
  12. <Style Selector="TextBlock.AuthTBStyle">
  13. <Setter Property="FontSize" Value="24"/>
  14. <Setter Property="FontWeight" Value="Bold"/>
  15. </Style>
  16. <Style Selector="TextBlock.ErrorMessage">
  17. <Setter Property="FontSize" Value="16"/>
  18. <Setter Property="FontWeight" Value="Bold"/>
  19. <Setter Property="FontFamily" Value="Arial"/>
  20. <Setter Property="FontStyle" Value="Italic"/>
  21. <Setter Property="Foreground" Value="Red"/>
  22. </Style>
  23. </Application.Styles>
  24. </Application>