Open geraldus opened 8 years ago
Honestly, the :inverse-video t
on mode-line
(and related faces?) has been a real pain point for me. I think I’d be happy to redefine those to not inverse, but let me think about it a bit.
Well, I'd vote for not to use invert-video, however in this case we will need somehow make active/inactive mode line more distinguishable, this is standard mode-lines (though with single buffer it looks perfect):
Very hard to find which one is active.
Also spaceline
faces also require some workaround for inactive mode-line:
Finally, as for me things are bad in Vim too (especially in light mode):
Also, screenshots from Solarized homepage shows that Vim's status line should have base02
background in dark mode and base2
in light mode (this is the second difference I've spotted in addition to newline chars color mismatch, looks like either screenshots are outdates, or current implementation is broken for some reason, anyway I'm care about Vim's version less than about Emacs' one :D)
UPDATE: in case of spaceline with de-inverted video we should fix powerline-inactive-1
face.
What about changing
fg-base02
and bg-base01
for mode-line-active
fg-base01
to fg-base02
for mode-line-inactive
which yields:
I’m a bit confused here – my emacs looks like the Vim version. When I say we shouldn’t invert, we also need to swap the background/foreground so the appearance is the same, but we achieve that appearance without inverting video. E.g.,
(mode-line (,@fg-base1 ,@bg-base02 ,@fmt-revbb :box nil))
should become
(mode-line (,@fg-base02 ,@bg-base1 ,@fmt-bb :box nil))
(there is no ,@fmt-bb
yet, but easy enough to create it.
I inverted the video because that’s the way the Vim theme does it, and I’ve tried to stay faithful to that. But as long as the appearance is the same, I think it’s fine to do it differently.
I'm user of
evil-mode
along withspaceline
, the latter is a custom theme forpowerline
similar to Spacemacs' one. I'm facing tiny issue withevil
's state colouring:spaceline
defines a set of faces for evil-states, all of them are good by default, however all of them have:inherit mode-line
attribute at the same time.solarized
uses:inverse-video t
for mode-line face, and this makes evil state much less apparent. I would be glad to fix allspaceline
's face simply reverting:inverse-video
attribute if you accept such changes.Current appearance:
With
:inverse-video nil
:Also, same could be done for
spaceline-flycheck-
faces, this is current apperance:The caveat is that best way to handle all this stuff is to iterate over
spaceline
's faces applying(set-face-attribute <face> nil :inverse-video nil)
, because it seems impossible to override:inverse-video
only in face definition list. @sellout , what will you say?