Windows and macOS have APIs that can be used to check whether the system's color theme is currently light or dark mode.
This can be used by plugin UIs to adapt their color scheme to the user's preferences. JUCE already supports this: https://docs.juce.com/master/classjuce_1_1Desktop.html#ad33285e727fd836d9f30ae159673f142
Windows and macOS have APIs that can be used to check whether the system's color theme is currently light or dark mode.
This can be used by plugin UIs to adapt their color scheme to the user's preferences. JUCE already supports this: https://docs.juce.com/master/classjuce_1_1Desktop.html#ad33285e727fd836d9f30ae159673f142