From 01fd3517fb486a0b1fef32b91cb1c6473e63d8c5 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 9 Apr 2019 11:42:11 +0900 Subject: [PATCH] Change company-mode color --- emacs.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/emacs.el b/emacs.el index 7280c4b..88c0995 100644 --- a/emacs.el +++ b/emacs.el @@ -1047,6 +1047,23 @@ found, otherwise returns nil." (define-key company-active-map (kbd "C-s") 'company-filter-candidates) (define-key company-active-map (kbd "C-i") 'company-complete-selection) (define-key company-active-map (kbd "C-f") 'company-complete-selection) + + ;; https://qiita.com/syohex/items/8d21d7422f14e9b53b17 + (set-face-attribute 'company-tooltip nil + :foreground "black" :background "lightgrey") + (set-face-attribute 'company-tooltip-common nil + :foreground "black" :background "lightgrey") + (set-face-attribute 'company-tooltip-common-selection nil + :foreground "white" :background "steelblue") + (set-face-attribute 'company-tooltip-selection nil + :foreground "black" :background "steelblue") + (set-face-attribute 'company-preview-common nil + :background nil :foreground "lightgrey" :underline t) + (set-face-attribute 'company-scrollbar-fg nil + :background "orange") + (set-face-attribute 'company-scrollbar-bg nil + :background "gray40") + )