diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-10-17 18:39:47 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-10-17 18:39:47 +0000 |
commit | a6de81d593b2bb7e2bdb6ccf920909d83412a302 (patch) | |
tree | 5c9029cbb7cdf7a92634719805a831e68082ffe3 | |
parent | 891360fecc8528d4b98333bdd1e0e39869c00ac3 (diff) | |
download | emacs-a6de81d593b2bb7e2bdb6ccf920909d83412a302.tar.gz |
(widget-field-face, widget-single-line-field-face):
Define special colors for a tty.
-rw-r--r-- | lisp/wid-edit.el | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index dad3082ace6..71af16d28bf 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -120,7 +120,12 @@ This exists as a variable so it can be set locally in certain buffers.") :type 'face :group 'widget-faces) -(defface widget-field-face '((((class grayscale color) +;; TTY gets special definitions here and in the next defface, because +;; the gray colors defined for other displays cause black text on a black +;; background, at least on light-background TTYs. +(defface widget-field-face '((((type tty)) + (:background "yellow3")) + (((class grayscale color) (background light)) (:background "gray85")) (((class grayscale color) @@ -131,7 +136,9 @@ This exists as a variable so it can be set locally in certain buffers.") "Face used for editable fields." :group 'widget-faces) -(defface widget-single-line-field-face '((((class grayscale color) +(defface widget-single-line-field-face '((((type tty)) + (:background "green3")) + (((class grayscale color) (background light)) (:background "gray85")) (((class grayscale color) |