Re: Themeable colors
- From: JP Rosevear <jpr novell com>
- To: Bill Haneman <Bill Haneman Sun COM>
- Cc: gtk-devel-list gnome org
- Subject: Re: Themeable colors
- Date: Tue, 29 Mar 2005 22:42:38 -0500
On Tue, 2005-03-29 at 12:29 +0100, Bill Haneman wrote:
> >typedef enum {
> >
> > GTK_PALETTE_DARK,
> > GTK_PALETTE_SEMI_DARK,
> > GTK_PALETTE_MID,
> > GTK_PALETTE_SEMI_LIGHT,
> > GTK_PALETTE_LIGHT,
>
> maybe, but not appropriate to 'inverse' themes, for instance...
>
> > GTK_PALETTE_RED
> > GTK_PALETTE_PURPLE
> > GTK_PALETTE_BLUE...
>
> No, definitely bad ;-)
>
> because this would encourage app writers to do something that basically is hard-coding colors. What we need are more "semantically specified" colors.
>
> So to extend the current notion of SELECTED, PRELIGHT, FG, BG, BASE, TEXT, we need other style names that indicate the context in which a color is to be used, but not its hue or value.
Something like "HIGHLIGHT" might be nice, useful in Evolution for things
like outlining the current day in the mini calendar, draw Marcus-Baines
lines, highlight overdue tasks.
-JP
--
JP Rosevear <jpr novell com>
Novell, Inc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]