Add encoding face for indentation segment

This face will also be used to decorate other encoding-related segments
in the future.
This commit is contained in:
Jessie Hildebrandt 2022-12-29 09:08:28 -05:00
parent 9233fdce74
commit acb57343a0
2 changed files with 6 additions and 1 deletions

View File

@ -204,7 +204,7 @@ order provided)."
tab-width
(or mode-offset tab-width))))
" ")
'face 'mood-line-unimportant)))
'face 'mood-line-encoding)))
;; -------------------------------------------------------------------------- ;;
;;

View File

@ -305,6 +305,11 @@ The `Face' may be either a face symbol or a property list of key-value pairs
"Face for error status indicators."
:group 'mood-line-faces)
(defface mood-line-encoding
'((t (:inherit (shadow) :weight normal)))
"Face used for buffer/file encoding information."
:group 'mood-line-faces)
(defface mood-line-unimportant
'((t (:inherit (shadow) :weight normal)))
"Face used for less important mode line elements."