Skip to content

Fixed Dark Mode detection on macOS - #1972

Merged
eselmeister merged 1 commit into
eclipse-chemclipse:developfrom
Mailaender:dark-theme-color-check
Nov 25, 2024
Merged

eselmeister merged 1 commit into
eclipse-chemclipse:developfrom
Mailaender:dark-theme-color-check

Conversation

@Mailaender

Copy link
Copy Markdown
Contributor

Closes #1971

@@ -36,7 +41,13 @@ public static void cleanPreferencesByNodeId(List<String> preservePreferenceNodes
// Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=564022
public static boolean isDarkTheme() {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you mean "isDarkSystemTheme" here? If so, then I believe the new strategy should be the default one for most OSs, and Windows would be the exception as it basically doesn't set system colors.

@eselmeister
eselmeister merged commit 0dc879a into eclipse-chemclipse:develop Nov 25, 2024
@Mailaender
Mailaender deleted the dark-theme-color-check branch November 25, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

macOS automatic dark mode has unreadable font colors in charts

3 participants