commit 4ff45accd1ce2cfae13a41e7d5c5c38fba5681c3
parent 7f1a508d2f52317d789291b58a184dfb8d9fc8e6
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Date: Tue, 28 Jul 2026 10:08:35 +0200
Add gptel and breadcrumb face support
gptel's own faces hardcode backgrounds (gray4, alice blue, linen)
that clash on both variants; map the context/response regions to
base02 and the diff-heading background, and the deletion and rewrite
highlights to the tinted diff backgrounds. breadcrumb's current
leaf stands out while the crumbs recede into base01.
Diffstat:
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/solarized-faces.el b/solarized-faces.el
@@ -435,6 +435,14 @@
`(bm-fringe-face ((,class (:overline ,base0))))
`(bm-fringe-persistent-face ((,class (:overline ,base0))))
`(bm-persistent-face ((,class (:overline ,base0))))
+;;;;; breadcrumb
+ `(breadcrumb-face ((,class (:foreground ,base01))))
+ `(breadcrumb-imenu-leaf-face ((,class (:foreground ,blue :weight bold))))
+ `(breadcrumb-imenu-crumbs-face ((,class (:foreground ,base01))))
+ `(breadcrumb-imenu-base-face ((,class (:foreground ,base01 :weight bold))))
+ `(breadcrumb-project-leaf-face ((,class (:foreground ,base1 :weight bold))))
+ `(breadcrumb-project-crumbs-face ((,class (:foreground ,base01))))
+ `(breadcrumb-project-base-face ((,class (:foreground ,base01 :weight bold))))
;;;;; calfw
`(cfw:face-day-title ((,class (:background ,base02))))
`(cfw:face-annotation ((,class (:inherit cfw:face-day-title :foreground ,yellow))))
@@ -974,6 +982,12 @@
`(go-coverage-10 ((,class (:foreground ,cyan))))
`(go-coverage-covered ((,class (:foreground ,green))))
`(go-coverage-untracked ((,class (:foreground ,base01))))
+;;;;; gptel
+ `(gptel-context-highlight-face ((,class (:background ,base02 :extend t))))
+ `(gptel-context-deletion-face ((,class (:background ,s-diff-A-bg :extend t))))
+ `(gptel-rewrite-highlight-face ((,class (:background ,s-diff-C-bg :extend t))))
+ `(gptel-response-highlight ((,class (:background ,s-diff-heading-bg :extend t))))
+ `(gptel-response-fringe-highlight ((,class (:foreground ,orange))))
;;;;; guide-key
`(guide-key/highlight-command-face ((,class (:foreground ,blue))))
`(guide-key/key-face ((,class (:foreground ,base01))))