App.axaml 1.1 KB

12345678910111213141516171819202122
  1. <Application xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. x:Class="AvaloniaApplication4.App"
  4. xmlns:local="using:AvaloniaApplication4"
  5. RequestedThemeVariant="Light">
  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. <StyleInclude Source="/Styles1.axaml"/>
  13. <StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml"/>
  14. </Application.Styles>
  15. <Application.Resources>
  16. <FontFamily x:Key="MontserratRegular">avares://AvaloniaApplication1/Assets/Fonts/Montserrat-Regular.ttf#Montserrat</FontFamily>
  17. <FontFamily x:Key="MontserratBold">avares://AvaloniaApplication1/Assets/Fonts/Montserrat-Bold.ttf#Montserrat</FontFamily>
  18. <FontFamily x:Key="MontserratSemiBold">avares://AvaloniaApplication1/Assets/Fonts/Montserrat-SemiBold.ttf#Montserrat</FontFamily>
  19. </Application.Resources>
  20. </Application>