d12frosted / homebrew-emacs-plus

Emacs Plus formulae for the Homebrew package manager
MIT License
2.24k stars 175 forks source link

Dark themes not working properly with multiple frames #665

Closed skalyan91 closed 4 months ago

skalyan91 commented 4 months ago

Dark themes work fine as long as I have only one frame open. However, if I have two or more frames open, and switch from a light theme to a dark theme, then as soon as I switch to the second frame, I get the following result:

Screenshot 2024-02-17 at 2 28 36 pm

In other words, the background and foreground colours are those of the light theme (see the minibuffer for an instance of the foreground colour), but the other faces are those of the dark theme. (I used doom-one-light for the light theme, and doom-dark+ for the dark theme.)

Here is what this looks like on a typical buffer:

Screenshot 2024-02-17 at 3 52 17 pm

I’m not sure if this is an issue with Emacs itself, or with Emacs+ specifically.

d12frosted commented 4 months ago

Emacs+ is pretty much GNU Emacs (there are only very few additions unless you are using some experimental flags like xwidgets). Usually these kind of problems are more of a configuration problem. I would suggest trying to reproduce without Doom.

P.S. I am closing the issue as there is nothing to do on my side - it's either a configuration issue or GNU Emacs issue - but don't be discouraged from futher activity in this issue. If you find something interesting - let me know 🙏