mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
57 lines
3.3 KiB
XML
57 lines
3.3 KiB
XML
<xaml:XamlApplication
|
|
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">
|
|
<Application.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" ControlsResourcesVersion="Version2" />
|
|
<ResourceDictionary Source="/Controls/KeyVisual/KeyVisual.xaml" />
|
|
<ResourceDictionary Source="/Styles/_FontSizes.xaml" />
|
|
<ResourceDictionary Source="/Styles/_Thickness.xaml" />
|
|
<ResourceDictionary Source="/Styles/_Sizes.xaml" />
|
|
<ResourceDictionary Source="/Styles/TextBlock.xaml" />
|
|
<ResourceDictionary Source="/Styles/Button.xaml"/>
|
|
|
|
<ResourceDictionary Source="/Themes/Colors.xaml"/>
|
|
<ResourceDictionary Source="/Themes/SettingsExpanderStyles.xaml"/>
|
|
<ResourceDictionary Source="/Themes/SettingsSectionStyles.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<converters:ModuleEnabledToOpacityConverter x:Key="ModuleEnabledToOpacityConverter"/>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
|
</Application.Resources>
|
|
</xaml:XamlApplication> |