Setting text background color in GTK4

GNote has a highlighter function that used to set the selected text background color to yellow.

It’s now displaying in a low-contrast dark gray, rendering it unusable.

Is this no longer possible in GTK4 with CSS or another method?

EDIT: I found a number of text properties [1,2] that might be relevant, but none of them mention background color specifically:

  1. CSS Text Decoration Module Level 3
  2. Gtk – 4.0: GTK CSS Properties

Closing this topic as I’ve found the commit that changed this.

I’ll continue this in the bug report:

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.