(diary-face, holiday-face): Add dark-background variants.

This commit is contained in:
Miles Bader 2000-11-01 09:11:58 +00:00
parent a403261168
commit 5bf9910044
2 changed files with 17 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
* calendar/calendar.el (diary-face, holiday-face): Add
dark-background variants.
2000-10-31 Sam Steingold <sds@gnu.org>
* textmodes/tex-mode.el (tex-file): Use `default-directory' when

View file

@ -207,9 +207,12 @@ If nil, make an icon of the frame. If non-nil, delete the frame."
(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 @@ If nil, make an icon of the frame. If non-nil, delete the frame."
(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))