Added Slop
This commit is contained in:
69
App.axaml
Normal file
69
App.axaml
Normal file
@@ -0,0 +1,69 @@
|
||||
<Application xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:Lagerprogramm"
|
||||
xmlns:sukiUi="clr-namespace:SukiUI;assembly=SukiUI"
|
||||
x:Class="Lagerprogramm.App">
|
||||
|
||||
<Application.DataTemplates>
|
||||
<local:ViewLocator/>
|
||||
</Application.DataTemplates>
|
||||
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceInclude Source="avares://Lagerprogramm/AppTheme.axaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
|
||||
<Application.Styles>
|
||||
<sukiUi:SukiTheme ThemeColor="Blue" />
|
||||
|
||||
<Style Selector="TextBlock.header">
|
||||
<Setter Property="FontWeight" Value="Bold" />
|
||||
<Setter Property="FontSize" Value="16" />
|
||||
</Style>
|
||||
|
||||
<Style Selector="TextBlock.subheader">
|
||||
<Setter Property="FontWeight" Value="Bold" />
|
||||
</Style>
|
||||
|
||||
<Style Selector="TextBlock.caption">
|
||||
<Setter Property="FontSize" Value="11" />
|
||||
<Setter Property="Opacity" Value="0.8" />
|
||||
</Style>
|
||||
|
||||
<Style Selector="TextBlock.captionMuted">
|
||||
<Setter Property="FontSize" Value="11" />
|
||||
<Setter Property="Opacity" Value="0.6" />
|
||||
</Style>
|
||||
|
||||
<Style Selector="TextBlock.captionMedium">
|
||||
<Setter Property="FontSize" Value="11" />
|
||||
<Setter Property="Opacity" Value="0.7" />
|
||||
</Style>
|
||||
|
||||
<Style Selector="Button.navButton">
|
||||
<Setter Property="Background" Value="{StaticResource ThemeSurfaceBrush}" />
|
||||
<Setter Property="Foreground" Value="{StaticResource ThemeForegroundBrush}" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource ThemeOutlineBrush}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
</Style>
|
||||
|
||||
<Style Selector="Button.navButton:pointerover, Button.navButton:focus">
|
||||
<Setter Property="Background" Value="{StaticResource ThemeHighlightBrush}" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource ThemeHighlightOutlineBrush}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
</Style>
|
||||
|
||||
<!-- Global button hover / focus overrides for template borders -->
|
||||
<Style Selector="Button:pointerover /template/ Border">
|
||||
<Setter Property="Background" Value="{StaticResource ThemeHighlightBrush}" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource ThemeHighlightOutlineBrush}" />
|
||||
</Style>
|
||||
|
||||
<Style Selector="Button:focus /template/ Border">
|
||||
<Setter Property="BorderBrush" Value="{StaticResource ThemeHighlightOutlineBrush}" />
|
||||
</Style>
|
||||
</Application.Styles>
|
||||
</Application>
|
||||
Reference in New Issue
Block a user