So this is not an issue report but more of a discussion or information.
It seems the latest JBR 21 build, has now an API to detect whether the OS is dark, that said, at this time the implementation seems to only support Linux.
String[] themesOrder = {DARK_THEME_NAME, LIGHT_THEME_NAME, DARK_THEME_NAME};
Toolkit.getDefaultToolkit().addPropertyChangeListener("awt.os.theme.isDark", evt -> {
currentTheme = currentTheme();
});
So this is not an issue report but more of a discussion or information.
It seems the latest JBR 21 build, has now an API to detect whether the OS is dark, that said, at this time the implementation seems to only support Linux.
https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.3b453.2
JetBrains/JetBrainsRuntime@16150a0
https://youtrack.jetbrains.com/issue/JBR-6376