all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: David De La Harpe Golden <david@harpegolden.net>,
	Chong Yidong <cyd@stupidchicken.com>,
	Dan Nicolaescu <dann@ics.uci.edu>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: Darkening font-lock colors
Date: Mon, 10 Aug 2009 03:14:14 +0300	[thread overview]
Message-ID: <877hxctqqi.fsf@mail.jurta.org> (raw)
In-Reply-To: <e01d8a50908021809k30f6aff1jbe4a064c20b2a3d6@mail.gmail.com> (Lennart Borgman's message of "Mon, 3 Aug 2009 03:09:35 +0200")

[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

>>> Suggestions welcome.  I'm afraid I don't have the time to tinker around
>>> finding an optimal color scheme---I just wanted to fix the legibility
>>> problem.  If you can come up with something better, let us know.
>
> I think there are two essential things to cover:
>
> - Readability, ie luminosity color contrast.
> - Color distinguishability.

Yes, distinguishability is an important thing, and the current colors
lack it.  font-lock-builtin is indistinguishable from font-lock-string-face,
and font-lock-variable is indistinguishable from font-lock-comment
because generally dark colors are indistinguishable from black
foreground color as can be seen on the screenshot below.

I propose to use Magenta3 for font-lock-builtin, PaleVioletRed3 for
font-lock-string and return font-lock-variable back to DarkGoldenrod.

These colors are:

1. Readable;
2. Clearly distinguishable from other colors;
3. Close to original colors.

This is a comparison chart of 3 color schemes: Emacs22, current colors
in CVS, and proposed new colors:


[-- Attachment #2: facetest.png --]
[-- Type: image/png, Size: 7161 bytes --]

[-- Attachment #3: Type: text/plain, Size: 103 bytes --]


And to help comparing them visually below are some samples of using
there color schemes.

* Emacs22:


[-- Attachment #4: emacs22.png --]
[-- Type: image/png, Size: 6227 bytes --]

[-- Attachment #5: Type: text/plain, Size: 27 bytes --]


* Current colors in CVS:


[-- Attachment #6: cvs.png --]
[-- Type: image/png, Size: 6205 bytes --]

[-- Attachment #7: Type: text/plain, Size: 25 bytes --]


* Proposed new colors:


[-- Attachment #8: new.png --]
[-- Type: image/png, Size: 6250 bytes --]

[-- Attachment #9: Type: text/plain, Size: 45 bytes --]


-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2009-08-10  0:14 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 21:12 Darkening font-lock colors Chong Yidong
2009-07-30 21:39 ` Dan Nicolaescu
2009-07-30 21:51   ` Drew Adams
2009-07-30 22:00     ` Chong Yidong
2009-07-30 21:57   ` Chong Yidong
2009-07-30 22:21     ` Dan Nicolaescu
2009-07-30 23:40       ` David De La Harpe Golden
2009-07-31  0:18         ` Lennart Borgman
2009-07-31  0:55           ` Chong Yidong
2009-07-31  3:01             ` Lennart Borgman
2009-07-31 15:39               ` Lennart Borgman
2009-08-02 20:22               ` Lennart Borgman
2009-08-02 22:36                 ` Chong Yidong
2009-08-02 22:40                   ` Lennart Borgman
2009-08-03  0:16                   ` Juri Linkov
2009-08-03  1:09                     ` Lennart Borgman
2009-08-10  0:14                       ` Juri Linkov [this message]
2009-08-10  2:37                         ` Dan Nicolaescu
2009-08-10  3:28                           ` Miles Bader
2009-08-10 23:56                             ` Juri Linkov
2009-08-03  2:14                     ` David De La Harpe Golden
2009-08-03  2:28                       ` Lennart Borgman
2009-08-03  4:34                         ` David De La Harpe Golden
2009-08-03  5:13                         ` Miles Bader
2009-08-03  5:22                           ` Drew Adams
2009-08-03  9:54                             ` Juri Linkov
2009-08-03 11:58                               ` Daniel Clemente
2009-08-03 13:49                               ` Drew Adams
2009-08-03 23:32                                 ` Juri Linkov
2009-08-03 23:46                                   ` Drew Adams
2009-08-03 13:59                               ` joakim
2009-08-03 20:42                                 ` David De La Harpe Golden
2009-08-08 20:56                                 ` Color themes (was: Darkening font-lock colors) Juri Linkov
2009-08-08 21:16                                   ` Color themes joakim
2009-08-09  3:04                                   ` Chong Yidong
2009-08-09  4:28                                     ` Leo
2009-08-09 16:18                                       ` Chong Yidong
2009-08-09 17:28                                         ` CHENG Gao
2009-08-09 18:05                                         ` Lennart Borgman
2009-08-09 18:51                                         ` joakim
2009-08-10  9:12                                         ` Leo
2009-08-10 23:48                                           ` Juri Linkov
2009-08-11  1:32                                             ` Leo
2009-08-11  3:58                                           ` Chong Yidong
2009-08-11  4:26                                             ` Dan Nicolaescu
2009-08-11  5:52                                               ` Drew Adams
2009-08-11  5:52                                             ` Drew Adams
2009-08-11  8:59                                             ` Leo
2009-08-11 18:21                                               ` ferkiwi
2009-08-03 20:01                           ` Darkening font-lock colors Lennart Borgman
2009-08-03 22:40                             ` Drew Adams
2009-08-03 22:57                               ` Lennart Borgman
2009-08-03 23:54                                 ` Drew Adams
2009-08-04  0:10                                   ` Lennart Borgman
2009-08-04  0:16                                     ` Drew Adams
2009-08-04 21:27                                     ` Johan Bockgård
2009-08-04 23:16                                       ` Lennart Borgman
2009-08-03 23:27                         ` Juri Linkov
2009-08-03 23:42                           ` Lennart Borgman
2009-07-31  0:55       ` Chong Yidong
2009-07-31  2:39         ` Dan Nicolaescu
2009-08-03  0:17           ` Juri Linkov
2009-08-03  3:44             ` Dan Nicolaescu
2009-08-03  9:59               ` Juri Linkov
2009-08-03 12:34                 ` Dan Nicolaescu
2009-08-03 14:21                   ` Stephen Eilert
2009-08-03 21:11                   ` Stefan Monnier
2009-08-03 23:02                     ` Dan Nicolaescu
2009-08-04  8:27                       ` Romain Francoise
2009-08-04  8:29                         ` Lennart Borgman
2009-08-04 22:44                         ` Dan Nicolaescu
2009-08-03 23:32                   ` Juri Linkov
2009-07-31  0:46   ` Lennart Borgman
2009-07-30 21:41 ` Lennart Borgman
2009-07-30 22:22 ` Deniz Dogan
2009-07-31  1:50   ` Stefan Monnier
2009-07-31  3:54 ` tomas
2009-08-04 22:14 ` Juri Linkov
  -- strict thread matches above, loose matches on Subject: below --
2009-08-03  9:35 Angelo Graziosi
2009-08-03 20:42 Francesc Rocher
2009-08-04  0:16 ` Lennart Borgman
2009-08-04  0:21 ` Drew Adams
2009-08-10 14:15 grischka
2009-08-10 23:57 ` Juri Linkov
2009-08-11 16:07   ` grischka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hxctqqi.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=cyd@stupidchicken.com \
    --cc=dann@ics.uci.edu \
    --cc=david@harpegolden.net \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.