Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I want to try out a different GTK3-Theme using the Unity Shell, I always have troubles with colors of the text. Many themes seem to have trouble with upper bar using similar text colors (i.e. black letters on black unity bar), some themes have great troubles with thunderbird and firefox - in fact even the context menus of thunderbird and firefox in the default ambiance themes are messed up.

Is there a way to manually fix this? I know how to change the colors of the firefox/thunderbird menu texts, but I have no idea about changing the rest.

share|improve this question

Most themes will have a unity.css or something similar somewhere in gtk3/ folder.

Open that and look for Panel styles. You can easily change bg and fg colors there.

A sample from Zukitwo Gtk3 theme:

.unity-panel {
        background-image: -gtk-gradient (linear, left top, left bottom,
            from (shade (@dark_bg_color, 1.5)),
            to (shade (@dark_bg_color, 1.04)));
        border-top-color: shade (@dark_bg_color, 1.6);
        border-style: solid;
        border-width: 1 0 0 0;

        -unico-border-gradient: none;

 .unity-panel .menubar {
          color: #fff;
share|improve this answer

Your Answer


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.