How to change the цвет of the панель (frames) of Chrome in в custom GTK theme?

so I installed Ubuntu 14.04 (with Unity) on Виртуальный Box and after that I installed Numix theme. After that I tweaked the gtk.css file which is in /usr/share/themes/Numix/gtk-3.0. I managed to change the colors of selected статьи and the цвет of windows панель (frames). But when I open Chrome the цвет of the its window панель (frame) is the same эксперт the theme came. Other windows panels пахал the цвет I wanted, but Chrome is not.

In what file and how I should change the code in order to change the цвет of Chrome панель (frame)? Thank you.

0
задан 5 December 2015 в 01:10

1 ответ

Я понял это. Это - то, что я сделал.

В /usr/share/themes/<theme name>/gtk-2.0 существует файл, названный gtkrc, я открыл его с помощью gksudo gedit <path>, после того, как я открыл файл, который я нашел:

style "chrome-gtk-frame" {
    ChromeGtkFrame::frame-color = "#444851" #@titlebar_bg_color
    ChromeGtkFrame::inactive-frame-color = "#444851" #@titlebar_bg_color

    ChromeGtkFrame::frame-gradient-size = 0
    ChromeGtkFrame::frame-gradient-color ="#444851" #@titlebar_bg_color

    ChromeGtkFrame::incognito-frame-color ="#444851" #@titlebar_bg_color
    ChromeGtkFrame::incognito-inactive-frame-color ="#444851"#@titlebar_bg_color

    ChromeGtkFrame::incognito-frame-gradient-size = 0
    ChromeGtkFrame::incognito-frame-gradient-color ="#444851" #@titlebar_bg_color

    ChromeGtkFrame::scrollbar-trough-color = @bg_color
    ChromeGtkFrame::scrollbar-slider-normal-color = mix (0.21, @fg_color, @bg_color)
    ChromeGtkFrame::scrollbar-slider-prelight-color = mix (0.31, @fg_color, @bg_color)}

цвет "#444851" является цветом, который я выбрал для своего хрома.

@tittle_br_color является значением по умолчанию. Я просто прокомментировал значение.

1
ответ дан 30 September 2019 в 02:12

Другие вопросы по тегам:

Похожие вопросы: