Re: Recolorable themes



Matthias Clasen wrote:
On Thu, 2006-01-05 at 16:39 +0000, Thomas Wood wrote:
On Thu, January 5, 2006 1:10 pm, Matthias Clasen said:
On Thu, 2006-01-05 at 11:50 +0000, Thomas Wood wrote:
[...]

I think we need at least 4 symbolic colours - a foreground and background
for both normal and 'entry' widgets. I think most colours could then be
computed from these (for example, the prelight colour is usually just a
lighter version of the normal background colour).

That sounds like a reasonable starting point.  A related point of
interest is if the current set of color expressions is good enough
to do these computations in the rc file.

I'd like to re-open this topic since I have now done some of the hard work of getting the options implemented in gnome-theme-manager. The work is in the 2.17.3 release GNOME at the moment, so it would be good to have any feedback as soon as possible.

I'm currently suggesting that the theme manager will recognise the following six symbolic colours:

fg_color
bg_color

text_color
base_color

selected_fg_color
selected_bg_color

The first two pairs correspond to what one would normally set as the normal colours for the gtkrc colours of the same name (fg/bg and base/text)

The third pair correspond to the colour for the 'selected' state. This includes selected text and menu items.

It seems to be enough to provide these six colours as a starting point and let the gtkrc define the various shades for the other states (e.g. prelight or active).

Would it be possible for themes to be able to suggest alternate named
schemes?

Thats probably something to be solved between the yet-to-be written
color capplet and the meta-theme file.

I'm still trying to think about how to solve this one. Would adding an xml file to the gtk+-2.0 directory have any adverse ramifications?

-Thomas



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