Re: Themeable colors



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]