Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-04-19 14:03:27

Tabespe
Member
Registered: 2019-12-04
Posts: 124

edit the colour of the font of a part of the panel

Hello,

When trying out different GTK2/3/4 themes, I noticed that the themes influence the look of my vertical panel.

I would like, that the part that is of interest looks like this (Blackbird theme):
https://imgur.com/Rqm6XtV

But with the theme I want (Unity_Leopard) it looks like this:
https://imgur.com/a9V4qpj

Here are the plugins you see on the "panel part" from above:
https://imgur.com/937Vdn3

What I want is this:
I would like to have the panel look from Blackbird, but with the theme Unity_Leopard.
-> I want to have a white font instead of the black font because it is better visible on the red background. And I prefer the small indicators.

What do I have to configure? In which file?

Would appreciate some help.

Thank you.

Last edited by Tabespe (2024-04-19 15:40:23)

Offline

#2 2024-04-19 16:34:06

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,068

Re: edit the colour of the font of a part of the panel

Try adding the following to ~/.config/gtk-3.0/gtk.css:

.xfce4-panel label {color: white}
.xfce4-panel window label {color: black}
.xfce4-panel progressbar trough, .xfce4-panel progressbar trough progress {min-height: 0}

...adjust the "min-height" value to suit.

Note that this is a hammer approach and will affect all plugins on the panel. This can be adapted to affect only certain plugins if required.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-04-19 18:04:06

Tabespe
Member
Registered: 2019-12-04
Posts: 124

Re: edit the colour of the font of a part of the panel

Thank you.

Very cool. Exactly what I was looking for. :-)

Offline

Board footer

Powered by FluxBB