ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.17k stars 60 forks source link

Unable to change the font size of notification .summary #143

Closed nostdm closed 1 year ago

nostdm commented 1 year ago

Swaync version: 0.6.3 Sway version: 1.7

I'm trying to change the font size of the title/summary of the notification bubble.

I'm able to change font-size of the .body of the notification without any issues:

.body {
  background: transparent;
  color: white;
  font-family: "Roboto";
  font-size: 20px;
  text-shadow: none;
}

image

But changing the font-size of the .summary part of the notification has no effect:

.summary {
  color: white;
  font-family: "Roboto";
  font-size: 22px;
  text-shadow: none;
}

image

I can also change other styles of the summary just fine:

.summary {
    color: red;
    ...
}

image

I tried debugging with GTK_DEBUG=interactive swaync and it shows that the CSS of the .summary node is being applied but it has no visual effect. Unless there's some other CSS style that is overriding it?

ErikReider commented 1 year ago

Should now be fixed :)