VaultSmpInstaller/App.axaml
CanadianBacon 4663bbca87 1.0.1
Refactor, make safer, add some logging
2024-02-21 07:34:48 +01:00

23 lines
1.1 KiB
XML

<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="VaultSmpInstaller.App"
x:DataType="viewModels:ThemeViewModel"
xmlns:viewModels="clr-namespace:VaultSmpInstaller.ViewModels"
RequestedThemeVariant="Dark">
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
<Application.Styles>
<FluentTheme />
<StyleInclude Source="avares://FluentAvalonia.ProgressRing/Styling/Controls/ProgressRing.axaml" />
<Style Selector="Button, TextBlock, ListBoxItem">
<Setter Property="Button.Foreground" Value="{Binding TextColor}" />
</Style>
<Style Selector="TextBlock, Button">
<Setter Property="Button.HorizontalAlignment" Value="Center" />
</Style>
<Style Selector="Button">
<Setter Property="Background" Value="{Binding ButtonBackground}"/>
</Style>
</Application.Styles>
</Application>