is it possible to change the border color of a button in the Hover and Pressed event using Themes?
Grazie
It works!
I was referring to the internal “button / icon”
Thanks!
That’s not what I get and “button” refers to the button not the inner “button/icon”. Can you attach a small sample?
Thanks but so it colors the border of the image, not the button.
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 } } } } } }
Please login first to submit.