The most common use case for components is creating “master” component for list item, blog post etc, and then creating 4-5 instances with changed text for creating a listing.
Changing style of the “master” component should’t require reseting all the text changes done to the instances. It defeats the purpose for using components as a way to decrease the repetitive work.
Ok, the problem only occurs for text styles (font and font color) in instances where the text has been changed. For color, using tokens solves the problem; for font change, not yet…
Unfortunately you have to be super precise with using tokens and never click on the other coloring option because it can trigger the problems written above.
I think there should be following options in the component:
Reset style overides
Reset all overides
Also changing text shouldn’t “detach” component style from the “master/main”
is someone still having issues with this? because sadly I do. I have a banner-component in multiple background colors. depending on the color, my text inside has to change color as well. for dark backgrounds my variants have white text only, so white text is common. if i use the component and switch between variants with dark background only, meaning the text reamins white, all is fine. if i switch to a lighter background though, and the text has to switch to another color, the text resets itself. i am using only tokens for colors!!! so im not sure what @findut means, it does not solve the problem.
same happens fo course with font styles, etc., but i think that issue was already known and still open?