How give "X" button other colors than RED?

After upgrading to the new 6.0.5 flatpak, I noticed that the X buttons for removing specific references are bright red and therefore much too dominant.

How can I remove or darken the red background of the X button?

Gramps-X

From the @Dan-cer profile: Linux Mint LMDE 6 and your screen capture indicates you’re using a Dark theme… so you’ve got the Theme addon installed. And it means that you’re familiar changing your theme selection.

Which mean that this becomes a question about tweaking CSS.

And that starts with 3 items:

  1. cloning a Theme (so that your experiments are more reversible AND so you don’t have to redo the tweak after each Gramps update)
  2. installing a tool to identify which CSS element affects a GUI object
  3. finding and changing a CSS statement
1 Like
  1. since this a Linux box, find and install GTK+ Inspector for CSS exploration
1 Like

To remove the buttons, uncheck the “Show close button in gramplet bar tabs” option in the General tab in the preferences.

Alternatively you could use a theme with a different ‘window-close’ icon. Below is a screenshot using the Adwaita icon theme:

close-button

You can use the Appearance tab in the Gnome Tweaks tool to change the icon theme. A restart of Gramps is not required for the change to take effect.

2 Likes

I have unchecked the option.