Plugin for synchronizing IDEA's theme with macOS's Dark Mode. When macOS is in dark mode, plugin sets IDEA to Darcula, but when macOS is in light mode, sets IDEA theme to IntelliJ
./gradlew build
./gradlew runIde
The plugin polls the macOS Dark Mode configuration by executing the following command and interpreting its output.
defaults read -g AppleInterfaceStyle
When the plugin detects that macOS is using Dark Mode, it sets the IDEA theme to "Darcula". When the plugin detects that macOS is not using Dark Mode, it sets the IDEA theme to "IntelliJ".