branch: elpa/material-theme
commit 621c76df32252f51a95d5afc01e4ea9ba6cc3f02
Author: Christoph Paulik <[email protected]>
Commit: Christoph Paulik <[email protected]>
Add faces for company-preview mode.
fix #27
---
material-light-theme.el | 4 ++--
material-theme.el | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/material-light-theme.el b/material-light-theme.el
index 658527e..14411f0 100644
--- a/material-light-theme.el
+++ b/material-light-theme.el
@@ -593,8 +593,8 @@
;; Company autocomplete
;; `(company-echo ((,class ())))
;; `(company-echo-common ((,class ())))
- ;; `(company-preview ((,class ())))
- `(company-preview-common ((,class (:foreground "#C0C0C0" :background
"#FFFFD7")))) ; same background as highlight-line
+ `(company-preview ((,class (:foreground ,comment :background
,inactive-gray))))
+ `(company-preview-common ((,class (:foreground ,comment :background
,inactive-gray)))) ; same background as highlight-line
;; `(company-preview-search ((,class ())))
`(company-scrollbar-bg ((,class (:background "#F0F0F0"))))
`(company-scrollbar-fg ((,class (:background "#C0C0C0"))))
diff --git a/material-theme.el b/material-theme.el
index 23dcb61..16f86cf 100644
--- a/material-theme.el
+++ b/material-theme.el
@@ -587,8 +587,9 @@
;; Company autocomplete
;; `(company-echo ((,class ())))
;; `(company-echo-common ((,class ())))
- ;; `(company-preview ((,class ())))
- `(company-preview-common ((,class (:foreground "#C0C0C0" :background
"#FFFFD7")))) ; same background as highlight-line
+
+ `(company-preview ((,class (:foreground ,comment :background
,inactive-gray))))
+ `(company-preview-common ((,class (:foreground ,comment :background
,inactive-gray)))) ; same background as highlight-line
;; `(company-preview-search ((,class ())))
`(company-scrollbar-bg ((,class (:background "#F0F0F0"))))
`(company-scrollbar-fg ((,class (:background "#C0C0C0"))))