]> code.delx.au - gnu-emacs/blobdiff - etc/themes/tango-theme.el
Update copyright year to 2015
[gnu-emacs] / etc / themes / tango-theme.el
index 29fc6a6b4d5b50bfb535ba71191609ebaf4ab608..97eee1c566eec79ce024af8d8607aef1a716ef02 100644 (file)
@@ -1,6 +1,6 @@
 ;;; tango-theme.el --- Tango-based custom theme for faces
 
-;; Copyright (C) 2010, 2011 Free Software Foundation, Inc.
+;; Copyright (C) 2010-2015 Free Software Foundation, Inc.
 
 ;; Authors: Chong Yidong <cyd@stupidchicken>
 ;;          Jan Moringen <jan.moringen@uni-bielefeld.de>
@@ -28,7 +28,7 @@
 ;;; Code:
 
 (deftheme tango
-  "Theme for faces, based on the Tango palette with a light background.
+  "Face colors using the Tango palette (light background).
 Basic, Font Lock, Isearch, Gnus, Message, Ediff, Flyspell,
 Semantic, and Ansi-Color faces are included.")
 
@@ -42,20 +42,20 @@ Semantic, and Ansi-Color faces are included.")
       (plum-1 "#ad7fa8") (plum-2 "#75507b") (plum-3 "#5c3566")
       (red-1 "#ef2929")  (red-2 "#cc0000")  (red-3 "#a40000")
       (alum-1 "#eeeeec") (alum-2 "#d3d7cf") (alum-3 "#babdb6")
-      (alum-4 "#888a85") (alum-5 "#555753") (alum-6 "#2e3436")
+      (alum-4 "#888a85") (alum-5 "#5f615c") (alum-6 "#2e3436")
       ;; Not in Tango palette; used for better contrast.
-      (cham-4 "#346604") (blue-0 "#8cc4ff"))
+      (cham-4 "#346604") (blue-0 "#8cc4ff") (orange-4 "#b35000"))
 
   (custom-theme-set-faces
    'tango
-   `(default ((,class (:foreground ,"#16191a" :background ,alum-1))))
-   `(cursor ((,class (:foreground ,alum-1 :background ,blue-3))))
+   `(default ((,class (:foreground ,alum-6 :background ,alum-1))))
+   `(cursor ((,class (:background ,blue-3))))
    ;; Highlighting faces
    `(fringe ((,class (:background ,alum-2))))
    `(highlight ((,class (:background ,alum-3))))
    `(region ((,class (:background ,alum-3))))
    `(secondary-selection ((,class (:background ,blue-0))))
-   `(isearch ((,class (:foreground ,"#ffffff" :background ,orange-3))))
+   `(isearch ((,class (:foreground "#ffffff" :background ,orange-3))))
    `(lazy-highlight ((,class (:background ,choc-1))))
    `(trailing-whitespace ((,class (:background ,red-1))))
    ;; Mode line faces
@@ -66,18 +66,19 @@ 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 (:weight bold :foreground ,plum-3))))
-   `(font-lock-comment-face ((,class (:foreground ,cham-4))))
+   `(font-lock-builtin-face ((,class (:foreground ,plum-2))))
+   `(font-lock-comment-face ((,class (:slant italic :foreground ,alum-5))))
    `(font-lock-constant-face ((,class (:weight bold :foreground ,blue-3))))
    `(font-lock-function-name-face ((,class (:foreground ,red-3))))
-   `(font-lock-keyword-face ((,class (:weight bold :foreground ,choc-2))))
+   `(font-lock-keyword-face ((,class (:foreground ,cham-4))))
    `(font-lock-string-face ((,class (:foreground ,plum-3))))
    `(font-lock-type-face ((,class (:foreground ,blue-3))))
-   `(font-lock-variable-name-face ((,class (:weight bold :foreground ,orange-3))))
-   `(font-lock-warning-face ((,class (:foreground ,red-2))))
+   `(font-lock-variable-name-face ((,class (:foreground ,orange-4))))
    ;; Button and link faces
-   `(button ((,class (:underline t :foreground ,blue-3))))
    `(link ((,class (:underline t :foreground ,blue-3))))
    `(link-visited ((,class (:underline t :foreground ,blue-2))))
    ;; Gnus faces
@@ -85,32 +86,32 @@ Semantic, and Ansi-Color faces are included.")
    `(gnus-group-news-1-low ((,class (:foreground ,plum-3))))
    `(gnus-group-news-2 ((,class (:weight bold :foreground ,blue-3))))
    `(gnus-group-news-2-low ((,class (:foreground ,blue-3))))
-   `(gnus-group-news-3 ((,class (:weight bold :foreground ,"#4e0a06"))))
-   `(gnus-group-news-3-low ((,class (:foreground ,"#4e0a06"))))
+   `(gnus-group-news-3 ((,class (:weight bold :foreground ,red-3))))
+   `(gnus-group-news-3-low ((,class (:foreground ,red-3))))
    `(gnus-group-news-4 ((,class (:weight bold :foreground ,"#7a4c02"))))
    `(gnus-group-news-4-low ((,class (:foreground ,"#7a4c02"))))
    `(gnus-group-news-5 ((,class (:weight bold :foreground ,orange-3))))
    `(gnus-group-news-5-low ((,class (:foreground ,orange-3))))
-   `(gnus-group-news-low ((,class (:foreground ,"#888a85"))))
+   `(gnus-group-news-low ((,class (:foreground ,alum-4))))
    `(gnus-group-mail-1 ((,class (:weight bold :foreground ,plum-3))))
    `(gnus-group-mail-1-low ((,class (:foreground ,plum-3))))
    `(gnus-group-mail-2 ((,class (:weight bold :foreground ,blue-3))))
    `(gnus-group-mail-2-low ((,class (:foreground ,blue-3))))
-   `(gnus-group-mail-3 ((,class (:weight bold :foreground ,"#4e0a06"))))
-   `(gnus-group-mail-3-low ((,class (:foreground ,"#4e0a06"))))
-   `(gnus-group-mail-low ((,class (:foreground ,"#888a85"))))
+   `(gnus-group-mail-3 ((,class (:weight bold :foreground ,cham-3))))
+   `(gnus-group-mail-3-low ((,class (:foreground ,cham-3))))
+   `(gnus-group-mail-low ((,class (:foreground ,alum-4))))
    `(gnus-header-content ((,class (:foreground ,cham-3))))
    `(gnus-header-from ((,class (:weight bold :foreground ,butter-3))))
-   `(gnus-header-subject ((,class (:foreground ,"#4e0a06"))))
+   `(gnus-header-subject ((,class (:foreground ,red-3))))
    `(gnus-header-name ((,class (:foreground ,blue-3))))
-   `(gnus-header-newsgroups ((,class (:foreground ,"#888a85"))))
+   `(gnus-header-newsgroups ((,class (:foreground ,alum-4))))
    ;; Message faces
    `(message-header-name ((,class (:foreground ,blue-3))))
    `(message-header-cc ((,class (:foreground ,butter-3))))
    `(message-header-other ((,class (:foreground ,choc-2))))
-   `(message-header-subject ((,class (:foreground ,"#4e0a06"))))
+   `(message-header-subject ((,class (:foreground ,red-3))))
    `(message-header-to ((,class (:weight bold :foreground ,butter-3))))
-   `(message-cited-text ((,class (:foreground ,"#888a85"))))
+   `(message-cited-text ((,class (:slant italic :foreground ,alum-5))))
    `(message-separator ((,class (:weight bold :foreground ,cham-3))))
    ;; SMerge
    `(smerge-refined-change ((,class (:background ,plum-1))))