mirror of
https://github.com/protesilaos/modus-themes.git
synced 2026-09-10 07:16:30 -04:00
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.
This commit is contained in:
parent
39ab1ab5ea
commit
564c4f3758
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue