The Themes is a recent addon. Before that, to use anything other than the light or dark Adwaita was cumbersome. With the addon, you can download and use virtually any theme out there many with the dark theme option. But as not everyone installs all addons, the dark option on Colors is still needed.
Seeing as the Gdk call used a RGBa color space, I tried using a 25% opaque alpha channel, bumping the first level down from a color highlight to a brightness change highlight and re-ordered the colors according to how they are arranged on a color wheel. (Which add context… following the color wheel ordering implies a progression.)
The alpha channel works well for both Light & dark themes. And it seems a bit more subtle to me.
The Gtk4 theme is reportedly a very flat theme that seems to annoy some people. To defuse probable user complaints when we switchover, perhaps Gramps 5.3 should roll the Themes add-on into the Core and, to highlight the new feature, include a highly wildly differing theme to previous version… but be bundled with (or have an add-on) of the previous theme too. So when Gtk changes, people will be comfortable with switching things up.
More importantly, perhaps the location for themes could be consolidated in the currently empty CSS folder Gramps User Directory space. It could encourage CSS artists.
As discussed in another thread, @Nick-Hall added a data/gramps.css file in 5.2 that has the styling for the Addon Manager’s “lozenges”. The file was a bit difficult to find. On a Fedora box for user named districtsupport, the path was /home/districtsupport/.local/share/gramps/gramps.css
I am hoping that the lozenges will become actionable in the future so they would need different colors for differnt states. (perhaps where blue is default filtering, green is unfiltered and yellow is a user filter.)
It also seemed as though the shadow is a bit harsh. So I tweaked for that…
.lozenge {
font-size: small;
color: #ffffff; /* white text */
background-color: #0d6efd; /* Default blue color */
padding: 3px;
border-radius: 6px;
box-shadow: 1px 3px 2px rgba(10, 10, 50, 0.33); /* Default dark blue shadow */
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}