emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/spacemacs-theme d22b0c42bb 092/336: Revamp of company tool


From: ELPA Syncer
Subject: [nongnu] elpa/spacemacs-theme d22b0c42bb 092/336: Revamp of company tooltips
Date: Fri, 14 Jan 2022 10:59:16 -0500 (EST)

branch: elpa/spacemacs-theme
commit d22b0c42bb5aef9938be703bc31e0d598b39e94e
Author: nashamri <designernasser@gmail.com>
Commit: nashamri <designernasser@gmail.com>

    Revamp of company tooltips
---
 spacemacs-common.el | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/spacemacs-common.el b/spacemacs-common.el
index 2789cdf94a..4b6ca3473a 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -80,6 +80,9 @@
         (red           (if (eq variant 'dark) (if (display-graphic-p) 
"#f2241f" "#d70000") (if (display-graphic-p) "#f2241f" "#d70008")))
         (active1       (if (eq variant 'dark) (if (display-graphic-p) 
"#222226" "#121212") (if (display-graphic-p) "#e7e5eb" "#d7dfff")))
         (active2       (if (eq variant 'dark) (if (display-graphic-p) 
"#5d4d7a" "#444444") (if (display-graphic-p) "#d3d3e7" "#afafd7")))
+        (ttip          (if (eq variant 'dark) (if (display-graphic-p) 
"#9a9aba" "#888888") (if (display-graphic-p) "#8c799f" "#5f5f87")))
+        (ttip-sl       (if (eq variant 'dark) (if (display-graphic-p) 
"#6b5d85" "#333333") (if (display-graphic-p) "#c8c6dd" "#afafff")))
+        (ttip-bg       (if (eq variant 'dark) (if (display-graphic-p) 
"#34323e" "#444444") (if (display-graphic-p) "#e2e0ea" "#dfdfff")))
         (inactive      (if (eq variant 'dark) (if (display-graphic-p) 
"#5d4d7a" "#111111") (if (display-graphic-p) "#9f8fbd" "#af87d7")))
         (m-line-brdr   (if (eq variant 'dark) (if (display-graphic-p) 
"#5d4d7a" "#111111") (if (display-graphic-p) "#b3b9be" "#b3b9be")))
         (org-block-bg  (if (eq variant 'dark) (if (display-graphic-p) 
"#232528" "#262626") (if (display-graphic-p) "#d9e6dd" "#ffffff")))
@@ -125,12 +128,12 @@
      `(match ((,class (:background ,bg1 :foreground ,inf :weight bold))))
      `(minibuffer-prompt ((,class (:bold t :foreground ,keyword))))
      `(page-break-lines ((,class (:foreground ,active2))))
-     `(popup-tip-face ((,class (:background ,active2 :foreground ,base :bold 
nil :italic nil :underline nil))))
+     `(popup-tip-face ((,class (:background ,ttip-sl :foreground ,base :bold 
nil :italic nil :underline nil))))
      `(region ((,class (:background ,highlight))))
      `(secondary-selection ((,class (:background ,bg3))))
      `(show-paren-match-face ((,class (:background ,suc))))
      `(success ((,class (:foreground ,suc))))
-     `(tooltip ((,class (:background ,active2 :foreground ,base :bold nil 
:italic nil :underline nil))))
+     `(tooltip ((,class (:background ,ttip-sl :foreground ,base :bold nil 
:italic nil :underline nil))))
      `(vertical-border ((,class (:foreground ,bg4))))
      `(warning ((,class (:foreground ,war ))))
 
@@ -139,19 +142,19 @@
 
 ;;;;; company
      `(company-echo-common ((,class (:background ,base :foreground ,bg1))))
-     `(company-preview ((,class (:background ,bg1 :foreground ,key1))))
-     `(company-preview-common ((,class (:background ,bg2 :foreground 
,keyword))))
-     `(company-preview-search ((,class (:background ,bg2 :foreground ,green))))
+     `(company-preview ((,class (:background ,ttip-bg :foreground ,ttip))))
+     `(company-preview-common ((,class (:background ,ttip-bg :foreground 
,base))))
+     `(company-preview-search ((,class (:inherit match))))
      `(company-scrollbar-bg ((,class (:background ,bg2))))
-     `(company-scrollbar-fg ((,class (:background ,comp))))
+     `(company-scrollbar-fg ((,class (:background ,active2))))
      `(company-template-field ((,class (:inherit region))))
-     `(company-tooltip ((,class (:background ,active2 :foreground ,(if (eq 
variant 'dark) active1 str)))))
-     `(company-tooltip-annotation ((,class (:background ,active2 :foreground 
,inf))))
-     `(company-tooltip-common ((,class (:background ,active2 :foreground 
,base))))
-     `(company-tooltip-common-selection ((,class (:foreground ,(if (eq variant 
'dark) suc war)))))
+     `(company-tooltip ((,class (:background ,ttip-bg :foreground ,ttip))))
+     `(company-tooltip-annotation ((,class (:background ,ttip-bg :foreground 
,inf))))
+     `(company-tooltip-common ((,class (:background ,ttip-bg :foreground 
,base))))
+     `(company-tooltip-common-selection ((,class (:foreground ,base))))
      `(company-tooltip-mouse ((,class (:inherit highlight))))
      `(company-tooltip-search ((,class (:inherit match))))
-     `(company-tooltip-selection ((,class (:background ,(if (eq variant 'dark) 
"#6b5d85" "#c8c6dd") :bold t))))
+     `(company-tooltip-selection ((,class (:background ,ttip-sl :foreground 
,base))))
 
 ;;;;; diff
      `(diff-added             ((,class :background nil :foreground ,green)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]