Sure.
My point is, when it comes to visual styling, you inherently have a shared visual context.
The post I was replying to was concerned with the "global" nature of CSS.
I'm pointing out that this is inherent to the problem space. You have to deal with it whether you use CSS, code or any other mechanism to style.
(You can also relatively easily implement your own, because JS :))
[1] https://www.styled-components.com/docs/advanced#theming