Skip to content

Commit 3911b69

Browse files
committed
feat(theme): improve search highlight
1 parent e5e7065 commit 3911b69

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lisp/readable-mono-theme.el

+6-2
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,10 @@ For example links."
229229
`(completions-common-part ((t (:inherit readable-mono-theme-strong))))
230230
`(completions-first-difference ((t (:inherit readable-mono-theme-emphasis))))
231231
`(highlight ((t (:inverse-video t))))
232-
`(isearch ((t (:inherit highlight))))
232+
`(isearch ((((background light)) (:inherit highlight :foreground ,l-fg))
233+
(((background dark)) (:inherit highlight :foreground ,d-fg))))
233234
`(isearch-fail ((t (:inherit error))))
234-
`(lazy-highlight ((t (:inherit readable-mono-theme-subordinate :inverse-video t))))
235+
`(lazy-highlight ((t (:inherit (highlight readable-mono-theme-subordinate)))))
235236
`(match ((t (:inherit highlight))))
236237
`(region
237238
((((background light)) (:foreground ,l-bg :background ,l-fg))
@@ -468,6 +469,9 @@ For example links."
468469
;;;;; haskell
469470
`(haskell-interactive-face-prompt ((t (:inherit readable-mono-theme-strong))))
470471

472+
;;;;; idle-highlight
473+
`(idle-highlight ((t (:inherit (lazy-highlight)))))
474+
471475
;;;;; imenu-list
472476
`(imenu-list-entry-face-0 ((t (:foreground unspecified))))
473477
`(imenu-list-entry-face-1 ((t (:foreground unspecified))))

0 commit comments

Comments
 (0)