Files
PowerToys/src/settings-ui/Microsoft.PowerToys.Settings.UI/App.xaml

57 lines
3.3 KiB
Plaintext
Raw Normal View History

<xaml:XamlApplication
2020-03-11 10:43:32 -07:00
x:Class="Microsoft.PowerToys.Settings.UI.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:xaml="using:Microsoft.Toolkit.Win32.UI.XamlHost"
xmlns:converters="using:Microsoft.PowerToys.Settings.UI.Converters">
2020-03-09 23:55:08 -07:00
<Application.Resources>
2020-03-11 10:43:32 -07:00
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
2021-07-16 23:03:18 +02:00
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" ControlsResourcesVersion="Version2" />
<ResourceDictionary Source="/Controls/KeyVisual/KeyVisual.xaml" />
2020-03-11 10:43:32 -07:00
<ResourceDictionary Source="/Styles/_FontSizes.xaml" />
<ResourceDictionary Source="/Styles/_Thickness.xaml" />
<ResourceDictionary Source="/Styles/_Sizes.xaml" />
2020-03-11 10:43:32 -07:00
<ResourceDictionary Source="/Styles/TextBlock.xaml" />
<ResourceDictionary Source="/Styles/Button.xaml"/>
2021-08-01 20:37:44 +02:00
<ResourceDictionary Source="/Themes/Colors.xaml"/>
<ResourceDictionary Source="/Themes/SettingsExpanderStyles.xaml"/>
<ResourceDictionary Source="/Themes/SettingsSectionStyles.xaml"/>
2020-03-11 10:43:32 -07:00
</ResourceDictionary.MergedDictionaries>
2021-07-16 23:03:18 +02:00
<converters:ModuleEnabledToOpacityConverter x:Key="ModuleEnabledToOpacityConverter"/>
2021-07-16 23:03:18 +02:00
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Light">
<SolidColorBrush x:Key="HomePageBackgroundBrush" Color="Transparent"/>
<SolidColorBrush x:Key="PageHeaderForegroundBrush" Color="White"/>
<StaticResource x:Key="ControlExampleDisplayBrush" ResourceKey="SolidBackgroundFillColorBaseBrush" />
<Thickness x:Key="ControlExampleDisplayBorderThickness">0</Thickness>
<SolidColorBrush x:Key="NavigationViewExpandedPaneBackground" Color="Transparent"/>
</ResourceDictionary>
<ResourceDictionary x:Key="Dark">
<SolidColorBrush x:Key="HomePageBackgroundBrush" Color="Transparent"/>
<SolidColorBrush x:Key="PageHeaderForegroundBrush" Color="White"/>
<StaticResource x:Key="ControlExampleDisplayBrush" ResourceKey="SolidBackgroundFillColorBaseBrush" />
<Thickness x:Key="ControlExampleDisplayBorderThickness">0</Thickness>
<SolidColorBrush x:Key="NavigationViewExpandedPaneBackground" Color="Transparent"/>
</ResourceDictionary>
<ResourceDictionary x:Key="HighContrast">
<SolidColorBrush x:Key="HomePageBackgroundBrush" Color="{ThemeResource SystemColorWindowColor}" />
<SolidColorBrush x:Key="PageHeaderForegroundBrush" Color="White"/>
<SolidColorBrush x:Key="ControlExampleDisplayBrush" Color="{ThemeResource SystemColorWindowColor}" />
<Thickness x:Key="ControlExampleDisplayBorderThickness">1</Thickness>
<SolidColorBrush x:Key="NavigationViewExpandedPaneBackground" Color="Transparent"/>
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
2021-08-02 14:15:55 +02:00
2021-08-01 20:37:44 +02:00
2020-03-11 10:43:32 -07:00
</ResourceDictionary>
2021-08-02 14:15:55 +02:00
2020-03-09 23:55:08 -07:00
</Application.Resources>
</xaml:XamlApplication>