I forgot quickly so I'm pretty sure that we can't do that for now because of some issues but I just want to double check. Instead of having JS code to manage the changes on the attributes of those buttons, styling them could have just been a CSS file that affects the right style depending on the data-action / data-skin of the container.

But we can't do that right now because of some styles issues with the shadow DOM is that correct ?