branch: externals/modus-themes
commit ebefa010b297469183d157811a8ae959725625d2
Author: Jimmy Yuen Ho Wong <wyue...@gmail.com>
Commit: Jimmy Yuen Ho Wong <wyue...@gmail.com>

    Add lsp-mode and lsp-ui faces
---
 modus-themes.el | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/modus-themes.el b/modus-themes.el
index ac88d14890..5ec5a7014c 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -2952,6 +2952,65 @@ FG and BG are the main colors."
     `(line-number-current-line ((,c :inherit (bold line-number) :background 
,bg-line-number-active :foreground ,fg-line-number-active)))
     `(line-number-major-tick ((,c :inherit line-number :foreground ,err)))
     `(line-number-minor-tick ((,c :inherit line-number :foreground ,fg-alt)))
+;;;;; lsp
+    `(lsp-details-face ((t :height 0.9 :inherit shadow)))
+    `(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-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-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
+    `(lsp-ui-doc-background ((,c :background ,bg-dim)))
+    `(lsp-ui-doc-header ((t :inherit bold)))
+    `(lsp-ui-peek-peek ((,c :background ,bg-dim)))
+    `(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-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-code-action ((t :inherit 
lsp-modeline-code-actions-face)))
+    `(lsp-ui-sideline-symbol-info ((,c :inherit modus-themes-slant)))
 ;;;;; magit
     `(magit-bisect-bad ((,c :inherit error)))
     `(magit-bisect-good ((,c :inherit success)))

Reply via email to