787a6e9f48
UI navigation framework Related Work Items: #408, #414, #416
76 lines
3.0 KiB
XML
76 lines
3.0 KiB
XML
<Application
|
|
x:Class="FoxTube.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<Application.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls"/>
|
|
<ResourceDictionary Source="ResourceDictionaries/NavigationViewTemplate.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary.ThemeDictionaries>
|
|
<ResourceDictionary x:Key="Dark">
|
|
<SolidColorBrush x:Key="SplashScreenBackground" Color="#404040"/>
|
|
</ResourceDictionary>
|
|
<ResourceDictionary x:Key="Light">
|
|
<SolidColorBrush x:Key="SplashScreenBackground" Color="White"/>
|
|
</ResourceDictionary>
|
|
</ResourceDictionary.ThemeDictionaries>
|
|
|
|
<Color x:Key="SystemAccentColor">Red</Color>
|
|
|
|
<Color x:Key="RadioButtonOuterEllipseCheckedStrokePointerOver">Gray</Color>
|
|
<Color x:Key="RadioButtonOuterEllipseCheckedFillPointerOver">Gray</Color>
|
|
<Color x:Key="RadioButtonOuterEllipseCheckedStrokePressed">DarkRed</Color>
|
|
<Color x:Key="RadioButtonOuterEllipseCheckedFillPressed">DarkRed</Color>
|
|
|
|
<Color x:Key="ComboBoxItemRevealBackgroundSelected">Red</Color>
|
|
<Color x:Key="ComboBoxItemRevealBackgroundSelectedPointerOver">Gray</Color>
|
|
<Color x:Key="ComboBoxItemRevealBackgroundSelectedPressed">DarkRed</Color>
|
|
|
|
<Color x:Key="ToggleSwitchFillOnPointerOver">Gray</Color>
|
|
|
|
<Style x:Key="HeaderButton" TargetType="Button" BasedOn="{StaticResource ButtonRevealStyle}">
|
|
<Setter Property="FontFamily" Value="Segoe MDL2 Assets"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="Height" Value="32"/>
|
|
<Setter Property="Width" Value="32"/>
|
|
</Style>
|
|
<Style TargetType="StackPanel">
|
|
<Setter Property="ChildrenTransitions">
|
|
<Setter.Value>
|
|
<TransitionCollection>
|
|
<EntranceThemeTransition/>
|
|
</TransitionCollection>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style TargetType="Button" BasedOn="{StaticResource ButtonRevealStyle}">
|
|
<Setter Property="Height" Value="32"/>
|
|
</Style>
|
|
<Style TargetType="PivotItem">
|
|
<Setter Property="Margin" Value="0"/>
|
|
</Style>
|
|
|
|
<Style x:Key="HeaderActionButton" TargetType="Button" BasedOn="{StaticResource ButtonRevealStyle}">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
<Setter Property="CornerRadius" Value="0" />
|
|
<Setter Property="VerticalAlignment" Value="Top" />
|
|
<Setter Property="Height" Value="32" />
|
|
<Setter Property="Width" Value="40" />
|
|
<Setter Property="Padding" Value="0" />
|
|
<Setter Property="FontFamily" Value="Segoe MDL2 Assets" />
|
|
<Setter Property="FontSize" Value="15" />
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
|
</Style>
|
|
|
|
<Style TargetType="TextBlock">
|
|
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
|
|
<Setter Property="TextWrapping" Value="WrapWholeWords"/>
|
|
</Style>
|
|
</ResourceDictionary>
|
|
</Application.Resources>
|
|
</Application>
|