[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Automatic face setting based on contrast?
From: |
Richard Stallman |
Subject: |
Automatic face setting based on contrast? |
Date: |
Tue, 05 Oct 2021 17:15:46 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> I made this point in the above bug report, but there is no way to
> style Emacs with 25-50 face definitions. It is very hard to put an
> exact number on this, as e.g. some faces are inherited and therefore
> more important, but realistically speaking you need at least twice
> that to have a somewhat decent coverage.
Is this something that could be fixed, in principle? Could a theme
specify some faces manually, and then Emacs would adjust various other
faces automatically so as to contrast with some of those?
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.
This would call for a bit of research, but if we got it to work,
specifying a good theme might become a lot easier.
--
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
- RE: [External] : Re: Why has the light blue theme been made obsolete?, (continued)
- RE: [External] : Re: Why has the light blue theme been made obsolete?, Drew Adams, 2021/10/03
- Re: [External] : Re: Why has the light blue theme been made obsolete?, Jean Louis, 2021/10/17
- Re: [External] : Re: Why has the light blue theme been made obsolete?, Stefan Kangas, 2021/10/17
- RE: [External] : Re: Why has the light blue theme been made obsolete?, Drew Adams, 2021/10/17
- Re: [External] : Re: Why has the light blue theme been made obsolete?, Stefan Kangas, 2021/10/17
- RE: [External] : Re: Why has the light blue theme been made obsolete?, Drew Adams, 2021/10/17
- Re: [External] : Re: Why has the light blue theme been made obsolete?, Stefan Monnier, 2021/10/17
- RE: [External] : Re: Why has the light blue theme been made obsolete?, Drew Adams, 2021/10/17
- Re: [External] : Re: Why has the light blue theme been made obsolete?, Stefan Monnier, 2021/10/17
- RE: [External] : Re: Why has the light blue theme been made obsolete?, Drew Adams, 2021/10/17
- Automatic face setting based on contrast?,
Richard Stallman <=
- Re: Automatic face setting based on contrast?, Alexandre Garreau, 2021/10/05
- Re: Automatic face setting based on contrast?, Richard Stallman, 2021/10/06
- RE: [External] : Automatic face setting based on contrast?, Drew Adams, 2021/10/05
- Re: Automatic face setting based on contrast?, Stefan Kangas, 2021/10/05
- Re: Automatic face setting based on contrast?, Po Lu, 2021/10/05
- Re: Automatic face setting based on contrast?, Stefan Kangas, 2021/10/05
- Re: Automatic face setting based on contrast?, Richard Stallman, 2021/10/07
- 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