-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.axaml
27 lines (25 loc) · 1.12 KB
/
App.axaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="NewRGB.App"
xmlns:local="using:NewRGB"
RequestedThemeVariant="Dark">
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
<Application.DataTemplates>
<local:ViewLocator />
</Application.DataTemplates>
<Application.Styles>
<Style Selector="Button.no-border">
<Setter Property="Margin" Value="9,3,9,3" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="Padding" Value="6" />
</Style>
<Style Selector="Button.no-border /template/ ContentPresenter">
<Setter Property="CornerRadius" Value="50" />
</Style>
<Style Selector="Button.no-border:pointerover /template/ ContentPresenter">
<Setter Property="Background" Value="Transparent" />
</Style>
<FluentTheme />
</Application.Styles>
</Application>