valignatev / heaven-and-hell

Emacs light/dark theme toggler
MIT License
57 stars 2 forks source link

How to cycle between themes in list? #13

Open benghancock opened 4 years ago

benghancock commented 4 years ago

Great package! One thing is unclear to me: the documentation indicates that a user may create a list of light or dark themes, and then switch between them:

(setq heaven-and-hell-themes
      '((light . tsdh-light)
         (dark . (tsdh-dark wombat))))

In this scenario, how does one switch between tsdh-dark and wombat? Calling heaven-and-hell-toggle-theme switches only between light and dark, and seems to stick only to the first dark theme in the list when toggling to dark. I'd like to cycle between themes in the list.

Thanks!

valignatev commented 4 years ago

Hey, thanks for your kind words, really appreciate it! The (tsdh-dark wombat) means that these themes will both apply at the same time as a single dark theme, that is, it'll be mostly tsdh-dark, but some missing faces will come from wombat.

To directly answer your question: heaven-and-hell can't do what you want, unfortunately :(

I'll think about implementing something like heaven-and-hell-cycle-light/dark-themes