(Info-title-3-face, Info-title-2-face, Info-title-1-face):

Use face inheritance and relative sizes instead of hard-wiring things.
This commit is contained in:
Miles Bader 2000-09-18 05:55:03 +00:00
parent 690d30e676
commit 8ec8f673fa
2 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
* info.el (Info-title-3-face, Info-title-2-face)
(Info-title-1-face): Use face inheritance and relative sizes
instead of hard-wiring things.
* faces.el (secondary-selection): Make dark-background variant sane.
2000-09-16 Andrew Innes <andrewi@gnu.org>
* makefile.nt (compile-files): No need to make .elc files

View file

@ -2340,17 +2340,17 @@ the variable `Info-file-list-for-emacs'."
(Info-goto-emacs-command-node command)))))
(defface Info-title-1-face
'((t (:family "helv" :height 240 :weight bold)))
'((t (:height 1.2 :inherit Info-title-2-face)))
"Face for Info titles at level 1."
:group 'info)
(defface Info-title-2-face
'((t (:family "helv" :height 180 :weight bold)))
'((t (:height 1.2 :inherit Info-title-3-face)))
"Face for Info titles at level 2."
:group 'info)
(defface Info-title-3-face
'((t (:family "helv" :height 160 :weight bold)))
'((t (:height 1.2 :weight bold :inherit variable-pitch)))
"Face for Info titles at level 3."
:group 'info)