Since Gramps is theming is evolving, it seems reasonable to open a couple basic discussions about how to customize the GUI’s look. Hopefully, this will lead to enough understanding to write a guide for new contributors who want to help refine the appearance of the Gramps interface.
I’ve noticed that some of the outlines for buttons tend to disappear in Dark Mode themes. Such problems affect the Windoze and macOS GUI more often… since the main developers work in Linux and select icons that work well in the default themes there.
So let’s start with a icon that is pretty bad there: the Warning icon. (But the abstraction is not great in light mode of adwaita theme on Linux either. So everyone can play along.)
A long time ago, a bug report description included a step to “click the Mushroom button” to generate an error. It took a little while to realize that they meant the Lightbulb of the Warning button on the statusbar. While a Dark mode theme, only the light portions of the icon showed. And that did resemble a mushroom.
About css, you can include any svg image in css. SVG is wrote in XML so including it in CSS is easy, open the file in editor and copy its text to the CSS anchor:
Maybe this one from Wikipedia/Commons could be visible in both themes:
I am not a CSS expert but as I understand it, the CSS modifies things about the icon; size, spacing, background color, does it display a box around it, etc. But the icon stays the same. Especially for Windows (and Mac ??) users.
FYI: the initial icon Gramps is using is dialog-information. It is stored in…
Improving the icon probably a good thing on its own merit. (Gramps moved its icons to a Tango style abstraction and away from a realistic style long ago.)
And targeting all the less than elegant icons is also a good thing. But discovering what’s possible with customizing with theming is important too.