Mercurial > emacs
changeset 33114:387b549687a3
(diary-face, holiday-face): Add dark-background variants.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 01 Nov 2000 09:11:26 +0000 |
parents | 74323fb60963 |
children | 7f9d15661931 |
files | lisp/calendar/calendar.el |
diffstat | 1 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/calendar.el Tue Oct 31 21:31:55 2000 +0000 +++ b/lisp/calendar/calendar.el Wed Nov 01 09:11:26 2000 +0000 @@ -207,9 +207,12 @@ (when window-system (add-to-list 'facemenu-unlisted-faces 'diary-face) (defface diary-face - '((((class color)) - (:foreground "red")) - (t (:bold t))) + '((((class color) (background light)) + :foreground "red") + (((class color) (background dark)) + :foreground "yellow") + (t + :bold t)) "Face for highlighting diary entries." :group 'diary) @@ -221,9 +224,12 @@ (add-to-list 'facemenu-unlisted-faces 'holiday-face) (defface holiday-face - '((((class color)) - (:background "pink")) - (t (:inverse-video t))) + '((((class color) (background light)) + :background "pink") + (((class color) (background dark)) + :background "chocolate4") + (t + :inverse-video t)) "Face for indicating dates that have holidays." :group 'diary))