mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 10:19:07 +00:00
In Textviewer when OS is in dark mode and AllowDarkTheme is enabled in config file use dark background and light text (no syntax highlighting). (#1238)
With AllowDarkTheme disabled (default) use light background and light mode syntax highlighting.
This commit is contained in:
@@ -45,9 +45,6 @@ namespace QuickLook.Plugin.TextViewer
|
||||
{
|
||||
_context = context;
|
||||
|
||||
Background = OSThemeHelper.AppsUseDarkTheme()
|
||||
? new SolidColorBrush(Color.FromArgb(150, 255, 255, 255))
|
||||
: Brushes.Transparent;
|
||||
FontSize = 14;
|
||||
ShowLineNumbers = true;
|
||||
WordWrap = true;
|
||||
|
Reference in New Issue
Block a user