rougier / nano-theme

GNU Emacs / N Λ N O Theme
GNU General Public License v3.0
376 stars 35 forks source link

Better stock theme loading support #8

Open ryan-c-scott opened 3 years ago

ryan-c-scott commented 3 years ago

Currently the package only provides a single theme, 'nano, which doesn't result in the theme fully being setup.

I change themes fairly regularly through a generic interface that lists all of the themes I have available. Nano shows up only as a single theme and the processing that nano-light does doesn't occur. Nano-dark isn't accessible in that way at all.

Kaolin gets around this using a custom macro that creates multiple themes with 'provide-theme calls. https://github.com/ogdenwebb/emacs-kaolin-themes

Love the theme btw.

rougier commented 3 years ago

Thanks for the report. The theme is supposed to take into account your frame mode (dark or light) and adapt automatically. I understand that it would be easier if nano-light / nano-dark show up in the theme list but I'm not sure how to do that actually and maybe the kaolin macro could be reused but I didn't fully grasp how it works.