solarized-emacs

a fork of Bozhidar Batsov's solarized-emacs
git clone https://git.trogloxene.org/solarized-emacs.git
Log | Files | Refs | README

commit ea5f926769021ba19a5750d50d3e0ec4e987154d
parent 3819bdaf1addc2d4a9857eef9a087c3974e91c94
Author: Thomas Frössman <thomasf@jossystem.se>
Date:   Sat, 27 Jun 2015 23:12:13 +0200

Add solarized-distinct-doc-face defcustom

Closes #158

Diffstat:
Msolarized.el | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/solarized.el b/solarized.el @@ -54,6 +54,12 @@ Also affects `linum-mode' background." :type 'boolean :group 'solarized) +(defcustom solarized-distinct-doc-face nil + "Make font-lock-doc-face stand out more. +Related discussion: https://github.com/bbatsov/solarized-emacs/issues/158" + :type 'boolean + :group 'solarized) + (defcustom solarized-use-variable-pitch t "Use variable pitch face for some headings and titles." :type 'boolean @@ -435,7 +441,8 @@ customize the resulting theme." ((,class (:foreground ,base01 :slant ,s-maybe-italic)))) `(font-lock-comment-face ((,class (:foreground ,base01)))) `(font-lock-constant-face ((,class (:foreground ,blue :weight bold)))) - `(font-lock-doc-face ((,class (:foreground ,cyan :slant ,s-maybe-italic)))) + `(font-lock-doc-face ((,class (:foreground ,(if solarized-distinct-doc-face violet cyan) + :slant ,s-maybe-italic)))) `(font-lock-function-name-face ((,class (:foreground ,blue)))) `(font-lock-keyword-face ((,class (:foreground ,green :weight ,s-maybe-bold)))) `(font-lock-negation-char-face ((,class (:foreground ,yellow :weight bold))))