Closed slotThe closed 2 years ago
Whoops, I pulled the latest master and realised that this is already implemented now! Sorry for the noise
No worries! I had some issues with counsel
faces and implemented the modus
behaviour as a failed fix for those, so I'm glad that they found use so soon!
That said, I do like your implementation and seems to have missed/glossed over (mapc #'disable-theme custom-enabled-themes)
in the modus
implementation, so I added that as well.
This is something I've noticed today while switching from a different theme to
stimmung-themes-light
. The commit message hopefully explains the problem:The file mentions the modus themes as inspiration for the code; I double-checked and
modus-themes-toggle
does also disable all other themes before loading, so it's probably safe.Along the way, I (imo) simplified the implementation somewhat, compressing everything down into one function. If you don't agree, I can of course remove that part!