In my designs there are types of containers which always have the same style but different contents (e.g. same corner radius, same color, same shadow, same border width, same padding). I haven’t found a good way to save such a collection of styles to make it reusable.
If I make a component to add this styling to my library, I have to break it to add content. This means the connection to the component is broken and the styling won’t update if I change anything. On the other hand I can only save parts of the styling as actual styles (color, shadow).
I’d also love to use something like this with the plugin themer. E.g.: One theme would have rounded corners and shadows and another one would have square corners and no shadows.
Has anybody found a nice way to add reusable container elements to their library?