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: Yuan Fu
Subject: Re: Proportional fonts in the mode line (one month test)
Date: Wed, 24 Nov 2021 09:26:38 -0800


> On Nov 24, 2021, at 9:18 AM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> 
> Óscar Fuentes <ofv@wanadoo.es> writes:
> 
>> 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))))
> 
> Huh.  Odd that they don't inherit from `mode-line' and then override the
> things they don't like, isn't it?

I think that’s just because how `custom-theme-set-faces’ works: it redefines 
the face rather than modifying it, so any attribute you don’t specify is set to 
nil instead of left unchanged.

Yuan


reply via email to

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