is it possible to change the border color of a button in the Hover and Pressed event using Themes?
Grazie
Yes, you can change the border under the “hovered” state or under the “pressed” state in a theme mixin or in a custom theme:
{ "appearances": { "button": { "inherit": "button", "states": { "hovered": { "styles": { "color": "green", "width": 2 } }, "pressed": { "styles": { "color": "blue", "width": 4 } } } } } }
Thanks but so it colors the border of the image, not the button.
That’s not what I get and “button” refers to the button not the inner “button/icon”. Can you attach a small sample?
It works!
I was referring to the internal “button / icon”
Thanks!
Please login first to submit.