[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
- Re: Proportional fonts in the mode line (one month test), (continued)
Re: Proportional fonts in the mode line (one month test), Eli Zaretskii, 2021/11/24
Re: Proportional fonts in the mode line (one month test), Yuri D'Elia, 2021/11/24
Re: Proportional fonts in the mode line (one month test), Óscar Fuentes, 2021/11/24
Re: Proportional fonts in the mode line (one month test), Yuan Fu, 2021/11/24
Re: Proportional fonts in the mode line (one month test), Filipp Gunbin, 2021/11/24
Re: Proportional fonts in the mode line (one month test), Dmitry Gutov, 2021/11/24