(defface viper-minibuffer-emacs-face
'((((class color)) (:foreground "Black" :background "darkseagreen2"))
- (t (:bold t)))
+ (t (:weight bold)))
"Face used in the Minibuffer when it is in Emacs state."
:group 'viper-highlighting)
;; An internal variable. Viper takes the face from here.
(defface viper-minibuffer-insert-face
'((((class color)) (:foreground "Black" :background "pink"))
- (t (:italic t)))
+ (t (:slant italic)))
"Face used in the Minibuffer when it is in Insert state."
:group 'viper-highlighting)
;; An internal variable. Viper takes the face from here.
(setq face-spec (cons ':background
(cons background face-spec))))
(when bold-p
- (setq face-spec (append '(:bold t) face-spec)))
+ (setq face-spec (append '(:weight bold) face-spec)))
(when italic-p
- (setq face-spec (append '(:italic t) face-spec)))
+ (setq face-spec (append '(:slant italic) face-spec)))
(when underline-p
(setq face-spec (append '(:underline t) face-spec)))
(custom-declare-face face (list (list t face-spec)) nil)
"Face used for buttons in widgets.
This exists as a variable so it can be set locally in certain buffers.")
-(defface widget-button-face '((t (:bold t)))
+(defface widget-button-face '((t (:weight bold)))
"Face used for widget buttons."
:group 'widget-faces)
(background dark))
(:background "dim gray"))
(t
- (:italic t)))
+ (:slant italic)))
"Face used for editable fields."
:group 'widget-faces)
(background dark))
(:background "dim gray"))
(t
- (:italic t)))
+ (:slant italic)))
"Face used for editable fields spanning only a single line."
:group 'widget-faces)
(background light))
(:foreground "dim gray"))
(t
- (:italic t)))
+ (:slant italic)))
"Face used for inactive widgets."
:group 'widget-faces)
'((((class color))
(:foreground "red"))
(t
- (:bold t :underline t)))
+ (:weight bold :underline t)))
"Face used for pressed buttons."
:group 'widget-faces)
;; You should probably select either italic or underline as you prefer, but
;; not both, although italic and underline work together perfectly well!
(defface woman-italic-face
- `((((background light)) (:italic t :underline t :foreground "red"))
- (((background dark)) (:italic t :underline t)))
+ `((((background light)) (:slant italic :underline t :foreground "red"))
+ (((background dark)) (:slant italic :underline t)))
"Face for italic font in man pages."
:group 'woman-faces)
(defface woman-bold-face
- '((((background light)) (:bold t :foreground "blue"))
- (((background dark)) (:bold t :foreground "green2")))
+ '((((background light)) (:weight bold :foreground "blue"))
+ (((background dark)) (:weight bold :foreground "green2")))
"Face for bold font in man pages."
:group 'woman-faces)