|
From: | Richard Copley |
Subject: | Re: CSS contrast (#30295) (was Re: Heads-up: Emacs 26.1 RC1) |
Date: | Wed, 21 Mar 2018 13:22:37 +0000 |
> From: Richard Copley <address@hidden>
> Date: Wed, 21 Mar 2018 11:34:47 +0000
> Cc: John Wiegley <address@hidden>, Tom Tromey <address@hidden>,
> Emacs Development <address@hidden>
>
> Is the current criterion (use white text on backgrounds inside a sphere of a given radius centred on black, in
> the color-distance metric space) a standard way of doing things?
We do something very similar in frame-set-background-mode and in
tty-color-approximate.
Also note that color-distance is based on a
metric that we didn't invent. Not sure whether it makes that
"standard".
to raise them for what will become Emacs 26.1. We can make those
changes on master, if people agree with your reasoning, or we could
use the contrast criterion there, or something else.
But for the
release branch, the only change I can think of which will allow you to
get what you want in a safe way is the one I proposed: introduce a
customizable threshold.
[Prev in Thread] | Current Thread | [Next in Thread] |