Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing dark theme for system theme matching to be changed. #192

Merged
merged 22 commits into from
Sep 29, 2020

Conversation

DrewNaylor
Copy link
Owner

Now the dark theme to apply when the user wants to match the system theme can be changed from the new default of ProDark back to TenDark or to Maudern. This list of dark themes is stored in the Resources and can be updated at any time. Please be aware that unlike the theme list, specifying an unrecognized dark theme in the config file won't add it to the list of dark themes.

Additional changes in this PR:

  • ProDark is the new default dark theme.
  • Changing the dark theme used for matching the system theme:
    • A new setting has been added for this:
      • darkthemeForSystemThemeMatching: String; defaults to ProDark
      • This setting determines which dark theme is used when matching the system theme is enabled. Valid options at the moment are Maudern, ProDark, and TenDark.
      • These changes have been added to PortableThemeEngine as well. In that case, calling applications would change the libportablethemeengine.ThemeEngine.DarkThemeForSystemThemeMatching property. After applying a dark theme in this way, this property will be overwritten with ProDark again in case the calling app wants to use the default after changing it to a different theme.
    • The Personalization tab has been renamed to Theme and the statusbar options have been moved to their own tab to allow the dark theme for system theme matching settings to go on the Theme tab.
    • The dark theme for system theme matching can be selected from Tools>Options...>Theme, then change the dark theme dropdown below the main Appearance groupbox to what you want, and click OK. Please be aware that this setting won't take effect unless the Match Windows 10 theme settings checkbox is checked and the theme engine is running.
    • If an unrecognized theme is specified for My.Settings.darkthemeForSystemThemeMatching, then ProDark will be used instead and will be what the Options window displays in the dropdown.
    • PortableThemeEngineDebugger now supports matching the system theme, and changing to one of the three available dark themes if desired.
    • Updated version numbers for UXLLauncher_ThemeEngine and PortableThemeEngine to 1.04 and 2.1, respectively.
  • Office 365/Click-to-Run compatibility checkbox label has been re-added since it would be confusing and feel weird without it.

dark theme list from resources when it's split.
Moved the radio button checkboxes to the top-right when necessary and aligned the controls better.
a matching theme in case the user wants to choose something else.
so it's more clear as "defaultDarkTheme" could be confusing if there's a default default dark theme.
@DrewNaylor DrewNaylor added this to the Version 3.4 milestone Sep 29, 2020
@DrewNaylor DrewNaylor merged commit 8e1cc3b into master Sep 29, 2020
@DrewNaylor DrewNaylor deleted the DefaultDarkThemes branch September 29, 2020 03:20
@DrewNaylor DrewNaylor added the on changelog The labeled issue is on the changelog for the next version. label Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on changelog The labeled issue is on the changelog for the next version. themes and theme engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant