emacs-devel
[Top][All Lists]
Advanced

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

Re: Darkening font-lock colors


From: Lennart Borgman
Subject: Re: Darkening font-lock colors
Date: Fri, 31 Jul 2009 02:46:59 +0200

On Thu, Jul 30, 2009 at 11:39 PM, Dan Nicolaescu<address@hidden> wrote:
> Chong Yidong <address@hidden> writes:
>
>  > While doing some testing, I went back to the default white background,
>  > and noticed that some of the font-lock colors have rather poor contrast.
>  > I'm not sure if this is partly due to anti-aliasing, but it sure makes
>  > the text difficult to read.
>  >
>  > What do people think about making the following changes for the
>  > light-background settings?
>  >
>  >  font-lock-builtin-face:  "LightGray" -> "MediumOrchid4"
>  >  font-lock-constant-face: "CadetBlue" -> "dark cyan"
>  >  font-lock-string-face:   "RosyBrown" -> "VioletRed4"
>  >  font-lock-variable-name-face: "DarkGoldenrod" -> "OrangeRed4"
>  >
>  > This does not alter the existing color scheme, except for darkening the
>  > fainter colors.  (The dark-background color scheme seems to be fine.)
>
> What do they look on a light gray background?  While not the default,
> many people use a light gray background (like gray91) because white is
> too bright.

Note: The color named LightGray is rather dark and it seems hard to
take care of that background as "light background". I think gray91 is
also a bit dark, see below for why.

   LightGray = #d3d3d3
   gray91 = #e8e8e8

For a comparision I have used these two background colors for the
first two chunk levels in mumamo.el:

   cornsilk = #fff8dc
   azure =#f0ffff

I saw a complaint by someone who is visually impaired who wanted to
remove the background colors.

Both the colors above are however much lighter than gray91. They are
more like gray95 or even lighter. So I doubt we should consider
something darker than gray95 as a light background for the sake of
helping visually impaired (but I am not sure).




reply via email to

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