The issue is that when the region is active and highlighted, the foreground color/syntax highlighting is not visible, at least for a buffer in Elisp Mode. Other themes seem to preserve the foreground color of the syntax highlighting when a region is active.
The issue is that when the region is active and highlighted, the foreground color/syntax highlighting is not visible, at least for a buffer in Elisp Mode. Other themes seem to preserve the foreground color of the syntax highlighting when a region is active.
On a fresh install, I tried to customize the
modus-themes-region
tobg-only
, but the foreground colors from the syntax highlighting still weren't visible: https://www.gnu.org/software/emacs/manual/html_node/modus-themes/Active-region.htmlUpdating to the newest version (4.4.0) from gnu, the
modus-themes-region
variable wasn't available anymore, so I tried to use the first alternative from the snippet below, but it don't work either: https://protesilaos.com/emacs/modus-themes#h:c8605d37-66e1-42aa-986e-d7514c3af6feUsing the following config, I could see the syntax highlighting in the foreground color as I expected (although wasn't as easy to read):
System: Modus Themes 3.0.0 (built-in) Debian Trixie/Sid Emacs 29.4