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.

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

1 Answer 1

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:

UnityPanelWidget,
.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
 .unity-panel .menubar {
          color: #fff;
 }
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.