mate-desktop / mate-notification-daemon

Daemon to display passive pop-up notifications
https://mate-desktop.org
GNU General Public License v2.0
30 stars 26 forks source link

CSS class for notification box? #222

Open luigifab opened 10 months ago

luigifab commented 10 months ago

Question

Because sometimes, there is a button inside, and with my theme it is horrible.

Actual behaviour

Run mate-notification-properties and press Preview button:

image

Here with network-manager when connection is up:

image

MATE general version

1.26.2

Package version

mate-notification-daemon 1.26.1-1

Linux Distribution

Debian Testing (Trixie)

lukefromdc commented 10 months ago

The notification box is themed by mate-notification-daemon's theme engines (you can pick one of four) though some themes do pick up the theme background color. Not sure how much you could change anything but the background color with a css class in this case.

luigifab commented 10 months ago

With coco theme and * { background:yellow; } at the end of my CSS file of my GTK theme, I can do that:

yellow

But I'm searching for something like that: .notification-box.coco ... { ... }

lukefromdc commented 9 months ago

If anyone wants to code this up I can test it, I just don't do much of the work on feature requests myself. This is a team project though, so keeping this open. Someone on the team might code this up-or anyone else might, and testing would be simple.