[PT Run] Option for override theme (#7355)

* option for override PT Run theme

* fix startup theme detection and moved strings in resources

* xaml fixed

* fix title spacing

* launcher theme fix

moved theme enum
removed settings direct access

* missing files

* theme manager dispose removed

Co-authored-by: Clint Rutkas <clint@rutkas.com>
This commit is contained in:
Davide Giacometti
2020-10-24 00:05:07 +02:00
committed by GitHub
parent 6424667396
commit 146e7866a6
23 changed files with 189 additions and 48 deletions

View File

@@ -11,6 +11,7 @@ using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using ManagedCommon;
using Wox.Infrastructure.Storage;
using Wox.Plugin;
using Wox.Plugin.Logger;

View File

@@ -5,6 +5,7 @@
using System;
using System.Collections.ObjectModel;
using System.Drawing;
using ManagedCommon;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Wox.Plugin;
@@ -44,7 +45,7 @@ namespace Wox.Infrastructure.UserSettings
public string Language { get; set; } = "en";
public string Theme { get; set; } = "Dark";
public Theme Theme { get; set; } = Theme.System;
public string QueryBoxFont { get; set; } = FontFamily.GenericSansSerif.Name;