Re: Changing background colors



Ooops, I forgot to set base in NORMAL mode. Try adding these lines:

  base[NORMAL]  = { 1.000, 0.60, 0.80 }
text[NORMAL] = { 1.000, 0.00, 0.00 }
John

Diego Zuccato wrote:
You should be able to change the whole application with just your gtkrc. Try this in your ~/.gtkrc-2.0 file and (almost) everything should go a very ugly pink:

style "pink"
{
 bg[NORMAL]      = { 1.000, 0.80, 0.80 }
 fg[NORMAL]      = { 1.000, 0.40, 0.60 }
 bg[PRELIGHT]    = { 1.000, 0.80, 1.00 }
 fg[PRELIGHT]    = { 1.000, 0.40, 0.60 }
 bg[ACTIVE]      = { 1.000, 0.80, 0.80 }
 fg[ACTIVE]      = { 1.000, 0.40, 0.60 }
 bg[SELECTED]    = { 1.000, 0.60, 0.80 }
 fg[SELECTED]    = { 1.000, 0.00, 0.00 }
 base[SELECTED]  = { 1.000, 0.60, 0.80 }
 text[SELECTED]  = { 1.000, 0.00, 0.00 }
 base[ACTIVE]    = { 1.000, 0.80, 0.80 }
 text[ACTIVE]    = { 1.000, 0.00, 0.00 }
}

class "GtkWidget" style "pink"

Just tried it: I can't change "background" (the white area) of entries,
combo boxes, treeviews, etc...



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