The imenu-list face settings in modus-themes.el, namely:
https://github.com/protesilaos/modus-themes/blob/5a777c30ca9f915e97ffd394736a4d547a8899e4/modus-themes.el#L2647-L2654
set 8 different colors for 8 different imenu-list faces, but this is causing visual confusion. Because in fact, an imenu-list entry imenu-list-entry-subalist-face-<num> is at the same level as imenu-list-entry-face-<num> (they have the same <num>!), the only difference is that the former contains sub-entires.
The modus-vivendi colorization of imenu-list now looks like:
which is confusing, because "Earth" is at the same level as Venus, but it has a different color. What's NOT confusing would look like below:
Without modus-themes, the above is also the default behavior of imenu-list, which I produce below with a vanilla-ish emacs:
Modus lover here!
The imenu-list face settings in
modus-themes.el
, namely: https://github.com/protesilaos/modus-themes/blob/5a777c30ca9f915e97ffd394736a4d547a8899e4/modus-themes.el#L2647-L2654 set 8 different colors for 8 different imenu-list faces, but this is causing visual confusion. Because in fact, an imenu-list entryimenu-list-entry-subalist-face-<num>
is at the same level asimenu-list-entry-face-<num>
(they have the same<num>
!), the only difference is that the former contains sub-entires.The modus-vivendi colorization of imenu-list now looks like: which is confusing, because "Earth" is at the same level as Venus, but it has a different color. What's NOT confusing would look like below:
Without modus-themes, the above is also the default behavior of imenu-list, which I produce below with a vanilla-ish emacs: