summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-02-21 00:59:20 -0500
committerChong Yidong <cyd@stupidchicken.com>2011-02-21 00:59:20 -0500
commit6b483b66430254ac219305874dce0ee15ab09eda (patch)
tree2c50ee30d5dfc76b99324fb2e0b42de0f73f4442 /etc
parent50a4e25afa6d4bce3b0d5ec217b257a161ba8973 (diff)
downloademacs-6b483b66430254ac219305874dce0ee15ab09eda.tar.gz
* themes/tango-dark-theme.el: Tweak background on low-color terminals.
Diffstat (limited to 'etc')
-rw-r--r--etc/ChangeLog5
-rw-r--r--etc/themes/tango-dark-theme.el8
2 files changed, 12 insertions, 1 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index ac6ac7df00e..74787c3de3b 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-21 Chong Yidong <cyd@stupidchicken.com>
+
+ * themes/tango-dark-theme.el: Tweak background on low-color
+ terminals.
+
2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
* etc/images/icons/allout-widgets/dark-bg,
diff --git a/etc/themes/tango-dark-theme.el b/etc/themes/tango-dark-theme.el
index 613c98f505a..a5731ab7d7d 100644
--- a/etc/themes/tango-dark-theme.el
+++ b/etc/themes/tango-dark-theme.el
@@ -49,7 +49,13 @@ Semantic, and Ansi-Color faces are included.")
(custom-theme-set-faces
'tango-dark
- `(default ((,class (:foreground ,alum-1 :background ,alum-6))))
+ ;; Ensure sufficient contrast on low-color terminals.
+ `(default ((((class color) (min-colors 4096))
+ (:foreground ,alum-1 :background ,alum-6))
+ (((class color) (min-colors 256))
+ (:foreground ,alum-1 :background "#222"))
+ (,class
+ (:foreground ,alum-1 :background "black"))))
`(cursor ((,class (:foreground ,alum-6 :background ,butter-1))))
;; Highlighting faces
`(fringe ((,class (:background ,alum-7))))