aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2000-09-17 17:03:20 +0000
committerMiles Bader2000-09-17 17:03:20 +0000
commit52cbdfbd0afa35d5f03a824bd8db66e55a7224ca (patch)
tree8dde9b0c5996a3f17e16544fb7b9dcf9380876c3
parente209b8378eaf9bf5dd75a621fc64c1eb9f59eb89 (diff)
downloademacs-52cbdfbd0afa35d5f03a824bd8db66e55a7224ca.tar.gz
emacs-52cbdfbd0afa35d5f03a824bd8db66e55a7224ca.zip
(info-node, info-xref): Add dark-background variants.
(info-header-xref, info-header-node): Change to inherit from non-header faces.
-rw-r--r--lisp/info.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/info.el b/lisp/info.el
index dd1a5490e29..4a2ed94ad46 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -61,7 +61,8 @@ The Lisp code is executed when the node is selected.")
61 :group 'info) 61 :group 'info)
62 62
63(defface info-node 63(defface info-node
64 '((((class color)) (:foreground "brown" :bold t :italic t)) 64 '((((class color) (background light)) (:foreground "brown" :bold t :italic t))
65 (((class color) (background dark)) (:foreground "white" :bold t :italic t))
65 (t (:bold t :italic t))) 66 (t (:bold t :italic t)))
66 "Face for Info node names." 67 "Face for Info node names."
67 :group 'info) 68 :group 'info)
@@ -73,7 +74,8 @@ The Lisp code is executed when the node is selected.")
73 :group 'info) 74 :group 'info)
74 75
75(defface info-xref 76(defface info-xref
76 '((((class color)) (:foreground "magenta4" :bold t)) 77 '((((class color) (background light)) (:foreground "magenta4" :bold t))
78 (((class color) (background dark)) (:foreground "cyan" :bold t))
77 (t (:bold t))) 79 (t (:bold t)))
78 "Face for Info cross-references." 80 "Face for Info cross-references."
79 :group 'info) 81 :group 'info)
@@ -90,12 +92,12 @@ A header-line does not scroll with the rest of the buffer."
90 :group 'info) 92 :group 'info)
91 93
92(defface info-header-xref 94(defface info-header-xref
93 '((t (:weight bold))) 95 '((t (:inherit info-xref)))
94 "Face for Info cross-references in a node header." 96 "Face for Info cross-references in a node header."
95 :group 'info) 97 :group 'info)
96 98
97(defface info-header-node 99(defface info-header-node
98 '((t (:weight bold :slant italic))) 100 '((t (:inherit info-node)))
99 "Face for Info nodes in a node header." 101 "Face for Info nodes in a node header."
100 :group 'info) 102 :group 'info)
101 103