emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proportional fonts in the mode line (one month test)


From: Óscar Fuentes
Subject: Re: Proportional fonts in the mode line (one month test)
Date: Wed, 24 Nov 2021 18:09:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Yuan Fu <casouri@gmail.com> writes:

>> So far I like it.
>> 
>> However, as soon as some theme is activated, the modeline goes back to
>> monospace. How can I prevent that?
>> 
>> To reproduce:
>> 
>> emacs -Q
>> M-x load-theme modus-operandi
>
> I guess the theme set their own face for mode-line which inherited
> from default which uses a fixed-width font.

If this is true it is a common practice, because all themes I tried so
far (about 5) show this behavior.

I inspected nord-theme (1) and it contains

`(mode-line ((,class (:foreground ,nord8 :background ,nord3))))
`(mode-line-buffer-id ((,class (:weight bold))))
`(mode-line-highlight ((,class (:inherit highlight))))
`(mode-line-inactive ((,class (:foreground ,nord4 :background 
,nord-uniform-mode-lines-background))))

1: https://github.com/arcticicestudio/nord-emacs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]