Make stylistic tweaks to the lsp faces

Those were originally contributed by Jimmy Yuen Ho Wong in pull
request 142: <https://github.com/protesilaos/modus-themes/pull/142>.

The changes I making are intended mostly to avoid hardcoding certain
values, so that the palette overrides we provide work as expected.
This commit is contained in:
Protesilaos Stavrou 2025-07-07 20:14:48 +03:00
parent d31def4f58
commit 6639604271
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
3 changed files with 399 additions and 449 deletions

File diff suppressed because it is too large Load diff

View file

@ -5699,15 +5699,15 @@ The Modus themes are a collective effort. Every bit of work matters.
Contovounesios, Björn Lindström, Carlo Zancanaro, Christian Tietze,
Daniel Mendler, David Edmondson, Eli Zaretskii, Fritz Grabo, Gautier
Ponsinet, Illia Ostapyshyn, Jacob S.{{{space()}}} Gordon, Jared
Finder, Kévin Le Gouguec, Koen van Greevenbroek, Kostadin Ninev,
Leilei332, Madhavan Krishnan, Manuel Giraud, Markus Beppler, Matthew
Stevenson, Mauro Aranda, Nacho Barrientos, Niall Dooley, Nicolas De
Jaeghere, Paul David, Pavel Novichkov, Philip Kaludercic, Pierre
Téchoueyres, Rahul M.{{{space()}}} Juliato, Rudolf Adamkovič,
Sergey Nichiporchik, Shreyas Ragavan, Stefan Kangas, Stephen Berman,
Stephen Gildea, Steve Downey, Thanos Apollo, Tomasz Hołubowicz,
Utkarsh Singh, Vincent Murphy, Xinglu Chen, Yuanchen Xie, fluentpwn,
okamsn.
Finder, Jimmy Yuen Ho Wong, Kévin Le Gouguec, Koen van Greevenbroek,
Kostadin Ninev, Leilei332, Madhavan Krishnan, Manuel Giraud, Markus
Beppler, Matthew Stevenson, Mauro Aranda, Nacho Barrientos, Niall
Dooley, Nicolas De Jaeghere, Paul David, Pavel Novichkov, Philip
Kaludercic, Pierre Téchoueyres, Rahul M.{{{space()}}} Juliato,
Rudolf Adamkovič, Sergey Nichiporchik, Shreyas Ragavan, Stefan
Kangas, Stephen Berman, Stephen Gildea, Steve Downey, Thanos Apollo,
Tomasz Hołubowicz, Utkarsh Singh, Vincent Murphy, Xinglu Chen,
Yuanchen Xie, fluentpwn, okamsn.
+ Ideas and user feedback :: Aaron Jensen, Adam Porter, Adam Spiers,
Adrian Manea, Aleksei Pirogov, Alex Griffin, Alex Koen, Alex

View file

