Sublime Text seems to query the “AppleInterfaceStyle” user default and respond to appearance changes via the “AppleInterfaceThemeChangedNotification” notification. These are not API and their use should be avoided in favor of observing NSApplication.effectiveAppearance
, especially since it provides incorrect results when the “Auto” system appearance setting is in effect.
Please use NSApplication.effectiveAppearance to query dark mode status
saagarjha
#1
0 Likes
facelessuser
#2
If this is the case, you may want to create an issue over on their issue tracker: https://github.com/sublimehq/sublime_text/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc.
0 Likes