[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic face setting based on contrast?
From: |
Stefan Monnier |
Subject: |
Re: Automatic face setting based on contrast? |
Date: |
Tue, 05 Oct 2021 21:39:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Currently, a face can inherit properties from another face.
> Could there be a kind of contrast-inheritance where face A
> is set automatically to contrast strongly with B, and contrast
> somewhat with C and D? Based on calculations on the RGB codes,
> I imagine.
We discussed such things in the past and yes, it would be great.
There are various situations, one of them being to compute faces when
a theme is installed or when a face is defined, but there can also be
more dynamic cases where a face could adapt to the place where it's used
(i.e. the actual computation would be performed during redisplay).
Not sure if those two situations should be treated uniformly or if they
should be handled by different mechanisms.
Stefan
- Re: Automatic face setting based on contrast?, (continued)
- Re: Automatic face setting based on contrast?, Richard Stallman, 2021/10/07
- Re: Automatic face setting based on contrast?, Tim Cross, 2021/10/07
- Re: Automatic face setting based on contrast?, Eli Zaretskii, 2021/10/08
- Re: Automatic face setting based on contrast?, Tim Cross, 2021/10/08
- Re: Automatic face setting based on contrast?, Eli Zaretskii, 2021/10/09
- Re: Automatic face setting based on contrast?, Richard Stallman, 2021/10/09
- Re: Automatic face setting based on contrast?, Richard Stallman, 2021/10/09
- Re: Automatic face setting based on contrast?,
Stefan Monnier <=
- Re: Automatic face setting based on contrast?, Tyler Grinn, 2021/10/07
- Re: Automatic face setting based on contrast?, Simon Pugnet, 2021/10/07
- Re: Automatic face setting based on contrast?, Stefan Monnier, 2021/10/07
- Re: Automatic face setting based on contrast?, Richard Stallman, 2021/10/07
Re: Why has the light blue theme been made obsolete?, Lars Ingebrigtsen, 2021/10/04