[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25525: 25.1.90; add color highlighting to css mode

From: Tom Tromey
Subject: bug#25525: 25.1.90; add color highlighting to css mode
Date: Thu, 26 Jan 2017 10:13:33 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux)

Eli> If all you need is to choose either black or white as the foreground
Eli> color, then :distant-foreground is indeed not for you.  Still, I'd
Eli> suggest to use color-distance rather than to invent a new metric.  Or
Eli> maybe just always use the color that is complementary to the
Eli> background color, as black and white seem arbitrary to me.

I will test with complementary colors, but I am not sure those are
always as visible.  Black and white are arbitrary, but at least they
work ok.  I'm not sure there's a good way to use color distance to get
the desired effect; if there were, surely Emacs core would be doing that


reply via email to

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