Currently it’s not possible to set default style like border and box-shadow for muted/info/success/warning/danger buttons and they all have to be set manually.
What I think should happen is that all styles set for “Style - default” should apply to all buttons, and then be overwritten by individual button style. Example filter that do exactly that:
I second this. Theme Settings - Default should be the default for all button styles, with overrides available on each specific button.
I’ve spent some time trying to work out why the default styles are not applying to buttons placed on my page. Then realise “Primary” gets added as a default setting when placing the button. So frustrating.
@enlive I agree, it’s super strange that there is a default that’s not the default.
It’s also pretty strange that default doesnt set the base styles for the rest.
Why is there a default style at all?
Sounds like a potential future headache to reformat things in future versions if/when this makes more sense.
Agreed. Still shocked this hasn’t been addressed yet. I’d argue it’s a bug when practically everything else in the “default” button style applies except for border radius.