App.axaml 2.2 KB

123456789101112131415161718192021222324
  1. <Application xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:dialogHostAvalonia="clr-namespace:DialogHostAvalonia;assembly=DialogHost.Avalonia"
  4. x:Class="EntranseTesting.App"
  5. xmlns:local="using:EntranseTesting"
  6. RequestedThemeVariant="Light">
  7. <!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
  8. <Application.DataTemplates>
  9. <local:ViewLocator/>
  10. </Application.DataTemplates>
  11. <Application.Styles>
  12. <FluentTheme>
  13. <FluentTheme.Palettes>
  14. <ColorPaletteResources x:Key="Light" Accent="#ff6274cc" AltHigh="White" AltLow="White" AltMedium="White" AltMediumHigh="White" AltMediumLow="White" BaseHigh="Black" BaseLow="#ffcfd7ff" BaseMedium="#ff8292c1" BaseMediumHigh="#ff4f6497" BaseMediumLow="#ff697bac" ChromeAltLow="#ff4f6497" ChromeBlackHigh="Black" ChromeBlackLow="#ffcfd7ff" ChromeBlackMedium="#ff4f6497" ChromeBlackMediumLow="#ff8292c1" ChromeDisabledHigh="#ffcfd7ff" ChromeDisabledLow="#ff8292c1" ChromeGray="#ff697bac" ChromeHigh="#ffcfd7ff" ChromeLow="#ffeaf0ff" ChromeMedium="#ffe5ebff" ChromeMediumLow="#ffeaf0ff" ChromeWhite="White" ListLow="#ffe5ebff" ListMedium="#ffcfd7ff" RegionColor="#fffef6ff" />
  15. <ColorPaletteResources x:Key="Dark" Accent="#ff6274cc" AltHigh="Black" AltLow="Black" AltMedium="Black" AltMediumHigh="Black" AltMediumLow="Black" BaseHigh="White" BaseLow="#ff64576b" BaseMedium="#ffb6aabc" BaseMediumHigh="#ffcbbfd0" BaseMediumLow="#ff8d8193" ChromeAltLow="#ffcbbfd0" ChromeBlackHigh="Black" ChromeBlackLow="#ffcbbfd0" ChromeBlackMedium="Black" ChromeBlackMediumLow="Black" ChromeDisabledHigh="#ff64576b" ChromeDisabledLow="#ffb6aabc" ChromeGray="#ffa295a8" ChromeHigh="#ffa295a8" ChromeLow="#ff332041" ChromeMedium="#ff3f2e4b" ChromeMediumLow="#ff584960" ChromeWhite="White" ListLow="#ff3f2e4b" ListMedium="#ff64576b" RegionColor="#ff262738" />
  16. </FluentTheme.Palettes>
  17. </FluentTheme>
  18. <StyleInclude Source="avares://EntranseTesting/Assets/Icons.axaml"/>
  19. <StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml"/>
  20. <StyleInclude Source="avares://DialogHost.Avalonia/Styles.xaml"/>
  21. </Application.Styles>
  22. </Application>