From f5d42cc41b96d2864e50cec439fba0e783e49e2e Mon Sep 17 00:00:00 2001 From: John Mastro Date: Sat, 19 Jul 2014 17:53:33 -0700 Subject: [PATCH 1/2] Define colors for company-mode --- solarized-definitions.el | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/solarized-definitions.el b/solarized-definitions.el index b42784b..b7be4f5 100644 --- a/solarized-definitions.el +++ b/solarized-definitions.el @@ -581,7 +581,19 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further." (term-color-blue (,@fg-blue)) (term-color-magenta (,@fg-magenta)) (term-color-cyan (,@fg-cyan)) - (term-color-white (,@fg-base00))))))) + (term-color-white (,@fg-base00)) + ;; company + (company-tooltip (,@fg-base00 ,@bg-base02)) + (company-tooltip-selection (,@fg-base1 ,@bg-base02)) + (company-tooltip-mouse (,@fg-base1 ,@bg-base02)) + (company-tooltip-common (,@fg-base1 ,@bg-base02)) + (company-tooltip-common-selection (,@fg-base1 ,@bg-base02)) + (company-tooltip-annotation (,@fg-yellow ,@bg-base02)) + (company-scrollbar-fg (,@bg-base0)) + (company-scrollbar-bg (,@bg-base02)) + (company-preview (,@bg-green)) + (company-preview-common (,@bg-base02)) + (company-template-field (,@fg-base03 ,@bg-yellow))))))) ;;;###autoload (when (boundp 'custom-theme-load-path) From ae3e0429c1b97a0f4f3f7713b84e2ab50643a8bb Mon Sep 17 00:00:00 2001 From: calve Date: Tue, 23 Sep 2014 14:54:50 +0200 Subject: [PATCH 2/2] Better support for company in terminal --- solarized-definitions.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solarized-definitions.el b/solarized-definitions.el index b7be4f5..baada17 100644 --- a/solarized-definitions.el +++ b/solarized-definitions.el @@ -586,8 +586,8 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further." (company-tooltip (,@fg-base00 ,@bg-base02)) (company-tooltip-selection (,@fg-base1 ,@bg-base02)) (company-tooltip-mouse (,@fg-base1 ,@bg-base02)) - (company-tooltip-common (,@fg-base1 ,@bg-base02)) - (company-tooltip-common-selection (,@fg-base1 ,@bg-base02)) + (company-tooltip-common (,@fg-blue ,@bg-base02)) + (company-tooltip-common-selection (,@fg-blue ,@bg-base01)) (company-tooltip-annotation (,@fg-yellow ,@bg-base02)) (company-scrollbar-fg (,@bg-base0)) (company-scrollbar-bg (,@bg-base02))