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

Fixed Dark Mode detection on macOS #1972

Merged

Conversation

Mailaender
Copy link
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() {

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
3 checks passed
@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