The gradient swatch on the gradient-tool button drew a flat rectangular fill with a 1px translucent-black border. Visually it sat as an odd-one-out next to the rounded-square Tabler outline icons on the rest of the toolbar — a sharp-cornered patch flanked by rounded-corner icons. Render the gradient inside the same path Tabler "square" uses (rounded rect from (3,3) to (21,21), corner radius 2, stroke 2 in a 24x24 viewBox; cairo scale into the swatch's pixel size) and stroke the outline in the GTK theme's foreground color. The swatch now reads as one of the icon family — same outline style, same line weight, same theme-following color — with the gradient filling the inside. Connect style-updated to queue_draw so the outline color tracks runtime theme switches alongside the icon buttons. |
||
|---|---|---|
| .. | ||
| hid_parser | ||
| hidapi | ||
| keysyms | ||
| logitech_receiver | ||
| solaar | ||