Exactly. The same applies to CSS when using the functional CSS approach. It's basically: if anything changes, I need to update my Button component.
Re:In defense of functional CSS
by andrewingram on Thursday September 27, 2018 @12:15PM
(#18085871)
Right. With the surge in popularity of components architectures, the maintainability concerns of inline styling methods are much less applicable. Perhaps there are other legitimate problems, but this one should be put to bed.
hopefully you'd have a Button component in your preferred UI framework, and you'd change it once there.