Use a "gtk_color_scheme =" line at the very top of your gtkrc (look below). The gnome-appearance-editor will be able to edit the colors of your theme (be sure to use the "\n" like is shown below):
This is an example from the popular "murrine glow orange" (not one of mine)
The "gtk_color_scheme =" line is used throughout the gtkrc like this:Code:# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties. gtk_color_scheme = "fg_color:#222222\nbg_color:#dedede\nbase_color:#f5f5f5\ntext_color:#292929\nselected_bg_color:#db6b2a\nselected_fg_color:#ffffff\ntooltip_bg_color:#efe6c3\ntooltip_fg_color:#333333"
Code:fg[NORMAL] = @fg_color fg[PRELIGHT] = @fg_color fg[SELECTED] = @selected_fg_color fg[INSENSITIVE] = darker (@bg_color) fg[ACTIVE] = @fg_color bg[NORMAL] = @bg_color bg[ACTIVE] = shade (1.02, @bg_color) bg[PRELIGHT] = shade (1.05, @bg_color) bg[SELECTED] = @selected_bg_color bg[INSENSITIVE] = shade (1.03,@bg_color) base[NORMAL] = @base_color base[PRELIGHT] = @base_color base[SELECTED] = @selected_bg_color base[INSENSITIVE] = @bg_color base[ACTIVE] = shade (0.9, @selected_bg_color) text[NORMAL] = @text_color text[PRELIGHT] = @text_color text[SELECTED] = @selected_fg_color text[INSENSITIVE] = darker (@bg_color) text[ACTIVE] = @selected_fg_color
Make sure you use these correct names of:
fg_color
bg_color
base_color
text_color
selected_bg_color
selected_fg_color
tooltip_bg_color
tooltip_fg_color
..... otherwise it won't work.
I don't use the correct names in my themes (so the "gnome color edit" doesn't work with my themes), since I like to use descriptive names in my gtkrc files:
This is part of my gtkrc that shows my "gtk_color_scheme =" and the way I use it in the color part of the "style "default" :
Code:gtk_color_scheme = "black_text:#000\ndark_menubar:#1D1D1F\ntext_editor_bg:#D0BCFD\nmenu_roll_over:#212124\ntoolbar_color:#e0e0e0\nbuttons:#e1e1e0\nstriped_progress_bar:#66458F\ninactive_tab:#C8BCE0\nopen_tab_bg:#D4C7ED\nwhite_text:#FFFFFF\ntext_neon_purple:#BCA2F9\nurl_outline:#AE75F6\ntext_insensitive:#5C507A\nbox_bg_trash:#BCA2F9" fg[NORMAL] = @black_text # option menu, button font, open tab fg[PRELIGHT] = @black_text # font color of menurollover and rollover for radio/check boxes as well as button,Optionbutton,andtogglebutton prelights. fg[SELECTED] = @box_bg_trash # Gtkcombo font on dropdown selection - NOT GTK COMBO BOX! fg[ACTIVE] = @black_text # pre-toggle font color, and active pre-toggle font for check/radio boxes, also for un-clicked regular tabs. fg[INSENSITIVE] = @text_insensitive # little arrows on scrolls bg[NORMAL] = shade (1.00, @toolbar_color) ## "#E2E2E2" bg[PRELIGHT] = shade (1.00, @box_bg_trash) ## background of text toggle mouse-over bg[SELECTED] = shade (1.00, @striped_progress_bar) # menu selected roll over, and xfwm4 color bg[INSENSITIVE] = @toolbar_color # background scroll arrows bg[ACTIVE] = shade (1.00, @inactive_tab) # this (strangely) controls inactive tab BGs base[NORMAL] = @text_editor_bg ## "#FFFFFF" base[PRELIGHT] = shade (1.00, @toolbar_color) ## "#878887" base[ACTIVE] = shade (1.00, @menu_roll_over) ## thunar detailed view - off window base[SELECTED] = shade (1.00, @menu_roll_over) ## thunar detailed view - on window base[INSENSITIVE] = @toolbar_color ## "#878887" text[NORMAL] = @black_text # font color for combo box (lame setting) text[PRELIGHT] = @black_text # changes the check mark in radio boxes text[ACTIVE] = @text_neon_purple ## "#000001" text[SELECTED] = @white_text ## "#FFFFFF" text[INSENSITIVE] = darker (@toolbar_color) ## "#4b4440"
Bookmarks