LionyxML / auto-dark-emacs

Auto-Dark-Emacs is an auto changer between 2 themes, dark/light, following MacOS, Linux or Windows Dark Mode settings
GNU General Public License v2.0
140 stars 34 forks source link

feat: makes nil an option as dark or light themes #46

Closed LionyxML closed 6 months ago

LionyxML commented 6 months ago

As discussed on #41:

If the user wants "not to set" (set to nil), it is now possible for the variables auto-dark-dark-theme and auto-dark-light-theme.

This way you can set both to nil and make usage of only the detection mechanism and its hooks auto-dark-light-mode-hook and auto-dark-dark-mode-hook.

You can also set only one of the themes to nil to use "default Emacs appearance".