Materia-theme: Menu bar is not following the title bar colour on some applications

Created on 6 Jun 2017  路  3Comments  路  Source: nana-4/materia-theme

Disclaimer: Not sure if non-existent feature (the colour of the title bar is not meant to be changed) or a bug

Flat-Plat Version: v20170605
GTK+ 3 version: 3.22.15
Distribution: Manjaro (rolling release)
Desktop environment: Gnome 3.24.2
Related application: So far Pinta and Atom editor

Steps to reproduce

  1. Change theme's default colour for title bar from blue_grey to green
  2. Parse SCSS
  3. Install the theme
  4. Restart shell
  5. Open affected applications

Additional notes

I am not so sure what is going on here. At first I thought that you might somewhere hard coded the blue_grey somewhere, but I have no idea on how to create/assess a theme, hence making troubleshooting relating scss files difficult.

Confusion also hardens when some applications abide with the colour change without any issues (refer Terminal screenshot below. Transmission bittorrent client is also not affected)

I am also suspecting that there would be also other applications with this issue, since this is a general flaw.

Screenshot(s)

Nautilus with correctly applied title bar colour
screenshot from 2017-06-06 10-44-56

Terminal with menu bar follows the title bar colour
screenshot from 2017-06-06 10-44-58

Pinta with menu bar not following the title bar colour
screenshot from 2017-06-06 10-45-00

Atom with menu bar the same like Pinta
screenshot from 2017-06-06 11-09-02

question

All 3 comments

Thank you for the clear report.

This problem is because Pinta and Atom are GTK2 based apps.

Terminal is a GTK3 app, so it can be changed the colors via SCSS/CSS. However, in order to change the colors of the GTK2 apps, you need to edit inside src/gtk-2.0/ directory.

For example, to change the GTK2 menu bar color, simply open src/gtk-2.0/gtkrc and change the #455A64 string. 馃槂

Thank you! Fixed this on the spot, and learnt something new 馃槆 Sorry for the report - I thought it was a bug

@TechnoSparks It鈥檚 all right :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rudrab picture rudrab  路  4Comments

fakhamatia picture fakhamatia  路  3Comments

nana-4 picture nana-4  路  4Comments

mabod picture mabod  路  4Comments

rahilwazir picture rahilwazir  路  4Comments