mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
Theming for powertoys run (#4007)
* Removed Wox Theme Manager * Added Light and dark theme and template for high contrast theme * Updated themeManager to remove strings * Fixed issue with high contrast theme not being applied * Fixed formatting * Updated MSI to include dll for Mahapps and controlzex * Added support for multiple high contrast themes
This commit is contained in:
committed by
GitHub
parent
b0b2d3a727
commit
6adb47c447
30
src/modules/launcher/PowerLauncher/Themes/HighContrast1.xaml
Normal file
30
src/modules/launcher/PowerLauncher/Themes/HighContrast1.xaml
Normal file
@@ -0,0 +1,30 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:markup="clr-namespace:MahApps.Metro.Markup;assembly=MahApps.Metro"
|
||||
xmlns:markupWithAssembly="clr-namespace:MahApps.Metro.Markup;assembly=MahApps.Metro"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:options="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options" xmlns:system="clr-namespace:System;assembly=System.Runtime"
|
||||
mc:Ignorable="options">
|
||||
|
||||
<!-- Metadata -->
|
||||
<system:String x:Key="Theme.Name">HighContrast.Accent2</system:String>
|
||||
<system:String x:Key="Theme.Origin">PowerToysRun</system:String>
|
||||
<system:String x:Key="Theme.DisplayName">Accent2 (HighContrast)</system:String>
|
||||
<system:String x:Key="Theme.BaseColorScheme">HighContrast</system:String>
|
||||
<system:String x:Key="Theme.ColorScheme">Accent2</system:String>
|
||||
<Color x:Key="Theme.PrimaryAccentColor">White</Color>
|
||||
|
||||
<Color x:Key="SystemBaseMediumLowColor">#FF000000</Color>
|
||||
<SolidColorBrush x:Key="SystemChromeLow" Color="White" options:Freeze="True" />
|
||||
<SolidColorBrush x:Key="TextControlPlaceholderForeground" Color="#FF000000" />
|
||||
<SolidColorBrush x:Key="TextBox.Static.Border" Color="Transparent"/>
|
||||
<SolidColorBrush x:Key="TextBox.MouseOver.Border" Color="Transparent"/>
|
||||
<SolidColorBrush x:Key="TextBox.Focus.Border" Color="Transparent"/>
|
||||
<SolidColorBrush x:Key="ButtonBackgroundPointerOver" Color="#FFFFFFFF" />
|
||||
<SolidColorBrush x:Key="ButtonBorderPointerOver" Color="#FFFFFFFF" />
|
||||
<SolidColorBrush x:Key="ButtonBackgroundPressed" Color="#FFFFFFFF" />
|
||||
<SolidColorBrush x:Key="ButtonBorderPressed" Color="#FFFFFFFF" />
|
||||
<SolidColorBrush x:Key="ListViewItemBackgroundPointerOver" Color="#FF000000" />
|
||||
<SolidColorBrush x:Key="ControlTextBrushKey" Color="#FF000000" />
|
||||
<SolidColorBrush x:Key="InactiveSelectionHighlightBrushKey" Color="#FFFFFFFF" />
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user