doc: add "accent" colour to spec
It would be nice if "accent color", or a similar name, could be added to the spec to ensure different toolkits keep a consistent look.
I noticed this issue due to the difference in how Gtk and Qt apps are styled and I can't seem to find a conclusive description in the style guide as to which colour should be the the "accent" colour in each toolkit. I suspect that the KDE interpretation is the more correct one, but I could be wrong.
Gtk currently uses base0A as the accent - same as focused window and warnings.
Qt/KDE currently uses base0D for decoration, focus and selection - same as unfocused list items and unfocused windows.
In effect, this means that Gtk and Qt apps are largely using two different colours to highlight elements, resulting in a mismatched look.
For reference, this is how buttons in different file selectors look on my desktop:
Gtk:
Qt:
Thanks for doing the research!
Actually, this is a known issue: https://github.com/danth/stylix/issues/249.
I believe base0D is normally blue. In the long term, we could consider allowing users to choose between base08 - base0F as their accent color, since any should work (although arguably this could be done by swapping colors around in the scheme itself).
I've made an option that seems to be working okay for me. I should probably add some kind of check to make sure the option has a valid value. The color replacement was done with a regex search and replace so it may be a bit sloppy and i can't guarantee every module is correct.