pop-os / shell

Pop!_OS Shell
GNU General Public License v3.0
4.89k stars 268 forks source link

What about gtk theming in stack header ??? #1202

Open athamour1 opened 3 years ago

athamour1 commented 3 years ago

Basically the title, it's a feature request or general discussion about that, how about the stack's header in pop shell is themed from gtk shell theme ???

mmstick commented 3 years ago

Supported style classes are:

athamour1 commented 3 years ago

ohhhh ok ok ok thank you very much, I will try to customize it

birneee commented 2 years ago

Supported style classes are:

  • pop-shell-tab
  • pop-shell-tab-active
  • pop-shell-tab-inactive
  • pop-shell-tab-urgent

I tried to customize these by adding it to the gtk-3.0/gtk.css of the theme, but nothing changed.

mmstick commented 2 years ago

@birneee The header is provided by GNOME Shell Toolkit (St) rather than GTK. So it has to be part of the GNOME Shell theme.

birneee commented 2 years ago

@mmstick thanks for your fast reply

i added e.g. the following to the gnome-shell/gnome-shell.css of my theme

.pop-shell-tab,
.pop-shell-tab-active,
.pop-shell-tab-urgent,
.pop-shell-tab-inactive { 
    background: #FF0000!important;
}

But still no effect

rodeyseijkens commented 2 years ago

I managed to target them with the class names. but I only managed to style font-size, font-weight, border-radius and margin, but border, color & background for example don't work, would be nice if we could or are we targeting them wrong?

Jeffser commented 1 year ago

Hi I found out how to change colors, they are hard-coded at ~/.local/share/gnome-shell/extensions/pop-shell@system76.com/stack.js line 10 for Inactive tab color line 166 and 233 for Active tab color Hope this helps!