ronisbr / doom-nano-modeline

A modeline for Doom Emacs based on N Λ N O Modeline
GNU General Public License v3.0
42 stars 2 forks source link

bar color #5

Open paum3 opened 11 months ago

paum3 commented 11 months ago

For some reason, the modeline main bar color is kinda bluish and it not respond to load any other theme. Only when window is non active, the bkg color of modeline fits the color of loaded colorscheme.

ronisbr commented 10 months ago

Hi @paum3 !

This behavior is strange. All the faces used are inherit from default emacs faces here:

https://github.com/ronisbr/doom-nano-modeline/blob/196fb7db2a177fd6c827a1e775cfada05c33da77/doom-nano-modeline.el#L133

Anyway, you can always set the faces to the colors you want.

conscious-puppet commented 10 months ago

i am not sure if parent issue is the same but i am facing a similar issue. when first launching emacs, the bar is inactive. the bar gets active only when i switch applications.

i think it is because of (frame-focus-state), which is nil when emacs first launches.

Screenshot 2023-11-09 at 1 42 17 AM

after removing that, it works fine for me

this is the change i made: https://github.com/ronisbr/doom-nano-modeline/commit/497b3e9a32d4bf3a963581d1c2a4e834f5c8e47a

ronisbr commented 10 months ago

The problem is that without (frame-focus-state), the modeline will not change when we have another frame in focus.

conscious-puppet commented 10 months ago

hmm, for me the modeline was inactive when i just launched emacs. in the screenshot i attached, the focus is on that frame, but the modeline is inactive.

i am not sure about the exact issue, but for now, removing frame-focus-state works for me.