From cb7ebc852dd3d7a2e2bdcb8b59290825a98279fa Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Tue, 4 Dec 2012 15:57:24 -0800 Subject: [PATCH 1/2] Add support for ERC * User input is faded in order to focus on messages by others * Keywords are same color as matched parens * Nicks of others are unbolded cyan * Server notices are unbolded blue * Timestamps are faded, not bright Looks best with the solarized-dark theme. --- solarized-definitions.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/solarized-definitions.el b/solarized-definitions.el index e168559..2b22134 100644 --- a/solarized-definitions.el +++ b/solarized-definitions.el @@ -502,6 +502,13 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further." (rcirc-bright-nick ((t (:foreground ,magenta)))) (rcirc-server ((t (:foreground ,base1)))) (rcirc-timestamp ((t (:foreground ,base01)))) + ;; ERC + (erc-input-face ((t (:foreground ,base01)))) + (erc-keyword-face ((t (,@fmt-bold ,@fg-cyan ,@bg-base02)))) + (erc-my-nick-face ((t (:foreground ,blue)))) + (erc-nick-default-face ((t (,@fmt-none ,@fg-cyan)))) + (erc-notice-face ((t (,@fmt-none ,@fg-blue)))) + (erc-timestamp-face ((t (:foreground ,base01)))) ;;font-latex (font-latex-warning-face ((t (,@fg-red)))) (font-latex-sectioning-5-face ((t (,@fg-violet)))) From 86c2994d5a54519d779a800f6ae264dad82f706e Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Tue, 4 Dec 2012 16:16:13 -0800 Subject: [PATCH 2/2] Make keywords orange Others don't seem to like this quite as much, so keeping it out of the initial pull request. --- solarized-definitions.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solarized-definitions.el b/solarized-definitions.el index 2b22134..c28889f 100644 --- a/solarized-definitions.el +++ b/solarized-definitions.el @@ -504,7 +504,7 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further." (rcirc-timestamp ((t (:foreground ,base01)))) ;; ERC (erc-input-face ((t (:foreground ,base01)))) - (erc-keyword-face ((t (,@fmt-bold ,@fg-cyan ,@bg-base02)))) + (erc-keyword-face ((t (,@fmt-bldi ,@fg-yellow)))) (erc-my-nick-face ((t (:foreground ,blue)))) (erc-nick-default-face ((t (,@fmt-none ,@fg-cyan)))) (erc-notice-face ((t (,@fmt-none ,@fg-blue))))