+2001-10-17 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * wid-edit.el (widget-field-face, widget-single-line-field-face):
+ Define special colors for a tty.
+
2001-10-17 Miles Bader <miles@gnu.org>
* custom.el (defface): Mention `:inherit' in doc-string.
: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)
"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)