@ -2959,40 +2959,22 @@ FG and BG are the main colors."
`(lsp-face-rename ((t :inherit modus-themes-search-replace)))
`(lsp-headerline-breadcrumb-separator-face ((t :inherit shadow)))
`(lsp-headerline-breadcrumb-path-face ((t :inherit font-lock-string-face)))
`(lsp-headerline-breadcrumb-path-error-face
((,c :underline (:style wave :color ,err)
:inherit lsp-headerline-breadcrumb-path-face)))
`(lsp-headerline-breadcrumb-path-warning-face
((,c :underline (:style wave :color ,warning)
:inherit lsp-headerline-breadcrumb-path-face)))
`(lsp-headerline-breadcrumb-path-info-face
((,c :underline (:style wave :color ,info)
:inherit lsp-headerline-breadcrumb-path-face)))
`(lsp-headerline-breadcrumb-path-hint-face
((,c :underline (:style wave :color ,info)
:inherit lsp-headerline-breadcrumb-path-face)))
`(lsp-headerline-breadcrumb-project-prefix-face
((t :inherit font-lock-string-face :weight semibold)))
`(lsp-headerline-breadcrumb-unknown-project-prefix-face
((t :inherit shadow :weight semibold)))
`(lsp-headerline-breadcrumb-symbols-face
((t :inherit font-lock-doc-face :weight semibold)))
`(lsp-headerline-breadcrumb-symbols-error-face
((,c :inherit lsp-headerline-breadcrumb-symbols-face
:underline (:style wave :color ,err))))
`(lsp-headerline-breadcrumb-symbols-warning-face
((,c :inherit lsp-headerline-breadcrumb-symbols-face
:underline (:style wave :color ,warning))))
`(lsp-headerline-breadcrumb-symbols-info-face
((,c :inherit lsp-headerline-breadcrumb-symbols-face
:underline (:style wave :color ,info))))
`(lsp-headerline-breadcrumb-symbols-hint-face
((,c :inherit lsp-headerline-breadcrumb-symbols-face
:underline (:style wave :color ,info))))
`(lsp-headerline-breadcrumb-path-error-face ((,c :inherit (lsp-headerline-breadcrumb-path-face modus-themes-lang-error))))
`(lsp-headerline-breadcrumb-path-warning-face ((,c :inherit (lsp-headerline-breadcrumb-path-face modus-themes-lang-warning))))
`(lsp-headerline-breadcrumb-path-info-face ((,c :inherit (lsp-headerline-breadcrumb-path-face modus-themes-lang-note))))
`(lsp-headerline-breadcrumb-path-hint-face ((,c :inherit (lsp-headerline-breadcrumb-path-face modus-themes-lang-note))))
`(lsp-headerline-breadcrumb-project-prefix-face ((t :inherit bold :foreground ,name)))
`(lsp-headerline-breadcrumb-unknown-project-prefix-face ((t :inherit (shadow bold))))
`(lsp-headerline-breadcrumb-symbols-face ((t :inherit (bold font-lock-doc-face))))
`(lsp-headerline-breadcrumb-symbols-error-face ((,c :inherit (lsp-headerline-breadcrumb-symbols-face modus-themes-lang-error))))
`(lsp-headerline-breadcrumb-symbols-warning-face ((,c :inherit (lsp-headerline-breadcrumb-symbols-face modus-themes-lang-warning))))
`(lsp-headerline-breadcrumb-symbols-info-face ((,c :inherit (lsp-headerline-breadcrumb-symbols-face modus-themes-lang-note))))
`(lsp-headerline-breadcrumb-symbols-hint-face ((,c :inherit (lsp-headerline-breadcrumb-symbols-face modus-themes-lang-note))))
`(lsp-installation-buffer-face ((,c :foreground ,info)))
`(lsp-installation-finished-buffer-face ((,c :foreground ,info)))
`(lsp-lens-mouse-face ((t :height 0.9 :inherit link)))
`(lsp-modeline-code-actions-preferred-face ((,c :foreground ,yellow)))
`(lsp-modeline-code-actions-face ((,c :foreground ,modeline-warning)))
`(lsp-modeline-code-actions-preferred-face ((,c :foreground ,modeline-warning)))
`(lsp-signature-posframe ((,c :background ,bg-dim :foreground ,fg-main)))
(list 'lsp-signature-highlight-function-argument `((,c :inherit bold :background ,bg-active-argument :foreground ,fg-active-argument)))
;;;;; lsp-ui
@ -3002,15 +2984,11 @@ FG and BG are the main colors."
`(lsp-ui-peek-list ((,c :background ,bg-dim)))
`(lsp-ui-peek-filename ((,c :inherit bold :foreground ,name)))
`(lsp-ui-peek-line-number ((t :inherit line-number)))
`(lsp-ui-peek-highlight ((,c :background ,bg-dim
:box (:line-width -1 :color ,border))))
`(lsp-ui-peek-highlight ((,c :background ,bg-dim :box (:line-width -1 :color ,border))))
`(lsp-ui-peek-header ((t :inherit bold)))
`(lsp-ui-peek-selection ((t :inherit region)))
`(lsp-ui-sideline-symbol ((,c :foreground ,fg-dim
:box (:line-width -1 :color ,border))))
`(lsp-ui-sideline-current-symbol ((,c :inherit bold
:foreground ,fg-main
:box (:line-width -1 :color ,border))))
`(lsp-ui-sideline-symbol ((,c :foreground ,fg-dim :box (:line-width -1 :color ,border))))
`(lsp-ui-sideline-current-symbol ((,c :inherit bold :foreground ,fg-main :box (:line-width -1 :color ,border))))
`(lsp-ui-sideline-code-action ((t :inherit lsp-modeline-code-actions-face)))
`(lsp-ui-sideline-symbol-info ((,c :inherit modus-themes-slant)))
;;;;; magit