Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Under 'Theme' tab in gnome tweak tool I have two different drop down menus: GTK+ and Shele theme. What is the difference between the two? And another question: I've just installed a new theme but now I want to change the font on buttons so that its not white. How do I do that? Thanks!

share|improve this question
    
Which theme you installed? –  Tachyons Feb 18 '12 at 11:15

1 Answer 1

To change theme colors there are three files you need to edit.

/usr/share/themes/{theme name}/gtk-3.0/gtk.css

/usr/share/themes/{theme name}/gtk-3.0/settings.ini

/usr/share/themes/{theme name}/gtk-2.0/gtkrc

In the beginning of these files you'll find 4 pairs of core foreground and background colors used in applications based on the gtk 2 and gtk 3 libraries. Pair base_color and text_color are used for the document or text entry portions of windows where bg_color and fg_color are are used for the windows area where icons and labels are displayed. Selected pair is for selected text and the tooltip pair is used for the tips that pop up when you hover over a button or link. These colors may be applied by applications with varying opacity or shadings. The color of text in buttons comes from the fg_color. These sets of labels appear in all three files so I've been changing all three to be the same for any label I change. Here's an example of what I changed in the gtk.css file in the Ambiance theme.

/* default color scheme */

@define-color bg_color #cdc3b8;

@define-color fg_color #262626;

@define-color base_color #accdff;

@define-color text_color #262626;

@define-color selected_bg_color #01b9fc;

@define-color selected_fg_color #ffffff;

@define-color tooltip_bg_color #A3D0FF;

@define-color tooltip_fg_color #023C79;

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.