~protesilaos/modus-themes

564c4f3758a3b1872714cea85aa60a298a772ca2 — Protesilaos Stavrou 10 months ago 39ab1ab
Style the 'consult-preview-insertion' face

The default style inherits from the 'region' face. This is fine in
some cases, though not when the user calls 'consult-outline' in a
buffer with hidden text (e.g. Org folded headings). There the
background is applied to the entire heading's surface area, which is
too distracting while cycling through completion candidates and
inspecting the preview.
1 files changed, 1 insertions(+), 0 deletions(-)

M modus-themes.el
M modus-themes.el => modus-themes.el +1 -0
@@ 1998,6 1998,7 @@ FG and BG are the main colors."
    `(consult-imenu-prefix ((,c :inherit shadow)))
    `(consult-line-number ((,c :inherit shadow)))
    `(consult-line-number-prefix ((,c :inherit shadow)))
    `(consult-preview-insertion ((,c :background ,bg-dim)))
;;;;; corfu
    `(corfu-current ((,c :inherit modus-themes-completion-selected)))
    `(corfu-bar ((,c :background ,fg-dim)))