From 5226c7c0169c61977d8914a5feb385bde36077ee Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 18 Aug 2011 20:12:45 -0400 Subject: [PATCH] Adapt themes to new error/warning/success faces. * etc/themes/dichromacy-theme.el: * etc/themes/wheatgrass-theme.el: * etc/themes/tango-theme.el: * etc/themes/tango-dark-theme.el: Add error, warning, and success faces. --- etc/ChangeLog | 8 ++++++++ etc/themes/dichromacy-theme.el | 6 ++++-- etc/themes/tango-dark-theme.el | 4 +++- etc/themes/tango-theme.el | 4 +++- etc/themes/wheatgrass-theme.el | 4 +++- 5 files changed, 21 insertions(+), 5 deletions(-) diff --git a/etc/ChangeLog b/etc/ChangeLog index 0e31638a9a..c2f7e3cb0d 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,11 @@ +2011-08-19 Chong Yidong + + * themes/dichromacy-theme.el: + * themes/wheatgrass-theme.el: + * themes/tango-theme.el: + * themes/tango-dark-theme.el: Add error, warning, and success + faces. + 2011-08-15 Carsten Dominik * refcards/orgcard.tex: Document `org-copy-visible'. diff --git a/etc/themes/dichromacy-theme.el b/etc/themes/dichromacy-theme.el index 31f27d9fb8..3c260118b2 100644 --- a/etc/themes/dichromacy-theme.el +++ b/etc/themes/dichromacy-theme.el @@ -60,6 +60,10 @@ Ansi-Color faces are included.") ;; Escape and prompt faces `(minibuffer-prompt ((,class (:weight bold :foreground ,blue)))) `(escape-glyph ((,class (:foreground ,vermillion)))) + `(error ((,class (:weight bold :slant italic + :foreground ,vermillion)))) + `(warning ((,class (:foreground ,orange)))) + `(success ((,class (:foreground ,bluegreen)))) ;; Font lock faces `(font-lock-builtin-face ((,class (:foreground ,blue)))) `(font-lock-comment-face ((,class (:slant italic :foreground ,bluegreen)))) @@ -69,8 +73,6 @@ Ansi-Color faces are included.") `(font-lock-string-face ((,class (:foreground ,bluegray)))) `(font-lock-type-face ((,class (:weight bold :foreground ,blue)))) `(font-lock-variable-name-face ((,class (:weight bold :foreground ,orange)))) - `(font-lock-warning-face ((,class (:weight bold :slant italic - :foreground ,vermillion)))) ;; Button and link faces `(link ((,class (:underline t :foreground ,blue)))) `(link-visited ((,class (:underline t :foreground ,redpurple)))) diff --git a/etc/themes/tango-dark-theme.el b/etc/themes/tango-dark-theme.el index 403370c90c..8f91d35e6a 100644 --- a/etc/themes/tango-dark-theme.el +++ b/etc/themes/tango-dark-theme.el @@ -75,6 +75,9 @@ Semantic, and Ansi-Color faces are included.") ;; Escape and prompt faces `(minibuffer-prompt ((,class (:foreground ,cham-0)))) `(escape-glyph ((,class (:foreground ,butter-3)))) + `(error ((,class (:foreground ,red-0)))) + `(warning ((,class (:foreground ,orange-1)))) + `(success ((,class (:foreground ,cham-1)))) ;; Font lock faces `(font-lock-builtin-face ((,class (:foreground ,plum-1)))) `(font-lock-comment-face ((,class (:foreground ,cham-2)))) @@ -84,7 +87,6 @@ Semantic, and Ansi-Color faces are included.") `(font-lock-string-face ((,class (:foreground ,choc-1)))) `(font-lock-type-face ((,class (:foreground ,blue-0)))) `(font-lock-variable-name-face ((,class (:foreground ,orange-1)))) - `(font-lock-warning-face ((,class (:foreground ,red-0)))) ;; Button and link faces `(link ((,class (:underline t :foreground ,blue-1)))) `(link-visited ((,class (:underline t :foreground ,blue-2)))) diff --git a/etc/themes/tango-theme.el b/etc/themes/tango-theme.el index 9d0f0aca94..f504d76427 100644 --- a/etc/themes/tango-theme.el +++ b/etc/themes/tango-theme.el @@ -66,6 +66,9 @@ Semantic, and Ansi-Color faces are included.") ;; Escape and prompt faces `(minibuffer-prompt ((,class (:weight bold :foreground ,blue-3)))) `(escape-glyph ((,class (:foreground ,red-3)))) + `(error ((,class (:foreground ,red-3)))) + `(warning ((,class (:foreground ,orange-3)))) + `(success ((,class (:foreground ,cham-3)))) ;; Font lock faces `(font-lock-builtin-face ((,class (:foreground ,plum-2)))) `(font-lock-comment-face ((,class (:slant italic :foreground ,alum-5)))) @@ -75,7 +78,6 @@ Semantic, and Ansi-Color faces are included.") `(font-lock-string-face ((,class (:foreground ,plum-3)))) `(font-lock-type-face ((,class (:foreground ,blue-3)))) `(font-lock-variable-name-face ((,class (:foreground ,orange-4)))) - `(font-lock-warning-face ((,class (:foreground ,red-2)))) ;; Button and link faces `(link ((,class (:underline t :foreground ,blue-3)))) `(link-visited ((,class (:underline t :foreground ,blue-2)))) diff --git a/etc/themes/wheatgrass-theme.el b/etc/themes/wheatgrass-theme.el index 9f8772c4d6..63ebc247b9 100644 --- a/etc/themes/wheatgrass-theme.el +++ b/etc/themes/wheatgrass-theme.el @@ -30,6 +30,9 @@ of green, brown, and blue.") 'wheatgrass `(default ((,class (:foreground "wheat" :background "black")))) `(cursor ((,class (:foreground "black" :background "thistle")))) + `(error ((,class (:foreground "salmon1")))) + `(warning ((,class (:foreground "orange")))) + `(success ((,class (:foreground "yellow green")))) ;; Highlighting faces `(highlight ((,class (:foreground "white" :background "dark green")))) `(region ((,class (:foreground "white" :background "dark green")))) @@ -45,7 +48,6 @@ of green, brown, and blue.") `(font-lock-string-face ((,class (:foreground "dark khaki")))) `(font-lock-type-face ((,class (:foreground "aquamarine")))) `(font-lock-variable-name-face ((,class (:foreground "yellow green")))) - `(font-lock-warning-face ((,class (:foreground "salmon1")))) ;; Button and link faces `(link ((,class (:underline t :foreground "cyan")))) `(link-visited ((,class (:underline t :foreground "dark cyan")))) -- 2.20.1