unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Color themes
@ 2008-02-29 23:23 Chong Yidong
  2008-02-29 23:49 ` Dan Nicolaescu
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Chong Yidong @ 2008-02-29 23:23 UTC (permalink / raw)
  To: emacs-devel

Many of you are probably aware of a package called color-theme.el,
currently maintained by Xavier Maillard.  This package provides a
relatively easy way to choose from a list of pre-selected "color
themes" for font-lock keywords.  I think this kind of functionality
would be good.  For new users who dislike the default color palette,
there's currently no easy way to choose a different palette.

Ideally, there should be a submenu in the menu-bar, under Options, to
select a color theme (or whatever we end up calling it).

However, I'm ambivalent about how color-theme.el is written.  From a
perfunctory inspection of the code, it looks like it sets up some
infrastructure for defining color-themes that I'm not sure is a good
fit for Emacs.  In particular, it might be cleaner to define color
themes using Custom Themes, which were implemented in Emacs 22 and
meshes with the Customize facility.  I might be wrong, however, so
comments are welcome.

At this early stage, I haven't looked into the copyright assignment
issue for color-theme.el.  Assuming papers aren't a problem, I'm
thinking we could absorb part of the color-theme project, i.e. the
color settings that they've collected, and rewrite the theme-choosing
infrastructure based on Custom Themes.

Any thoughts?




^ permalink raw reply	[flat|nested] 21+ messages in thread
* Darkening font-lock colors
@ 2009-07-30 21:12 Chong Yidong
  2009-07-30 22:21 ` Dan Nicolaescu
  0 siblings, 1 reply; 21+ messages in thread
From: Chong Yidong @ 2009-07-30 21:12 UTC (permalink / raw)
  To: emacs-devel

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

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.)


[-- Attachment #2: font-lock-colors.png --]
[-- Type: image/png, Size: 31368 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2009-08-11 18:21 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-29 23:23 Color themes Chong Yidong
2008-02-29 23:49 ` Dan Nicolaescu
2008-03-01  9:31   ` Eli Zaretskii
2008-03-01  1:57 ` Eric Lilja
2008-03-02  1:00 ` Xavier Maillard
  -- strict thread matches above, loose matches on Subject: below --
2009-07-30 21:12 Darkening font-lock colors 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-08-02 20:22           ` Lennart Borgman
2009-08-02 22:36             ` Chong Yidong
2009-08-03  0:16               ` Juri Linkov
2009-08-03  2:14                 ` David De La Harpe Golden
2009-08-03  2:28                   ` Lennart Borgman
2009-08-03  5:13                     ` Miles Bader
2009-08-03  5:22                       ` Drew Adams
2009-08-03  9:54                         ` Juri Linkov
2009-08-03 13:59                           ` joakim
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).