branch: elpa/monokai-theme
commit d26408e81c3881b0c2faea6d23b1e716fd687c4c
Merge: 1af1cbc 764ffa3
Author: Kelvin Smith <[email protected]>
Commit: Kelvin Smith <[email protected]>
Merge pull request #34 from ane/master
Theming support for company annotations and template fields
---
monokai-theme.el | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/monokai-theme.el b/monokai-theme.el
index 5414e57..1a46666 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -1344,7 +1344,21 @@ Also affects 'linum-mode' background."
((,class (:background ,yellow-d))
(,terminal-class (:background ,terminal-yellow-d))))
- ;; cscope
+ ;; company-mode tooltip annnotations
+ `(company-tooltip-annotation
+ ((,class (:background ,monokai-hl
+ :foreground ,green-l))
+ (,terminal-class (:background ,terminal-monokai-hl
+ :foreground ,terminal-green))))
+
+ ;; company-mode templates
+ `(company-template-field
+ ((,class (:background ,monokai-hl
+ :foreground ,cyan))
+ (,terminal-class (:background ,terminal-monokai-hl
+ :foreground ,terminal-cyan))))
+
+ ;; CSCOPE
`(cscope-file-face
((,class (:foreground ,green
:weight bold))